<!DOCTYPE html>
<html lang="en">
<head>
	<style type="text/css">
		body{
			font-family: 'Helvetica','sans-serif';
		}
		.o{
			font-size: 12px;
			font-style: italic;
		}

		.p{
			padding-top: 5px;
			padding-bottom: 5px;
		}
		.page-break {
		    page-break-after: always;
		}
	</style>
</head>
<body>
	<table  border="0" cellpadding="0" cellspacing="0"  width="100%" style="margin: 0px; padding: 0px;">
		<tr>
			<td align="left" style="font-size: 10px;">

				<table border="0" width="100%">
					<tr>
						<td align="left" style="font-size: 10px;"><b>ALLO TECHNOLOGY SDN BHD</b></td>
					 </tr>
					<tr>
						<td align="left" style="font-size: 10px;">Cyberview Garden Villas, Persiaran Multimedia, Cyber 7</td>
					 </tr>
					<tr>
					    <td align="left" style="font-size: 10px;">64000 Cyberjaya, Selangor Darul Ehsan</td>
					</tr> 
					<tr>
						<td align="left" style="font-size: 10px;">Tel: 03-8800 5222 Fax 03-8800 5221</td> 
						<td align="right" style="font-size: 12px;"><b>SERIAL NUMBER: {{ $docket->docket_id }}</b></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<p><table width="100%">
		<tr>
			<td width="150">
				<table border="1" cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td align="center" style="font-size: 13px; height: 35px;" ><b>WORK COMPLETION ADVICE FORM (DOCKET)</b></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<div class="o">Please tick (/) where applicable.</div>
	<p>
		<table border="0" width="100%" cellspacing="0" cellpadding="5">
  			<tr style="height: 50px;">
  				<td style="font-size: 12px; width: 150px;">Nature of Work</td>
  				<td style="width: 50px;">:</td>
  				<td style="font-size: 12px;"> {{ $docket->WorkOrder->nature_work }}</td>
  			</tr>
  			<tr style="height: 50px;">
  				<td  style="font-size: 12px; width: 150px;">Customer Name</td>
  				<td>:</td>
  				<td style="font-size: 12px;"> {{ $form->Subscriber->name }}</td>
  			</tr>
  			<tr style="height: 50px;">
  				<td style="font-size: 12px;">Address</td>
  				<td>:</td>
  				<td style="font-size: 12px;"> {{ $address }}</td>
  			</tr>
  			<tr style="height: 50px;">
  				<td style="font-size: 12px; width: 150px;">Work Order Serial No.</td>
  				<td>:</td>
  				<td style="font-size: 12px;"> {{ $docket->work_order_id }}</td>
  			</tr>
  			<tr style="height: 50px;">
  				<td style="font-size: 12px; width: 150px;">Product Type</td>
  				<td>:</td>
  				<td style="font-size: 12px;"> {{ $product }}</td>
  			</tr>
  			<tr style="height: 50px;">
  				<td style="font-size: 12px; width: 150px;">Installer Name</td>
  				<td>:</td>
  				<td colspan="9" style="font-size: 12px">{{ $installer->StaffDetail->name }}</td>
  			</tr>
		</table>
		<table border="0" width="100%" cellspacing="0" cellpadding="5">
  			
  			<tr style="height: 50px;">
  				<td style="font-size: 12px; width: 100px;">Type of Testing</td>
  				<td>:</td>
  				<td style="width:30px;">
  					<table border="1" style="width: 25px; height: 20px;"></table>
  				</td>
  				<td style="width: 50px;">
  					<div style="font-size: 11px">Browsing Internet<div>
  				</td>
  				<td style="width:30px;">
  					<table border="1" style="width: 25px; height: 20px;"></table>
  				</td>
  				<td style="width: 50px;">
  					<div style="font-size: 11px">Throughput Test</div>
  				</td>
  				<td style="width:30px;">
  					<table border="1" style="width: 25px; height: 20px;"></table>
  				</td>
  				<td style="width: 70px;">
  					<div style="font-size: 11px">"Ping" Test</div>
  				</td>
  				<td style="width:30px;">
  					<table border="1" style="width: 25px; height: 20px;"></table>
  				</td>
  				<td style="width: 50px;">
  					<div style="font-size: 11px">Others-</div>
  				</td>
  				<td>
  					<table border="1" style="width: 100px; height: 20px;"></table>
  				</td>
  			</tr>
		</table>
	</p>
	<p>
		<table border="1" width="75%" cellpadding="5" cellspacing="0" align="center">
			<tr>
				<td align="center" style="font-size: 12px; width: 125px;">Start Date</td>
				<td align="center" style="font-size: 12px">{{ date('d/m/Y',strtotime($dateTime)) }}</td>
				<td align="center" style="font-size: 12px; width: 125px;">End Date</td>
				<td align="center" style="font-size: 12px">{{ date('d/m/Y',strtotime($edateTime)) }}</td>
			</tr>
			<tr>
				<td align="center" style="font-size: 12px;">Start Time</td>
				<td align="center" style="font-size: 12px">{{ date('H:i:s a',strtotime($dateTime)) }}</td>
				<td align="center" style="font-size: 12px;">End Time</td>
				<td align="center" style="font-size: 12px;">{{ date('H:i:s a',strtotime($edateTime)) }}</td>
			</tr>
		</table>
	</p>
	<p>
		<b style="font-size: 13px;">Equipment Information:</b>
		<table border="0" style="width: 700px; height: 75px; ">
			<tr>
				<td style="border:1px solid black;font-size: 13px;"><b>
					<p>Router S/N : {{ $docket->router_serial_number }}</p>
					<p>Cable Read : {{ $docket->cable_read }}</p> 
					<p>Mac Route : {{ $docket->mac_router }}</p></b>
					<p>Modem S/N : {{ $docket->modem_sn }}</p>
				</td>
			</tr>
		</table>
	</p>
		<b style="font-size: 13px;">Remarks:</b>
		<table border="0" style="width: 700px; height: 75px; ">
			<tr>
				<td style="border:1px solid black;font-size: 13px;">Condition : {{ $docket->condition }}. {{ $docket->Note }}</td>
			</tr>
		</table>
	<p>
		<table border="0" width="75%" cellpadding="5" cellspacing="0">
			<tr>
				<td style="width: 150px; font-size: 13px;"><b>Date Completed :</b></td>
				<td>
					<table border="0" style="width: 250px; height: 20px;">
						<tr>
						<td style="border:1px solid black;font-size: 13px;">{{ date('d/m/Y',strtotime($edateTime)) }}</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</p>
	<p>
		<table border="1" bgcolor="#000000" width="100%"></table>
	</p>

	<div class="page-break"></div>
	<div class="o">* Below section to be filled up by customer </div>
	<table width="100%">
		<tr><td colspan="2" style="font-size: 12px;"><b>I hereby confirm that the equipment/service installation is acceptable and is to my satisfaction.</b></tr>
		<tr><td colspan="2" height="2" style="font-size: 12px;">&nbsp;</tr>
		<tr>
			<td>
				<table border="0" align="left" cellpadding="0" cellspacing="0">
					<tr>
						<td style="width: 300px; border: 1px solid black; font-size: 13px; padding-left: 5; padding-top: 2; padding-bottom: 2;">
							<b>Customer Signature</b>
						</td>
					</tr>
					<tr>
						<td style="width: 300px; height: 70px; border: 1px solid black;">
							<img src="{{ url($docket->customer_signature) }}" style="width:100%;height:auto">
						</td>
					</tr>
					<tr>
						<td style="font-size: 12px;padding-top: 2; padding-bottom: 2;">
							<p>Name: {{ $form->Subscriber->name }}</p>
							<p>IC/Passport No: {{ $form->Subscriber->ic }}</p>
						</td>
					</tr>
				</table>
			</td>
			<td style="float:right">
				<table border="1" align="right" cellspacing="0" cellpadding="0" style=" margin-bottom: 30px;">
					<tr>
						<td style="width: 300px; font-size: 13px; padding-left: 5; padding-top: 2; padding-bottom: 2;">
							<b>Company stamp (if any)</b>
						</td>
					</tr>
					<tr>
						<td style="width: 300px; height: 150px;"></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</body>
</html>