<style type="text/css">
#_canvas{
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 20px;
	margin-right: 20px;
	width: 400px;
	font-family: arial;
}
._hedCab{
	font-size: 16px;
	font-weight: bold;
}
._hedCab2{
	font-size: 11px;
}
._line{
	border-top: 1px solid #000;
	margin-top: 6px;
	margin-bottom: 6px;
}
._judul{
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	text-decoration: underline;
}
._noBukti{
	text-align: center;
	font-size: 13px;
	margin-top: 3px;
}
._tabTop{
	width: 100%;
	margin-top: 3px;
}
._tabTop tr td{
	font-size: 13px;
	border: none;
}
._isiR{
	text-align: right;
}
._tabDet{
	width: 100%;
}
._tabDet tr td{
	border: none;
	padding: 1px 0px;
	font-size: 13px;
}
._label{
	width: 55px;
	font-style: italic;
}
._spasi{
	width: 10px;
}
p{
	margin: 0px;
	margin-bottom: 3px;
}
._tabBerat{
	width: 50%;
	margin-top: 4px;
}
._tabBerat tr td{
	border: none;
	font-size: 14px;
	padding: 2px 0px;
}
._beratLbl{
	width: 100px;
}
._beratVal{
	width: 120px;
	text-align: right;
}
._beratSat{
	width: 30px;
	padding-left: 6px;
	text-align: right;
}
._netto td{
	font-weight: bold;
	border-top: 1px solid #000 !important;
	border-bottom: 1px solid #000;
	padding-top: 4px;
	padding-bottom: 4px;
}
._ttd{
	width: 100%;
	margin-top: 15px;
	border-top: 1px solid #000 !important;
	border-bottom: 1px solid #000 !important;
}
._ttd tr td{
	text-align: center;
	border: none;
	font-size: 13px;
}
._ttdLine{
	border-top: 1px solid #000;
	padding-top: 3px;
}
</style>

<div id="_canvas">
	<p class="_hedCab"><?php echo $this->login['pt'] ?></p>
	<p class="_hedCab2"><?php echo $this->login['alamat_cabang'] ?></p>
    <br><br>
	<div class="_line"></div>

	<p class="_judul">BUKTI PENIMBANGAN</p>
	<p class="_noBukti"><?php echo $this->data->data->nolpb ?></p>

	<table class="_tabTop" cellspacing="0" cellpadding="0">
		<tr>
			<td><?php echo date("d/m/Y", strtotime($this->data->data->tgl)) ?></td>
			<td class="_isiR">Asli</td>
		</tr>
	</table>

	<div class="_line"></div>

	<table cellspacing="0" cellpadding="0" style="width: 100%">
		<tr>
			<td style="width: 280px; vertical-align: top">
				<table class="_tabDet" cellspacing="0" cellpadding="0">
					<tr>
						<td class="_label">Pers</td>
						<td class="_spasi"></td>
						<td><?php echo $this->data->data->nm_sub.' ('.$this->data->data->kd_sub.')' ?></td>
					</tr>
					<tr>
						<td class="_label">Sbg</td>
						<td class="_spasi"></td>
						<td>Supplier</td>
					</tr>
					<tr>
						<td class="_label">No.Pol</td>
						<td class="_spasi"></td>
						<td><?php echo $this->data->data->nopol ?></td>
					</tr>
					<tr>
						<td class="_label">Jenis</td>
						<td class="_spasi"></td>
						<td><?php echo $this->data->data->nm_kat ?></td>
					</tr>
					<tr>
						<td class="_label">Masuk</td>
						<td class="_spasi"></td>
						<td><?php echo date("d/m/Y H:i:s", strtotime($this->data->data->tgl_datang)) ?></td>
					</tr>
					<tr>
						<td class="_label">Keluar</td>
						<td class="_spasi"></td>
						<td><?php echo date("d/m/Y H:i:s", strtotime($this->data->data->tgl_kembali)) ?></td>
					</tr>
				</table>
			</td>
			<td style="width: 220px; vertical-align: top">
				<table class="_tabDet" cellspacing="0" cellpadding="0">
					<tr>
						<td class="_label">No.DO</td>
						<td class="_spasi"></td>
						<td><?php echo $this->data->data->noref ?></td>
					</tr>
					<tr>
						<td class="_label">No.PO</td>
						<td class="_spasi"></td>
						<td><?php echo $this->data->nbld->nonbl ?></td>
					</tr>
					<tr>
						<td class="_label">Kode</td>
						<td class="_spasi"></td>
						<td><?php echo $this->data->data->kd_inv ?></td>
					</tr>
					<tr>
						<td class="_label">Material</td>
						<td class="_spasi"></td>
						<td><?php echo $this->data->data->nm_inv ?></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>

	<div class="_line"></div>

	<table align="right" class="_tabBerat" cellspacing="0" cellpadding="0">
		<tr>
			<td class="_beratLbl">Bruto</td>
			<td class="_beratVal"><?php echo number_format($this->data->data->qty1) ?></td>
			<td class="_beratSat">kg</td>
		</tr>
		<tr>
			<td class="_beratLbl">Tara</td>
			<td class="_beratVal"><?php echo number_format($this->data->data->qty2) ?></td>
			<td class="_beratSat">kg</td>
		</tr>
		<tr class="_netto">
			<td class="_beratLbl">Netto</td>
			<td class="_beratVal"><?php echo number_format($this->data->data->qty) ?></td>
			<td class="_beratSat">kg</td>
		</tr>
	</table>
    
	<table class="_ttd" cellspacing="0" cellpadding="0">
		<tr>
			<td style="width: 33%">Sopir</td>
			<td style="width: 33%">Operator</td>
			<td style="width: 34%">Checker</td>
		</tr>
		<tr><td colspan="3" style="height: 50px;">&nbsp;</td></tr>
		<tr>
			<td class="_ttdLine"><?php echo $this->data->data->nm_sopir ?></td>
			<td class="_ttdLine"><?php echo $this->data->data->chusr ?></td>
			<td class="_ttdLine">&nbsp;</td>
		</tr>
	</table>
</div>
