<?php
//var_dump($invo_details); die();
$consignor_name         = $get_bill_details->consignor_name;
$consignor_addr1        = $get_bill_details->consignor_addr1;
$consignor_addr2        = $get_bill_details->consignor_addr2;
$consignor_addr3        = $get_bill_details->consignor_addr3;
$consignor_addr4        = $get_bill_details->consignor_addr4;
$consignor_pin          = $get_bill_details->consignor_pin;
$consignor_con_no       = $get_bill_details->consignor_con_no;
$consignor_fax          = $get_bill_details->consignor_fax;
$consignor_country      = $get_bill_details->consignor_country;
$consignor_state        = $get_bill_details->consignor_state;
$customer_name          = $get_bill_details->customer_name;
$customer_addr1         = $get_bill_details->customer_addr1;
$customer_addr2         = $get_bill_details->customer_addr2;
$customer_addr3         = $get_bill_details->customer_addr3;
$customer_addr4         = $get_bill_details->customer_addr4;
$customer_pin           = $get_bill_details->customer_pin;
$customer_con_no        = $get_bill_details->customer_con_no;
$customer_fax           = $get_bill_details->customer_fax;
$notify_name            = $get_bill_details->notify_name;
$invoice_no             = $get_bill_details->invoice_no;
$invoice_date           = $get_bill_details->invoice_date;
$place_receipt          = $get_bill_details->place_of_receipt;
$bill_no                = $get_bill_details->bill_no;
$seal_no                = $get_bill_details->seal_no;
$shipping_bill_no       = $get_bill_details->shipping_bill_no;
$container_no           = $get_bill_details->container_no;
$container_type         = $get_bill_details->container_type;
$port_of_loading        = $get_bill_details->port_of_loading;
$port_of_dis            = $get_bill_details->point_of_discharge;
$voyage                 = $get_bill_details->voyage;
$delivery_of_goods      = $get_bill_details->delivery_of_goods;
$place_of_delivery      = $get_bill_details->place_of_delivery;
$gross_weight           = $get_bill_details->gross_weight;
$date_of_issue          = $get_bill_details->date_of_issue;
$freight_payment        = $get_bill_details->freight_payment;
$freight_charges        = $get_bill_details->freight_charges;
$place_receipt          = $get_bill_details->place_receipt;
$place_issue            = $get_bill_details->place_issue;
$port_of_dis_name       = $get_bill_details->port_of_dis_name;
$vessel                 = $get_bill_details->ocean_vessel;

$ihc_applicable         = $get_bill_details->ihc_applicable;
$ihc_sgst_amount        = $get_bill_details->ihc_sgst_amount;
$ihc_sgst_per           = $get_bill_details->ihc_sgst_per;
$ihc_cgst_per           = $get_bill_details->ihc_cgst_per;
$ihc_cgst_amount        = $get_bill_details->ihc_cgst_amount;
$ihc_igst_per           = $get_bill_details->ihc_igst_per;
$ihc_igst_amount        = $get_bill_details->ihc_igst_amount;
$ihc_tax_amnt           = $get_bill_details->ihc_tax_amnt;
$ihc_amount             = $get_bill_details->ihc_amount;
$ihc_sac                = $get_bill_details->ihc_sac;
$ihc_usd                = $get_bill_details->ihc_usd;
//echo "<pre>";print_r($invo_details); exit();


?>

			  
			  
			 
			  
			  
			  
			  
			  
    <div class="container" style="padding-left:0px;padding-right:0px;margin-right: none;margin-left: none;"> 
      <table border="1" bordercolor="#808080" width="100%" cellpadding="0" cellspacing="0">
        <tr>
        <td colspan="2" style="">

         <table border="0" width="100%" cellpadding="0" cellspacing="0" style=" border-collapse: collapse;">
            <tr>
              <td width="50%" >
                <span>&nbsp;&nbsp;<img src="<?php echo base_url();?>assets/img/GOOD-VOYAGE.png"  height="110" width="290"></span>
              </td>
              <td width="50%" style="text-align:right">
            
                  <span>
				  <img src="<?php echo base_url();?>assets/img/Good-vouge.PNG"  height="150" width="300">
				  </span>
             </td>
            </tr>
</table>

           </td>
        </tr>       
        <tr>
            <td width="55%" style=" height: 50px;vertical-align: center;">
              <table border="0" width="100%" cellpadding="0" cellspacing="0" style=" border-collapse: collapse;">
                <tr>
                     <td colspan="2"  style="border-bottom: 1px solid grey;height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;"><b>TO</b><span style="font-size:11px;"></td>                 
                </tr>
                <tr>
                     <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;"><?php echo $customer_name; ?></span></td>                  
                </tr>
                  <tr>
                      <td style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;" colspan="2"><span style="font-size:11px;"><?php echo $customer_addr1.','.$customer_addr2; ?></span></td>                      
                </tr>
                <tr>
                      <td style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;" colspan="2"><span style="font-size:11px;"><?php echo $customer_addr3.','.$customer_addr4; ?></span></td>                      
                </tr>
                <tr>
                      <td style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;" colspan="2"><span style="font-size:11px;"><?php echo $customer_con_no; ?></span></td>                      
                </tr>
                <tr>
                     <td style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;" colspan="2"><span style="font-size:11px;"><?php echo $customer_fax; ?></span></td>                 
                </tr>
                                  
              </table>
            </td>
            <td width="45%" style=" height: 50px;vertical-align: center;">&nbsp;</td>
        </tr>
        <tr>
            <td width="55%" style=" height: 25px;vertical-align: center;">
              <table border="0" width="100%" >
                <tr width="100%" >
                      <td width="40%" class="td_css" style="border-bottom: 1px solid grey;border-right: 1px solid grey;height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">INVOICE NO</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $invoice_no;?></span></td>
                </tr>
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">SHIPPER</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $consignor_name;?></span></td>
                </tr >
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">B/L NO</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $bill_no;?></span></td>
                </tr>
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">SHIPPING BILL NO</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $shipping_bill_no;?></span></td>              
                </tr>
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">CONTAINER NO</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $get_bill_details->exp_container_no;?></span></td>                
                </tr>
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">VOLUME</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $get_bill_details->exp_volume;?></span></td>                
                </tr>   
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">CONTAINER TYPE</span></td>
                      <td width="60%" style="border-bottom: 1px solid grey;height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;"><?php echo $get_bill_details->exp_container_type;?></span></td>                
                </tr> 
                <tr width="100%">
                      <td width="40%" style="border-bottom: 1px solid grey;border-right: 1px solid grey;height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">SEAL NO</span></td>
                      <td width="60%" style="border-bottom: 1px solid grey;height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;"><?php echo $seal_no;?></span></td>                
                </tr> 
                <tr width="100%"> 
                      <td width="40%" style="border-right: 1px solid grey;height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">JOB NO</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;"><?php echo $get_bill_details->job_no;?></span></td>                
                </tr> 
                                             
              </table>
            </td>

             <td width="45%" style=" height: 50px;vertical-align: center;">
              <table border="0" width="100%" cellpadding="0" cellspacing="0" style=" ">
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">INVOICE DATE</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo date('d-m-Y',strtotime($invoice_date));?></span></td>
                </tr>
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">PLACE OF RECEIPT</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $get_bill_details->exp_por;?></span></td>
                </tr >
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">PORT OF LOADING</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $get_bill_details->exp_pol;?></span></td>
                </tr>
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">PORT OF DISCHARGE</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $get_bill_details->exp_pod;?></span></td>              
                </tr>
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">CFS</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $get_bill_details->exp_fpd;?></span></td>                
                </tr>
                <tr width="100%">
                     <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">VESSEL NAME</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $get_bill_details->exp_vessel;?></span></td>              
                </tr>   
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">VOYAGE NO</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo $get_bill_details->exp_voy;?></span></td>                
                </tr> 
                <tr width="100%">
                      <td width="40%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">VSL SAILING DT</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;"><span style="font-size:11px;"><?php echo date('d-m-Y',strtotime($get_bill_details->exp_sailing_date));?></span></td>                
                </tr> 
             
				 <tr width="100%">
                      <td width="40%" style="border-right: 1px solid grey;height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">EX RATE</span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;"><?php echo $get_bill_details->exp_exchange_rate;?></span></td>                
                </tr> 
                                             
              </table>
            </td>
           
        </tr>
 
        <tr rowspan="2">
          <td colspan="2" style="text-align:center;font-size:18px;height: 20px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><b><font>TAX INVOICE( ORIGINAL FOR RECIPIENT )</font></b></td>
        </tr>



        <tr>
            <td colspan="2" style=" height: 50px;vertical-align: center;">
              <table border="0" width="100%" cellpadding="0" cellspacing="0" >
                 <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><center><b>SL</b></center></span></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><center><b>Particulars</b></center></span></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><center><b>SAC Code</b></center></span></td>
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><center><b>Amount in Rupees</b></center></span></td>                        
                </tr> 
               <?php 
               $count = 1;
              // var_dump($invo_details);die();
              // echo "<pre>";print_r($invo_details); //exit();
                  foreach($invo_details as $row){
                    //echo "<pre>";print_r($row);
                 // exit();
               ?>               
                 <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><center><span style="font-size:11px;"><?php echo $count++;?></span></center></td>
                      <td width="60%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo  $row['goods'];?></span></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $row['sac'];?></span></td>
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $row['amount'];?></span></td>                        
                </tr> 
                      
               <?php }   
               foreach ($goods_details as $k => $v) {  
                     $remark = $v['remarks'];
               }?>		  
                <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><center><span style="font-size:11px;"><?php  echo $count++?></span></center></td>
                      <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">SUB TOTAL</span></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $v['total_amount'];?></span></td>                        
                </tr>
              
					<?php if($v['igst_amt']==0 || $v['igst_amt']=='' || $v['igst_amt']==null) { ?>
              <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><center><span style="font-size:11px;"><?php  echo $count++?></span></center></td>
                      <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">SGST (<?php echo $v['sgst_per'];?>%)</span></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $v['sgst_amt'];?></span></td>                      
                </tr> 
              <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><center><span style="font-size:11px;"><?php  echo $count++?></span></center></td>
                      <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">CGST (<?php echo $v['cgst_per'];?>)%</span></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $v['cgst_amt'];?></span></td>                      
                </tr>
					<?php } else { ?>
              <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><center><span style="font-size:11px;"><?php  echo $count++?></span></center></td>
                      <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">IGST (<?php echo $v['igst_per'];?>)%</span></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $v['igst_amt'];?></span></td>                      
                </tr> 
			   <?php }   ?>	
 

			<?php 
				if($ihc_applicable=='1')
				{ ?>
                   <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><center><span style="font-size:11px;"><?php  echo $count++?></span></center></td>
                      <td  style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">US Dollar</span></td> 
					  
                     <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $ihc_usd;?></span></td>

					  
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo "0.00";?></span></td>                      
                   </tr> 
            
			 <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><center><span style="font-size:11px;"><?php  echo $count++?></span></center></td>
                      <td  style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">Ocean Freight</span></td> 
					  
                   <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $ihc_sac;?></span></td>

					  
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $ihc_amount;?></span></td>                      
                </tr> 
               
                <tr width="100%">
                <td  width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><center><span style="font-size:11px;"><?php  echo $count++?></span></center></td>
                <td  style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">Tax Amount</span></td> 

                <td  width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"></span></td> 
                <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $ihc_tax_amnt;?></span></td> 



                </tr> 
			<?php	if($ihc_igst_amount==0 || $ihc_igst_amount=='' || $ihc_igst_amount==null) 
				{ 
				
				

				
				
				?>
                <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;">&nbsp;</td>
                      <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"></td>                      
<!--                  <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">OF SGST (<?php echo $ihc_sgst_per;?>%)</span></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $ihc_sgst_amount;?></span></td> -->  
                </tr> 
                <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;">&nbsp;</td>
                      <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"></td>                      
<!--                  <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">OF CGST (<?php echo $ihc_cgst_per;?>%)</span></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $ihc_cgst_amount;?></span></td>  -->
                </tr>
				<?php } else { ?>
                <tr width="100%">
                      <td width="10%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;">&nbsp;</td>
                      <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"></td> 
<!--                  <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">OF IGST (<?php echo $ihc_igst_per;?>%)</span></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $ihc_igst_amount;?></span></td>   -->                     
                </tr> 

			   <?php }   } ?>

<tr width="100%">
                      <td  colspan="3" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;text-align:right;"><span style="font-size:11px;"><b>GRAND TOTAL&nbsp;&nbsp;</span></b></td>
                      
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><?php echo $v['grand_total'];?></span></td>                      
                </tr> 







			   
                <tr width="100%">
                    
                      <td colspan="3" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;"><b>TOTAL AMOUNT IN WORDS:&nbsp; <?php echo ucfirst($amnt_word);?></b></span></td> 
                      <td width="15%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;border-bottom: 1px solid grey;border-right: 1px solid grey;"><span style="font-size:11px;">&nbsp;</span></td>                      
                </tr>   
                <tr width="100%">
                      <td colspan="4" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">BANK DETAILS :</span></td>                     
                </tr>
            

                          
              </table>
            </td>
          
        </tr>  


        <tr>
            <td width="60%" style=" height: 50px;vertical-align: center;">
              <table border="0" width="100%" cellpadding="0" cellspacing="0" style=" border-collapse: collapse;">
                 <tr>
                      <td width="30%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">A/C NAME</span></td>
                      <td width="70%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;font-size:11px;">:&nbsp;GOOD VOYAGE SHIPPING SERVICES PVT LTD</td>                                      
                </tr>             
                <tr>                    
                      <td width="30%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">A/C NO</span></td> 
                      <td width="70%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;font-size:11px;">:&nbsp;015105013083</td>                        
                </tr>
                <tr>                    
                      <td width="30%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">BANK NAME</span></td> 
                      <td width="70%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;font-size:11px;">:&nbsp;ICICI, VASHI BRANCH.</td>                        
                </tr>                        
              </table>
            </td>
          

          <td width="40%" style=" height: 50px;vertical-align: center;">
              <table border="0" width="100%" cellpadding="0" cellspacing="0" >
                 <tr>
                      <td width="30%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">IFSC Code</span></td>
                      <td width="70%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;font-size:11px;">:&nbsp; ICIC0000151</td>                                       
                </tr>             
                <tr>                     
                      <td width="30%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">SWIFT CODE</span></td> 
                 <td width="70%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;font-size:11px;">:&nbsp;ICICINBBCTS</td>                        
                </tr>
                <tr>                     
                      <td width="30%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">GSTIN NO</span></td> 
             <td width="70%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;font-size:11px;">:&nbsp;27AAFCG8159A1ZN</td>                        
                </tr>
				<tr>                     
                      <td width="30%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">STATE</span></td> 
                <td width="70%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;font-size:11px;">:&nbsp;MAHARASHTRA (27)
</td>                        
                </tr>     
				<tr>                     
                      <td width="30%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;"><span style="font-size:11px;">PAN NO</span></td> 
                  <td width="70%" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;font-size:11px;">:&nbsp;AAFCG8159A</td>                        
                </tr>     				
              </table>
            </td>
        </tr> 
		<tr>
            <td colspan="2" style=" height: 50px;vertical-align: left;">
              <table border="0" width="100%" cellpadding="0" cellspacing="0" style=" border-collapse: collapse;">
                 <tr>
                      <td colspan="2" style="height: 10px;padding-left:5px;padding-top:1px;padding-bottom:1px;">
					  <span style="font-size:11px;">Remarks :&nbsp;<?php echo $remark;?></span>
					  </td>
                                                        
                </tr>             
                                    
              </table>
            </td>
          

        
        </tr> 
      
		
            <td >
            <table border="1"  bordercolor="#808080">
             <tr>
                      <td></td>                                      
                </tr>             
                                  
            </table>
            </td>
          

         <!-- <td width="50%" >
             
            </td>-->
        </tr>
	<!--<tr>
            <td width="60%">
              <table border="0" width="100%" cellpadding="0" cellspacing="0" >
                 <tr>
                      <td ><span style="font-size:11px;"><b>KINDLY TAKE NOTE OF THE BELOW</b></span></td>
                                                           
                </tr>             
                   <tr>
                      <td >
					  <p style="font-size:10px;">
					  1. DD/NEFT/RTGS should be in favor of Good Voyage Shipping Services Pvt Ltd </p> <p style="font-size:10px;">
2. We reserve the right to charge @ 24% per annum on all outstanding accounts.</p> <p style="font-size:10px;">
3. If there is any discrepancy kindly inform us within 7 days                   </p> <p style="font-size:10px;">
4. No bank changes should be deducted while remitting the payment for this inv.</p> <p style="font-size:10px;">
5. All disputes arising under this bill will be subject to Mumbai Jurisdiction.</p> <p style="font-size:10px;">
6. This is an electronically generated invoice and does not require signature.</p>
					  
					</td>
                                                           
                </tr>              
              </table>
            </td>
          

          <td width="40%">
              <table border="0" width="100%" cellpadding="0" cellspacing="0" >
                 <tr>
                      <td ><span style="font-size:11px;"><b>  FOR GOOD VOYAGE SHIPPING SERVICES PVT LTD</b></span></td>
                                                           
                </tr>             
                   <tr>
                      <td >
					  <p style="font-size:10px;">
					  &nbsp; </p> <p style="font-size:10px;">
&nbsp;</p> <p style="font-size:10px;">
&nbsp;</p> <p style="font-size:10px;">
AUTHORISED SIGNATORY</p> <p style="font-size:10px;">
THIS IS A COMUPUTER GENERATED INVOICE</p> <p style="font-size:10px;">
NO NEED SIGNATURE IF RECEIVED BY EMAIL</p>
					  
					</td>
                                                           
                </tr> 
			
              </table>
            </td>
			
        </tr> 
 <tr width="100%">
            <td colspan="2"><span style="font-size:11px;">&nbsp;</span></td>                     
        </tr>  -->

		  </table>
		  
		</div>

