<!DOCTYPE html>
<html>
<head>
	<title>Order Detail</title>
	<style type="text/css">
		@media print {
			#printPageButton {
				display: none;
			}
		}
	</style>
</head>
<body>
	<div style="padding: 35px;box-shadow: 1px 1px 11px 11px #e4e0e0;margin: 25px;">
		<table style="max-width: 800px;">
			<tr>
				<td style="font-size: 25px;font-weight: 600;"> <?php echo $setings->company_name;?> </td>
			</tr>
			<tr>
				<td> <?php echo $setings->company_address;?> </td>
			</tr>
			<tr>
				<td> GSTIN - <?php echo $setings->gst_no;?> </td>
			</tr>
		</table>
		<br>
		<br>
		<br>
		<hr>
		<table style="width: 100%">
			<tr>
				<td style="text-align: center;font-size: 22px;font-weight: 600;">ORDER DETAILS [ <?php echo !empty($order_data->name) ? $order_data->name : '';?> ]</td>
			</tr>
		</table>
		<br>
		<br>
		<br>
		<?php // echo "<pre>"; print_r($order_data);?>
		<table style="width: 70%;float: left;margin-left: 30px;">
			<tr style="display: inline-block;margin-bottom: 10px;">
				<td style="width: 170px;">Order date</td>
				<td style="width: 450px;border-bottom: 1px solid #4039397a;"><?php echo !empty($order_data->date_assign) ? $order_data->date_assign : '';?></td>
			</tr>
			<tr style="display: inline-block;margin-bottom: 10px;">
				<td style="width: 170px;">Order Number</td>
				<td style="width: 450px;border-bottom: 1px solid #4039397a;"><?php echo !empty($order_data->order_id) ? $order_data->order_id : '';?></td>
			</tr>
			<tr style="display: inline-block;margin-bottom: 10px;">
				<td style="width: 170px; font-size: 18px;font-weight: 600;">Item</td>
				<td style="width: 450px;border-bottom: 1px solid #4039397a;font-size: 20px;font-weight: 600;"><?php echo !empty($order_data->item_name) ? $order_data->item_name : '';?></td>
			</tr>
			<tr style="display: inline-block;margin-bottom: 10px;">
				<td style="width: 170px;">Qty</td>
				<td style="width: 450px;border-bottom: 1px solid #4039397a;"><?php echo !empty($order_data->qty) ? $order_data->qty : '';?></td>
			</tr>
			<tr style="display: inline-block;margin-bottom: 10px;">
				<td style="width: 170px;">Metal</td>
				<td style="width: 450px;border-bottom: 1px solid #4039397a;"><?php echo !empty($order_data->metal) ? $order_data->metal : '';?></td>
			</tr>
			<tr style="display: inline-block;margin-bottom: 10px;">
				<td style="width: 170px;">Metal Assign</td>
				<td style="width: 450px;border-bottom: 1px solid #4039397a;"><?php echo !empty($order_data->weight_assign) ? $order_data->weight_assign : '';?>gm</td>
			</tr>
			<tr style="display: inline-block;margin-bottom: 10px;">
				<td style="width: 170px;">Loss</td>
				<td style="width: 450px;border-bottom: 1px solid #4039397a;"><?php echo !empty($order_data->loss) ? $order_data->loss : '';?>%</td>
			</tr>
			<tr style="display: inline-block;margin-bottom: 10px;">
				<td style="width: 170px;">Metal Assign</td>
				<td style="width: 450px;border-bottom: 1px solid #4039397a;"><?php echo !empty($order_data->status_name) ? $order_data->status_name : '';?></td>
			</tr>
		</table>
		<table style="width: 25%;float: left;margin-left: 10px;">
			<tr style="display: inline-block;margin-bottom: 10px;">
				<td style="width: 200px;border-bottom: 1px solid #4039397a;"><img src='http://jeweldokan.in/sukhenjewel/<?php echo !empty($order_data->image) ? $order_data->image : '';?>' alt="image" width="200" /></td>
			</tr>			
		</table>	
		<table style="width: 70%;margin-left: 30px;">
			
		</table>	
		
			
	</div>
	<div style="text-align: center;">
		<button class="btn btn-primary"  id="printPageButton" type="button" data-status="1" onclick="javascript: window.print();"><span class="m-l-xs">Print Order</span></button>
	</div>
</body>
</html>