<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Invoice</title>
<style type="text/css">
.sbmit_blue {
	width: 110px;
	height: 25px;
	float: left;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 13px;
	border-radius: 6px;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from (          
		                         
		                  #003366), to(#00CCFF));
	background: -webkit-linear-gradient(top, #003366, #00CCFF);
	background: -moz-linear-gradient(top, #003366, #00CCFF);
	background: -ms-linear-gradient(top, #003366, #00CCFF);
	background: -o-linear-gradient(top, #003366, #00CCFF);
	background: -webkit-linear-gradient(top, #003366, #00CCFF);
	background: -moz-linear-gradient(top, #003366, #00CCFF);
	background: -ms-linear-gradient(top, #003366, #00CCFF);
	background: -webkit-linear-gradient(top, #003366, #00CCFF);
	background: -moz-linear-gradient(top, #003366, #00CCFF);
	background: -ms-linear-gradient(top, #003366, #00CCFF);
	background: -webkit-linear-gradient(top, #003366, #00CCFF);
	background: -moz-linear-gradient(top, #003366, #00CCFF);
	background: -ms-linear-gradient(top, #003366, #00CCFF);
}
</style>
<style type="text/css">
#printable {
	display: none;
}

@media print {
	#non-printable {
		display: none;
	}
	#printable {
		display: block;
	}
}

.table>tbody>tr>td {
	border-top: none;
}
</style>

<script type="text/javascript">
	function NewPrint(Copies) {
		var Count = 0;
		while (Count < Copies) {
			window.print(0);
			Count++;
		}
	}
</script>



<script src="<?php echo base_url(); ?>assets/admin_js/js/toword.js"></script>


<script src="<?php echo base_url(); ?>assets/admin_js/js/jquery-1.9.1.js"></script>
<script>
	function printform() {
		//alert("yes");
		var printContent = document.getElementById('wrapper1').innerHTML;
		myWin = window
				.open(
						"",
						"print_window",
						"left=0,top=0,width=0,height=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,copyhistory=0,resizable=yes");
		myWin.document
				.write('<html><head><link rel="stylesheet" href="css/bootstrap.css" type="text/css" /><title>Receipt</title></head><body><div>'
						+ printContent + '</div></body></html>');
		myWin.print();
		myWin.document.close();
	}
</script>

</head>
<body>

	<table>
		<tbody>

			<tr>
				<td><div>
						<input class="sbmit_blue" value="Print" onclick="printform()"
							type="button">
					</div>
					<div>
						<a href="<?php echo site_url();?>/biltyControllers/BiltyManageInfoPendding"> <input value="Home" class="sbmit_blue"
							type="button">
						</a>
					</div></td>
			</tr>
		</tbody>
	</table>





	<div id="wrapper1">


	<?php      foreach ($single_data as $dto):
							$originalDate1 = $dto->bill_date;
							$newDate1 = date("d-m-Y", strtotime($originalDate1)); ?>




		<div
			style=" margin: 0 auto; width: 850px; height: 701px; line-height: 17px; border: 1px solid; ">
			
			<img src="<?php echo base_url(); ?>assets/img/nimar1.png" width="845px;" height="170px;" style="text-align:center;  padding: 2px; " >

			<table style="width: 100%; " >

				<tbody>

					<tr style="font-size: 11px;">

						<td style="padding-left: 2px; font-size: 12px; border-top: 1px solid;" width="65%">



							<div style="color: black;">

								<b>CONSIGNOR: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignor_name; ?></b>
								</span>
							</div>


							<div
								style="width: 100%; float: left; color: black; height: 55px;">

								<b>ADDRESS: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignor_address; ?></b>
								</samp>
							</div>


							<div style="border-bottom: 1px solid; color: black;">

								<b>GSTIN: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignor_gstin; ?></b>

							</div>



							<div style="color: black;">

								<b>CONSIGNEE : <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignee_name; ?></b>
								</span>
							</div>


							<div
								style="width: 100%; float: left; color: black; height: 55px;">
								<b>ADDRESS: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignee_address; ?></b>
							</div>


							<div style="color: black;">

								<b>GSTIN: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignee_gstin; ?></b>

							</div>


						</td>

						<td
							style="padding-left: 2px; border-left: 1px solid; font-size: 13px; border-top: 1px solid;"
							width="15%" >

							<div
								style="border-bottom: 1px solid; text-align: left; font-size: 15px; color: #000;">
								<b>Consignee Copy </b>
							</div>






							<div
								style="border-bottom: 1px solid; width: 100%; float: left; color: black;">


								<b>LR No.
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>


							</div>

							<div style="border-bottom: 1px solid; color: black;">


								<b>DATE
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>


							</div>




							<div style="border-bottom: 1px solid; color: black;">

								<b>TRUCK NO </b>

							</div>

							<div style="border-bottom: 1px solid; color: black;">

								<b>FROM
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>

							</div>


							<div style="color: black;">

<b>TO
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>

</div>

					




						</td>

						<td
							style="padding-left: 2px; border-left: 1px solid; font-size: 13px; border-top: 1px solid;"
							width="20%">

							<div style="border-bottom: 1px solid; height: 20px;"></div>



							<div style="border-bottom: 1px solid; width: 100%; float: left;">
								<span style="width: 50%; float: left;"> <b><?php echo $dto->invoice_no; ?>
								</b></span>
							</div>

							<div style="border-bottom: 1px solid; width: 100%; float: left;">




								<b><span style="text-transform: capitalize;"> <?php echo $newDate1; ?></b> </span>
							</div>




							<div style="border-bottom: 1px solid;">

								<b><?php echo $dto->truck_no; ?></b>

							</div>

							<div style="border-bottom: 1px solid;">

								<b><?php echo $dto->source; ?></b>

							</div>

							<div>



								<b><?php echo $dto->destination; ?></b>

							</div>

						



						</td>
					</tr>



				</tbody>
			</table>






			<table style="width: 100%; border-bottom: 1px solid;" cellpadding="0"
				cellspacing="0">



				<thead>
					<tr
						style="font-weight: bold; border-top: 1px solid; font-size: 13px; color: black;">


						<th width="10%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">No.
							Of Articles
						<th width="30%" valign="bottom"
							style="border-right: 1px solid; text-align: center; border-top: 1px solid;">Description
							Of Goods(Said To Contain)</th>
						<th width="10%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">Weight</th>
						<th width="15%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">Rate
						</th>

						<th width="10%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">Amount
						</th>

						<th width="20%" valign="bottom"
							style="font-size: 13px; text-align: center; border-top: 1px solid;">Remark
						</th>
					</tr>


				</thead>
				<tbody>


					<tr
						style="border-bottom: 1px solid; ight: 1px solid; text-align: center; font-size: 13px;">

						<td style="border-top: 1px solid; border-right: 1px solid;"><b><?php echo $dto->packages; ?> Bales</b></td>


						<td
							style="border-top: 1px solid; border-right: 1px solid; text-align: left; border-bottom: none; color: black;">

							<div>

								<b><?php echo $dto->item; ?> </b>
							</div>


							<div style="margin-top: 3px;">

								<b>LOT NO.: <span style="color: black;"><?php echo $dto->lot_no; ?></b>
							</div>
							<div style="margin-top: 3px;">

								<b>PR. NO.: <span style="color: black;"><?php echo $dto->pr_no; ?></b>
							</div>
							<div style="margin-top: 3px;">

							<b>PM : <span style="color: black;"><?php echo $dto->pm; ?></b>
							</div>
							<div style="margin-top: 3px;">

								<b>Quality: <span style="color: black;"><?php echo $dto->quality; ?></b>

							</div>
							
							<div style="margin-top: 3px;">


								<b>Remark: <span style="color: black;"><?php echo $dto->remark; ?></b>
							</div>

							<div style="margin-top: 5px;"></div>


						</td>


						<td style="border-top: 1px solid; border-right: 1px solid;"><b><?php echo $dto->weight; ?></b></td>
						<td style="border-top: 1px solid; border-right: 1px solid;">

							<div style="border-bottom: 1px solid;">
							




									<?php if ($dto->TYPE !== 'Paid' ) : ?>
										<b><?php echo $dto->rate; ?></b>
    <?php else : ?>
		<b>Paid</b>
    <?php endif; ?>






							</div>

							<div>

								<b>Per Bales</b>
							</div>





						</td>
						<td style="border-top: 1px solid; border-right: 1px solid;">	
					
									
									
									<?php if ($dto->TYPE !== 'Paid' ) : ?>
										<b><?php echo $dto->total_amount; ?></b>
    <?php else : ?>
		<b>Paid</b>
    <?php endif; ?>
	
									
									
									
									</td>

						<td style="border-top: 1px solid;"><b>Do Not Pay Lorry
								Freight To Lorry Owner/Driver. Please Deposit Only To
								Transporter's Bank A/C Given Below </td>
						</b>



					</tr>


					<tr
						style="border-bottom: 1px solid; ight: 1px solid; text-align: left; font-size: 13px;">



						<td style="border-top: 1px solid; border-right: 1px solid;"></td>

						<td style="border-top: 1px solid; border-right: 1px solid;"><b>Mill No. :-<?php echo $dto->sms_no; ?></b></td>
						<td style="border-top: 1px solid; border-right: 1px solid;"></td>
						<td style="border-top: 1px solid; border-right: 1px solid;">






							<div style="border-bottom: 1px solid; color: black;">

								<b>Less Advance</b>
							</div>

							<div style="color: black;">

								<b>Total:-</b>
							</div> <span style="color: black;"> <b>Transporter A/c</b></span>




						</td>

						<td style="border-top: 1px solid; border-right: 1px solid;">




							<div style="border-bottom: 1px solid;">

								<b></b>
							</div>

							<div>
	

							
									<?php if ($dto->TYPE !== 'Paid' ) : ?>
										<b><?php echo $dto->total_amount; ?></b>
    <?php else : ?>
		<b>Paid</b>
    <?php endif; ?>


						
								
							</div>



						</td>

					</tr>



				</tbody>
			</table>





			<table style="width: 100%; line-height: 15px;">

				<tbody>




					<tr style="font-size: 13px; color: black;">

						<td style="padding-left: 2px; "
							valign="top" width="50%">

							<div style="font-size: 14px;">
								<b>BANK : Canara Bank Khandwa Branch</b>
							</div>

							<div style="font-size: 14px;">

								<b>A/C. NO.: 2546285005380</b>
							</div>

							<div style="border-bottom: 1px solid;font-size: 14px;">

								<b>IFSC CODE Code.: CNRB0002546</b>
							</div>


							<div style="border-bottom: 1px solid; font-size: 12px;">
								<b> PAN. NO: AMZPM9014H</b>
							</div>
							<div style="border-bottom: 1px solid; ">GST
								Payble By : Consignor/Consignee Only</div>



							<ul style="font-size: 12px;">

														
								<li>1) Goods booked at Owner's Risk (Contents not checked).</li>
								<li>2) We are not responsible for any loss of goods coused due to then, accident, riot, fire rainwater, etc. or any other damage.</li>
								<li>3) Nimar Transport Service is only Commission agent</li>
							</ul>





						</td>

						<td style="padding-left: 2px; border-left: 1px solid;"  width="50%" ><br>
							
							
								
						<?php if ($dto->TYPE !== 'Paid' ) : ?>							
    
    								
							<b style="font-size: 14px; color: black;">Rs. (In Word )- <span
								id="WordsAmount1" 
								style="padding-left: 2px; font-size: 15px; color: black;"></span>
						</b>

						<?php endif; ?>


							<div
								style="width: 100%; float: left; font-size: 13px; text-align: center; color: #000;">
								<br> <br> <b>For - NIMAR TRANSPORTS SERVICE</b> <br>
								<br> <br> <br>This is Computer Generated please
								accepted.
							</div></td>



					</tr>






				</tbody>
			</table>

			<?php endforeach; ?>



		</div>
		
	<!-- 	..............second............ -->
	
	
		<div
			style=" margin: 0 auto; width: 850px; height: 701px; line-height: 17px; border: 1px solid;">
			<img src="<?php echo base_url(); ?>assets/img/nimar1.png" width="845px;" height="170px;" style="text-align:center;  padding: 2px;  ">

			<table style="width: 100%; " >

				<tbody>

					<tr style="font-size: 11px;">

						<td style="padding-left: 2px; font-size: 12px; border-top: 1px solid;" width="65%">



							<div style="color: black;">

								<b>CONSIGNOR: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignor_name; ?></b>
								</span>
							</div>


							<div
								style="width: 100%; float: left; color: black; height: 55px;">

								<b>ADDRESS: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignor_address; ?></b>
								</samp>
							</div>


							<div style="border-bottom: 1px solid; color: black;">

								<b>GSTIN: <span
									style="text-transform: capitalize; color: black;">  <?php echo $dto->consignor_gstin; ?></b>

							</div>



							<div style="color: black;">

								<b>CONSIGNEE : <span
									style="text-transform: capitalize; color: black;"><?php echo $dto->consignee_name; ?></b>
								</span>
							</div>


							<div
								style="width: 100%; float: left; color: black; height: 55px;">
								<b>ADDRESS: <span
									style="text-transform: capitalize; color: black;"><?php echo $dto->consignee_address; ?></b>
							</div>


							<div style="color: black;">

								<b>GSTIN: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignee_gstin; ?></b>

							</div>


						</td>

						<td
							style="padding-left: 2px; border-left: 1px solid; font-size: 13px; border-top: 1px solid;"
							width="15%" >

							<div
								style="border-bottom: 1px solid; text-align: left; font-size: 15px; color: #000;">
								<b>Consignor Copy </b>
							</div>






							<div
								style="border-bottom: 1px solid; width: 100%; float: left; color: black;">


								<b>LR No.
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>


							</div>

							<div style="border-bottom: 1px solid; color: black;">


								<b>DATE
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>


							</div>




							<div style="border-bottom: 1px solid; color: black;">

								<b>TRUCK NO </b>

							</div>

							<div style="border-bottom: 1px solid; color: black;">

								<b>FROM
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>

							</div>
							<div style="color: black;">

<b>TO
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>

</div>

							



						</td>

						<td
							style="padding-left: 2px; border-left: 1px solid; font-size: 13px; border-top: 1px solid;"
							width="20%">

							<div style="border-bottom: 1px solid; height: 20px;"></div>



							<div style="border-bottom: 1px solid; width: 100%; float: left;">
								<span style="width: 50%; float: left;"> <b><?php echo $dto->invoice_no; ?>
								</b></span>
							</div>

							<div style="border-bottom: 1px solid; width: 100%; float: left;">




								<b><span style="text-transform: capitalize;"><?php echo $newDate1; ?></b> </span>
							</div>




							<div style="border-bottom: 1px solid;">

								<b><?php echo $dto->truck_no; ?></b>

							</div>

							<div style="border-bottom: 1px solid;">

								<b><?php echo $dto->source; ?></b>

							</div>

							<div>

<b><?php echo $dto->destination; ?></b>

</div>

							




						</td>
					</tr>



				</tbody>
			</table>






			<table style="width: 100%; border-bottom: 1px solid;" cellpadding="0"
				cellspacing="0">



				<thead>
					<tr
						style="font-weight: bold; border-top: 1px solid; font-size: 13px; color: black;">


						<th width="10%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">No.
							Of Articles
						<th width="30%" valign="bottom"
							style="border-right: 1px solid; text-align: center; border-top: 1px solid;">Description
							Of Goods(Said To Contain)</th>
						<th width="10%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">Weight</th>
						<th width="15%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">Rate
						</th>

						<th width="10%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">Amount
						</th>

						<th width="20%" valign="bottom"
							style="font-size: 13px; text-align: center; border-top: 1px solid;">Remark
						</th>
					</tr>


				</thead>
				<tbody>


					<tr
						style="border-bottom: 1px solid; ight: 1px solid; text-align: center; font-size: 13px;">

						<td style="border-top: 1px solid; border-right: 1px solid;"><b><?php echo $dto->packages; ?> Bales</b></td>


						<td
							style="border-top: 1px solid; border-right: 1px solid; text-align: left; border-bottom: none; color: black;">

							<div>

								<b><?php echo $dto->item; ?></b>
							</div>


							<div style="margin-top: 3px;">

								<b>LOT NO.: <span style="color: black;"><?php echo $dto->lot_no; ?></b>
							</div>
							<div style="margin-top: 3px;">

								<b>PR. NO.: <span style="color: black;"><?php echo $dto->pr_no; ?></b>
							</div>
							<div style="margin-top: 3px;">

							<b>PM : <span style="color: black;"><?php echo $dto->pm; ?></b>
							</div>
							<div style="margin-top: 3px;">

								<b>Quality: <span style="color: black;"><?php echo $dto->quality; ?></b>

							</div>
							
							<div style="margin-top: 3px;">


								<b>Remark: <span style="color: black;"><?php echo $dto->remark; ?></b>
							</div>

							<div style="margin-top: 5px;"></div>


						</td>


						<td style="border-top: 1px solid; border-right: 1px solid;"><b><?php echo $dto->weight; ?></b></td>
						<td style="border-top: 1px solid; border-right: 1px solid;">

							<div style="border-bottom: 1px solid;">

							<?php if ($dto->TYPE !== 'Paid' ) : ?>
										<b><?php echo $dto->rate; ?></b>
    <?php else : ?>
		<b>Paid</b>
    <?php endif; ?>
								
							</div>

							<div>

								<b>Per Bales</b>
							</div>





						</td><td style="border-top: 1px solid; border-right: 1px solid;">	
									<?php if ($dto->TYPE !== 'Paid' ) : ?>
										<b><?php echo $dto->total_amount; ?></b>
    <?php else : ?>
		<b>Paid</b>
    <?php endif; ?>
	</td>

						<td style="border-top: 1px solid;"><b>Do Not Pay Lorry
								Freight To Lorry Owner/Driver. Please Deposit Only To
								Transporter's Bank A/C Given Below </td>
						</b>



					</tr>


					<tr
						style="border-bottom: 1px solid; ight: 1px solid; text-align: left; font-size: 13px;">



						<td style="border-top: 1px solid; border-right: 1px solid;"></td>

						<td style="border-top: 1px solid; border-right: 1px solid;"><b>Mill No. :-<?php echo $dto->sms_no; ?></b></td>
						<td style="border-top: 1px solid; border-right: 1px solid;"></td>
						<td style="border-top: 1px solid; border-right: 1px solid;">






							<div style="border-bottom: 1px solid; color: black;">

								<b>Less Advance</b>
							</div>

							<div style="color: black;">

								<b>Total:-</b>
							</div> <span style="color: black;"> <b>Transporter A/c</b></span>




						</td>

						<td style="border-top: 1px solid; border-right: 1px solid;">




							<div style="border-bottom: 1px solid;">

								<b></b>
							</div>

							<div>
							
							<?php if ($dto->TYPE !== 'Paid' ) : ?>
										<b><?php echo $dto->total_amount; ?></b>
    <?php else : ?>
		<b>Paid</b>
    <?php endif; ?>

								
							</div>



						</td>

					</tr>



				</tbody>
			</table>





			<table style="width: 100%; line-height: 15px;">

				<tbody>




					<tr style="font-size: 13px; color: black;">

						<td style="padding-left: 2px; "
							valign="top" width="50%">

							<div style="font-size: 14px;">
								<b>BANK : Canara Bank Khandwa Branch</b>
							</div>

							<div style="font-size: 14px;">

								<b>A/C. NO.: 2546285005380</b>
							</div>

							<div style="border-bottom: 1px solid;font-size: 14px;">

								<b>IFSC CODE Code.: CNRB0002546</b>
							</div>


							<div style="border-bottom: 1px solid; font-size: 12px;">
								<b> PAN. NO: AMZPM9014H</b>
							</div>
							<div style="border-bottom: 1px solid; ">GST
								Payble By : Consignor/Consignee Only</div>



								<ul style="font-size: 12px;">

														
<li>1) Goods booked at Owner's Risk (Contents not checked).</li>
<li>2) We are not responsible for any loss of goods coused due to then, accident, riot, fire rainwater, etc. or any other damage.</li>
<li>3) Nimar Transport Service is only Commission agent</li>
</ul>






						</td>

						<td style="padding-left: 2px; border-left: 1px solid;"  width="50%" ><br>
							
						<?php if ($dto->TYPE !== 'Paid' ) : ?>								
    
    								
							<b style="font-size: 14px; color: black;">Rs. (In Word )- <span
								id="WordsAmount2" 
								style="padding-left: 2px; font-size: 15px; color: black;"></span>
						</b>

						<?php endif; ?>
							<div
								style="width: 100%; float: left; font-size: 13px; text-align: center; color: #000;">
								<br> <br> <b>For - NIMAR TRANSPORTS SERVICE</b> <br>
								<br> <br> <br>This is Computer Generated please
								accepted.
							</div></td>



					</tr>






				</tbody>
			</table>




		</div>
		
		
		<div
			style=" margin: 0 auto; width: 850px; height: 701px; line-height: 17px; border: 1px solid;">
			<img src="<?php echo base_url(); ?>assets/img/nimar1.png" width="845px;" height="170px;" style="text-align:center;  padding: 2px;  ">

			<table style="width: 100%; " >

				<tbody>

					<tr style="font-size: 11px;">

						<td style="padding-left: 2px; font-size: 12px; border-top: 1px solid;" width="65%">



							<div style="color: black;">

								<b>CONSIGNOR: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignor_name; ?></b>
								</span>
							</div>


							<div
								style="width: 100%; float: left; color: black; height: 55px;">

								<b>ADDRESS: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignor_address; ?></b>
								</samp>
							</div>


							<div style="border-bottom: 1px solid; color: black;">

								<b>GSTIN: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignor_gstin; ?></b>

							</div>



							<div style="color: black;">

								<b>CONSIGNEE : <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignee_name; ?></b>
								</span>
							</div>


							<div
								style="width: 100%; float: left; color: black; height: 55px;">
								<b>ADDRESS: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignee_address; ?></b>
							</div>


							<div style="color: black;">

								<b>GSTIN: <span
									style="text-transform: capitalize; color: black;"> <?php echo $dto->consignee_gstin; ?></b>

							</div>


						</td>

						<td
							style="padding-left: 2px; border-left: 1px solid; font-size: 13px; border-top: 1px solid;"
							width="15%" >

							<div
								style="border-bottom: 1px solid; text-align: left; font-size: 15px; color: #000;">
								<b>Driver Copy </b>
							</div>






							<div
								style="border-bottom: 1px solid; width: 100%; float: left; color: black;">


								<b>LR No.
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>


							</div>

							<div style="border-bottom: 1px solid; color: black;">


								<b>DATE
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>


							</div>




							<div style="border-bottom: 1px solid; color: black;">

								<b>TRUCK NO </b>

							</div>

							<div style="border-bottom: 1px solid; color: black;">

								<b>FROM
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>

							</div>

							<div style="color: black;">

								<b>TO
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b>

							</div>

							




						</td>

						<td
							style="padding-left: 2px; border-left: 1px solid; font-size: 13px; border-top: 1px solid;"
							width="20%">

							<div style="border-bottom: 1px solid; height: 20px;"></div>



							<div style="border-bottom: 1px solid; width: 100%; float: left;">
								<span style="width: 50%; float: left;"> <b><?php echo $dto->invoice_no; ?>
								</b></span>
							</div>

							<div style="border-bottom: 1px solid; width: 100%; float: left;">




								<b><span style="text-transform: capitalize;"><?php echo $newDate1; ?></b> </span>
							</div>




							<div style="border-bottom: 1px solid;">

								<b><?php echo $dto->truck_no; ?></b>

							</div>

							<div style="border-bottom: 1px solid;">

							<b><?php echo $dto->source; ?></b>

							</div>


							<div>

							<b><?php echo $dto->destination; ?></b>

							</div>

						



						</td>
					</tr>



				</tbody>
			</table>






			<table style="width: 100%; border-bottom: 1px solid;" cellpadding="0"
				cellspacing="0">



				<thead>
					<tr
						style="font-weight: bold; border-top: 1px solid; font-size: 13px; color: black;">


						<th width="10%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">No.
							Of Articles
						<th width="30%" valign="bottom"
							style="border-right: 1px solid; text-align: center; border-top: 1px solid;">Description
							Of Goods(Said To Contain)</th>
						<th width="10%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">Weight</th>
						<th width="15%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">Rate
						</th>

						<th width="10%" valign="bottom"
							style="border-right: 1px solid; font-size: 13px; text-align: center; border-top: 1px solid;">Amount
						</th>

						<th width="20%" valign="bottom"
							style="font-size: 13px; text-align: center; border-top: 1px solid;">Remark
						</th>
					</tr>


				</thead>
				<tbody>


					<tr
						style="border-bottom: 1px solid; ight: 1px solid; text-align: center; font-size: 13px;">

						<td style="border-top: 1px solid; border-right: 1px solid;"><b><?php echo $dto->packages; ?> Bales</b></td>


						<td
							style="border-top: 1px solid; border-right: 1px solid; text-align: left; border-bottom: none; color: black;">

							<div>

								<b><?php echo $dto->item; ?></b>
							</div>


							<div style="margin-top: 3px;">

								<b>LOT NO.: <span style="color: black;"><?php echo $dto->lot_no; ?></b>
							</div>
							<div style="margin-top: 3px;">

								<b>PR. NO.: <span style="color: black;"><?php echo $dto->pr_no; ?></b>
							</div>
							<div style="margin-top: 3px;">

								<b>PM : <span style="color: black;"><?php echo $dto->pm; ?></b>
							</div>
							<div style="margin-top: 3px;">

								<b>Quality: <span style="color: black;"><?php echo $dto->quality; ?></b>

							</div>
							
							<div style="margin-top: 3px;">


								<b>Remark: <span style="color: black;"><?php echo $dto->remark; ?></b>
							</div>

							<div style="margin-top: 5px;"></div>


						</td>


						<td style="border-top: 1px solid; border-right: 1px solid;"><b><?php echo $dto->weight; ?></b></td>
						<td style="border-top: 1px solid; border-right: 1px solid;">

							<div style="border-bottom: 1px solid;">
							<?php if ($dto->TYPE !== 'Paid' ) : ?>
										<b><?php echo $dto->rate; ?></b>
    <?php else : ?>
		<b>Paid</b>
    <?php endif; ?>
							</div>

							<div>

								<b>Per Bales</b>
							</div>





						</td>
						<td style="border-top: 1px solid; border-right: 1px solid;"><b>	<?php if ($dto->TYPE !== 'Paid' ) : ?>
										<b><?php echo $dto->total_amount; ?></b>
    <?php else : ?>
		<b>Paid</b>
    <?php endif; ?>
	</b></td>

						<td style="border-top: 1px solid;"><b>Do Not Pay Lorry
								Freight To Lorry Owner/Driver. Please Deposit Only To
								Transporter's Bank A/C Given Below </td>
						</b>



					</tr>


					<tr
						style="border-bottom: 1px solid; ight: 1px solid; text-align: left; font-size: 13px;">



						<td style="border-top: 1px solid; border-right: 1px solid;"></td>

						<td style="border-top: 1px solid; border-right: 1px solid;"><b>Mill No. :-<?php echo $dto->sms_no; ?></b></td>
						<td style="border-top: 1px solid; border-right: 1px solid;"></td>
						<td style="border-top: 1px solid; border-right: 1px solid;">






							<div style="border-bottom: 1px solid; color: black;">

								<b>Less Advance</b>
							</div>

							<div style="color: black;">

								<b>Total:-</b>
							</div> <span style="color: black;"> <b>Transporter A/c</b></span>




						</td>

						<td style="border-top: 1px solid; border-right: 1px solid;">




							<div style="border-bottom: 1px solid;">

								<b></b>
							</div>

							<div>	
									<?php if ($dto->TYPE !== 'Paid' ) : ?>
										<b><?php echo $dto->total_amount; ?></b>
    <?php else : ?>
		<b>Paid</b>
    <?php endif; ?>

								
							</div>



						</td>

					</tr>



				</tbody>
			</table>





			<table style="width: 100%; line-height: 15px;">

				<tbody>




					<tr style="font-size: 13px; color: black;">

						<td style="padding-left: 2px; "
							valign="top" width="50%">

							<div style="font-size: 14px;">
								<b>BANK : Canara Bank Khandwa Branch</b>
							</div>

							<div style="font-size: 14px;">

								<b>A/C. NO.: 2546285005380</b>
							</div>

							<div style="border-bottom: 1px solid;font-size: 14px;">

								<b>IFSC CODE Code.: CNRB0002546</b>
							</div>


							<div style="border-bottom: 1px solid; font-size: 12px;">
								<b> PAN. NO: AMZPM9014H</b>
							</div>
							<div style="border-bottom: 1px solid; ">GST
								Payble By : Consignor/Consignee Only</div>



							<ul style="font-size: 12px;">
								
							<li>1) Goods booked at Owner's Risk (Contents not checked).</li>
								<li>2) We are not responsible for any loss of goods coused due to then, accident, riot, fire rainwater, etc. or any other damage.</li>
								<li>3) Nimar Transport Service is only Commission agent</li>
							</ul>





						</td>

						<td style="padding-left: 2px; border-left: 1px solid;"  width="50%" ><br>
						<?php if ($dto->TYPE !== 'Paid' ) : ?>
									       	
							
							<b style="font-size: 14px; color: black;">Rs. (In Word )- <span
								id="WordsAmount3" 
								style="padding-left: 2px; font-size: 15px; color: black;"></span>
						</b>

						<?php endif; ?>
							<div
								style="width: 100%; float: left; font-size: 13px; text-align: center; color: #000;">
								<br> <br> <b>For - NIMAR TRANSPORTS SERVICE</b> <br>
								<br> <br> <br>This is Computer Generated please
								accepted.
							</div></td>



					</tr>






				</tbody>
			</table>


			

		</div>
		




	</div>


<script type="text/javascript">
				$()
						.ready(
								function() {

									NumToWord(
										<?php echo $dto->total_amount; ?>,
											'WordsAmount1');

								});
				
				$()
				.ready(
						function() {

							NumToWord(
								<?php echo $dto->total_amount; ?>,
									'WordsAmount2');

						});
				
				$()
				.ready(
						function() {

							NumToWord(
								<?php echo $dto->total_amount; ?>,
									'WordsAmount3');

						});
								
				
			
				
			</script>




			




</body>
</html>
