<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Warehouse</title>
</head>
<body style="width:auto; margin:auto">

<div style="padding:2px">
	<a href="#" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-print'" onClick="link_print('list/warehouses/to_print')">Print</a>
</div><br />

<table width="70%" border="0" cellspacing="0" cellpadding="0" style="margin-left:100px; margin-top:10px;">
    <tr>
		<td colspan="4" class="s0"><?php echo $this->session->userdata('company_name'); ?></td>
    </tr>
    <tr>
		<td colspan="4" class="s1">List Warehouse</td>
    </tr>
    <tr>
		<td width="43" class="s4">Warehouse Name</td>
		<td width="85" class="s4">Description</td>
		<td width="85" class="s4">Contact Person</td>
    </tr>
  <?php	   
foreach($list as $row){		   
?>
	<tr>
		<td class="s5"><?php echo $row->WarehouseName; ?></td>
		<td class="s3"><span class="s5"><?php echo $row->WarehouseDesc; ?></span></td>
		<td class="s5"><?php echo $row->ContactPerson; ?></td>
    </tr> 
<?php
}	   
?>
</table>
</body></html>

