<?php
$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;
$consignee_name         = $get_bill_details->consignee_name;
$consignee_addr1        = $get_bill_details->consignee_addr1;
$consignee_addr2        = $get_bill_details->consignee_addr2;
$consignee_addr3        = $get_bill_details->consignee_addr3;
$consignee_addr4        = $get_bill_details->consignee_addr4;
$consignee_pin          = $get_bill_details->consignee_pin;
$consignee_con_no       = $get_bill_details->consignee_con_no;
$consignee_fax          = $get_bill_details->consignee_fax;
$consignee_country      = $get_bill_details->consignee_country;
$consignee_state        = $get_bill_details->consignee_state;
$notify_name          = $get_bill_details->notify_name;
$notify_addr1         = $get_bill_details->notify_addr1;
$notify_addr2         = $get_bill_details->notify_addr2;
$notify_addr3         = $get_bill_details->notify_addr3;
$notify_addr4         = $get_bill_details->notify_addr4;
$notify_pin           = $get_bill_details->notify_pin;
$notify_con_no        = $get_bill_details->notify_con_no;
$notify_fax           = $get_bill_details->notify_fax;
$notify_country_name      = $get_bill_details->notify_country_name;
$notify_state_name        = $get_bill_details->notify_state_name;
$cmp_shrt_code          = $get_bill_details->cmp_shrt_code;
$branch_shrt_code       = $get_bill_details->branch_shrt_code;
$port_of_dis_shrt_code      = $get_bill_details->port_of_dis_shrt_code;
$bill_no            = $get_bill_details->bill_no;
$bill_products              = $get_bill_details->bill_products;
$date_of_issue              = $get_bill_details->date_of_issue;
$pre_carriage               = $get_bill_details->pre_carriage;
$voyage                     = $get_bill_details->voyage;
$delivery_of_goods          = $get_bill_details->delivery_of_goods;
$port_of_loading            = $get_bill_details->port_of_loading;
$no_of_bl                   = $get_bill_details->no_of_bl;
$freight_payment            = $get_bill_details->freight_payment;
$ocean_vessel               = $get_bill_details->ocean_vessel;
$place_of_delivery          = $get_bill_details->place_of_delivery;
$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;

$container_no             = $get_bill_details->container_no;
$goods                      = $get_bill_details->goods;
$gross_weight               = $get_bill_details->gross_weight;
$cube_measure               = $get_bill_details->cube_measure;

?>
<table>
  <tr>
    <td>
      <table style="width:100%;">
      <tr style="width:100%;">
          <td style="width:70%;"><span style="color:#339dd9;margin-left:25px;font-weight:bold;">&nbsp;NON NEGOTIABLE</span></td>
          <td style="width:30%;"><span style="font-size:10px;">According to the declaration of the Consignor</span></td>
      </tr>
      </table>
    </td>
  </tr>
 <tr>
    <td><table border="0" width="100%" class="table_style">
        <tr>
          <td style="border-left: 1px solid black;vertical-align: top;border-right: 1px solid black;border-top: 1px solid black;width:30%;padding:2px;"><span style="font-size: 9px;font-weight: bold;">Freight Charges</span>
            <br/>
            <span style="font-size:10px;">
            <?php $freight_charges_upper = strtoupper($freight_charges);
                        echo nl2br($freight_charges_upper);?>
            </span> </td>
          <td style="border-right: 1px solid black;width:70%;border-top: 1px solid black; padding:2px;"><span style="font-size: 9px;text-align: justify;"> The goods and materials are accepted and dealt with subject to the standard conditions printed overleaf.<br/>
           
            Taken in charge inapparent good order &nbsp;and condition , unless otherwise noted herein, at&nbsp;the place of receipt for transport and delivery as mentioned above.<br/>
            
            One of these original bills of Lading must be surrendered duly endorsed in exchange for the goods. In witness whereof the original Bills of<br/>
            
            Lading all of this tenorand date have been signed in the number started below, one of which being accomplished the other(s) to be void. </span> </td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td><table border="0" width="100%" class="table_style">
        <tr style="height: 90px;vertical-align: top;">
          <td style="border-left: 1px solid black;border-right: 1px solid black;width:29%;border-top: 1px solid black;border-bottom: 1px solid black;padding:2px;" valign="top"><span style="font-size: 9px;font-weight: bold;">For Delivery of Goods</span>
            <br/>
            <span style="font-size:10px;">
            <?php $delivery_of_goods_upper = strtoupper($delivery_of_goods);
                      echo nl2br($delivery_of_goods_upper);?>
            </span></td>
          <td style="border-right: 1px solid black;width:14%;border-top: 1px solid black;border-bottom: 1px solid black;padding:2px;" valign="top"><span style="font-size: 9px;font-weight: bold;">Freight Payable at</span>
            <br/>
            <span style="font-size:10px;">
            <?php $freight_payment_upper = strtoupper($freight_payment);
                      echo nl2br($freight_payment_upper);?>
            </span></td>
          <td style="border-right: 1px solid black;width:11%;border-top: 1px solid black;border-bottom: 1px solid black;padding:2px;" valign="top"><span style="font-size: 9px;font-weight: bold;">Place Of Issue</span>
            <br/>
            <span style="font-size:10px;">
            <?php $place_issue_upper =  strtoupper($place_issue);
                      echo nl2br($place_issue_upper);?>
            </span></td>
          <td  style="border-right: 1px solid black;border-top: 1px solid black;border-bottom: 1px solid black;padding:2px;width:10.5%;" valign="top"><span style="font-size: 9px;font-weight: bold;">Date Of Issue</span>
            <br/>
            <span style="font-size:10px;"><?php echo date("d/m/Y", strtotime($date_of_issue));?></span></td>
          <td style="width:36.5%;border-right: 1px solid black;border-top: 1px solid black;border-bottom: 1px solid black;padding:2px;font-size: 9px;font-weight: bold;">Stamp & Signature<br/>
          <br/>
          <br/>
          <br/>
          <br/>
          <br/>
          As agents for the Carrier</td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="100%"><tr><td align="right" style="font-size:12px; color:#333;">{PAGENO}{nbpg}</td></tr></table>
