<link type="text/css" rel="stylesheet" href="<?php echo base_url(); ?>public/css/pdfs.css" />
<style>
	table.medicineCheckout {width: 100%;text-align: center;}
	table.medCheckItemTable {width: 100%;}
	.item_desc { font-family: freeserif; }
</style>
<table class="invoiceContent">
	<tr>
		<th>Customer Name</th>
		<th>Order ID</th>
		<th>State</th>
	</tr>
	<tr>
		<td><?php echo $customer['customer_name']; ?> </td>
		<td><?php echo $order['customer_order_id']; ?></td>
		<td><?php echo $customer['address_state_name']; ?></td>
	</tr>
</table>
<table class="invoiceContent">
	<tr>
	<th>Order Id</th>
	<th>Item Name </th>
	<th>Qty</th>
	<th>Price</th>
	<th>Net Amount</th>
	</tr>
<?php foreach ($order_item_list as $key => $value) { ?>
	<tr>
		<td><?php echo $order['customer_order_id']; ?></td>
		<td><?php echo $value['item_name']; ?></td>
		<td align="right"><?php echo $value['qty']; ?></td>
		<td  align="right"><?php echo $value['rate']; ?></td>
		<td  align="right"><?php echo $value['total_amount']; ?></td>
	</tr>
<?php } ?>	
<tr>
	<td colspan="4" align="right">Total</td>
	<td><?php echo $order['net_amt']+@$order['vpp_disc_amt']; ?></td>
</tr>
</table>
<table class="invoiceContent"  style="margin-top:80px;">
	<tr>
		<th>Customer Name</th>
		<th>Order ID</th>
		<th>State</th>
	</tr>
	<tr>
		<td><?php echo $customer['customer_name']; ?> </td>
		<td><?php echo $order['customer_order_id']; ?></td>
		<td><?php echo $customer['address_state_name']; ?></td>
	</tr>
</table>
<table class="invoiceContent" align="left">
	<tr>
		<th>Sno</th>
		<th>Customer Name</th>
		<th>Product Name</th>
		<th>Discription</th>
	</tr>
	<?php foreach ($order_item_list as $key => $value) { ?>
	<tr>
		<td><?php echo $key+1; ?></td>
		<td><?php echo $customer['customer_name']; ?></td>
		<td align="left"><?php echo $value['item_name']; ?></td>		
		<td align="left" class="item_desc" style="font-size: 13px;"><?php echo $value['item_desc']; ?></td>
	</tr>
<?php } ?>
</table>
