<!DOCTYPE html>
<html lang="en">


<style>
@media  print {  
  @page  {
    size: 50mm 125mm; /* landscape */
   
      .reciept{
       width:100px;
         height: 600px;

  }
  .reciept.haeding.text-center.p1 {
      font-size: 10px;
      font-weight: 1500;
  
      margin: 0;
 
  }

  .reciept.table td, .table th {
  
      border-top: 1px solid #dee2e6;
      font-size: 9px;
      text-transform: uppercase;
      font-weight: 1500;
  }
  .reciept table.table {
      /*text-align: center;*/
      text-align:center !important;
  }
  .reciept .table td, .table th {
   
      font-size: 9px;
      text-transform: uppercase;
      font-weight: 1500;
      border-top: dashed 0.5px #dee2e6;
  }
  p{
  text-align:center !important;
      font-size: 9px !important;
      font-weight: 1500;
      
  }
  }
}
  .reciept{
       width:150px;
         height: 200px;

   /*width:51.5% !important;*/
    /*margin-right:200px;*/
   /*text-align:center !important;*/
  }
  /*.reciept .logo img{*/
  /*  width: 100%;*/
  /*  margin: 0 auto;*/
  /*}*/
  .reciept.haeding.text-center.p1 {
      font-size: 10px;
      font-weight: 1500;
      /*padding: 12px 0;*/
      /*padding-bottom: 2px;*/
      margin: 0;
       /*text-align:center !important;*/
  }
  /*.ledger.d-flex h6 {*/
       /*padding: 3px 3px;*/
  /*    font-size: 7px;*/
  /*    text-transform: uppercase;*/
  /*    font-weight: 900;*/
  /*}*/
  .reciept.table td, .table th {
      /*padding: 3px 3px;*/
      /*vertical-align: top;*/
      border-top: 1px solid #dee2e6;
      font-size: 9px;
      text-transform: uppercase;
      font-weight: 1500;
  }
  .reciept table.table {
      /*text-align: center;*/
      text-align:center !important;
  }
  .reciept .table td, .table th {
      /*padding: 3px 3px;*/
      /*vertical-align: top;*/
      font-size: 9px;
      text-transform: uppercase;
      font-weight: 1500;
      border-top: dashed 0.5px #dee2e6;
  }
  p{
  text-align:center !important;
      font-size: 9px !important;
      font-weight: 1500;
      
  }


</style>
</head>

<body onload="window.print()">
    <div class="reciept">
        <div class="logo">
         <img src="<?php  echo $pic ?>"  width="150px" height="70px">
        </div>
     
            <p class="p1">SRK DIESEL TRADING</p>
            <p>TRN NO : 100622618500003</p>
            <p style="font-size: 10px;">CONTCAT NO : 055 334 6408, 0565988073</p>
            <p>DATE : <?php echo e(\Carbon\Carbon::parse($thermal_data->transaction_date)->format('d/m/Y')); ?> </p>
            <!--<div class="">-->
                <p>SUPPLIED BY : <?php echo e($thermal_data->supplied_by); ?>,</p>
                <p>LEDGER : <?php echo e($thermal_data->ledger); ?>(<?php echo e($thermal_data->ledger_value); ?>)</p>
                <p>ITEM : DIESEL 10ppm</p>

        <div class="table-detials" >
            <table class="table">
                <tbody>
                     <tr style="margin-top:2px;">
                        <td>Customer Name : <?php echo e($company_name->company_name); ?></td>
                        <tr>

                        <td>TRN NO : <?php echo e($company_name->trn_no); ?></td>
                        </tr>
                    </tr>

                    <tr style="margin-top:2px;">
                        <td>Driver Name : <?php echo e($vehicle_data->driver_name); ?></td>
                    </tr>
                    <tr style="margin-top:2px;">
                        <td>Vehicle Number : <?php echo e($vehicle_data->vehicle_no); ?></td>
                    </tr>
                    <tr style="margin-top:2px;">
                        <td>QTY - Gallon : <?php echo e($thermal_data->quantity); ?></td>
                    </tr>
                    <?php if($thermal_data->quantity_ltr > 0): ?>
                    <tr>
                        <td>QTY - ltr (1GLn is 4.5 Ltr) : <?php echo e($thermal_data->quantity_ltr); ?></td>
                    </tr>
                    <?php endif; ?>
                    <tr style="margin-top:2px;">
                        <td>Unit / Gallon Price : <?php echo e(number_format($thermal_data->unit_price,2)); ?>/-</td>
                    </tr>
                    <?php if($thermal_data->quantity_ltr > 0): ?> <tr>
                        <td>Unit / Liter Price :<?php if($thermal_data->unit_ltr_price !='-'): ?> <?php echo e(number_format($thermal_data->unit_ltr_price,2)); ?><?php endif; ?></td>
                    </tr>
                    <?php endif; ?>
                    <tr style="margin-top:2px;">
                        <td>Gallon Price : <?php echo e(number_format($thermal_data->gallon_price,2)); ?></td>
                    </tr style="margin-top:2px;">
                    <tr style="margin-top:2px;">
                        <td>Tax VAT <?php echo e(number_format($thermal_data->tax)); ?>% : <?php echo e(number_format($thermal_data->tax)); ?>%</td>
                    </tr>
                    <tr style="margin-top:2px;">
                        <td>Total : <?php echo e(number_format($thermal_data->total,2)); ?></td>
                    </tr>
                    <tr style="margin-top:2px;">
                        <td>Kilometer NOW(KMs) : <?php echo e($thermal_data->kilometer); ?></td>
                    </tr>
                    <tr style="margin-top:2px;">
                        <td>Payment Mode : <?php echo e($thermal_data->payment_mode); ?></td>
                    </tr>
                </tbody>
            </table>
        </div>

    </div>




</body>

</html>
<?php /**PATH /home/u943602698/domains/srkdieseltrading.in/public_html/resources/views/print_pdf.blade.php ENDPATH**/ ?>