<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><?php echo $menu_label; ?></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="window.print()">Print</a>
</div><br />
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
		<td height="40" colspan="10" class="s0"><?php echo $this->load->model('file/m_new_company')->get_company_name($this->session->userdata('company')); ?></td>
    </tr>
    <tr>
		<td colspan="10" class="s1">List <?php echo $menu_label; ?></td>
    </tr>
    <tr>
		<td width="30" class="s4">Item Code</td>
		<td width="40" class="s4">Item Description</td>
		<td width="25" class="s4">Category</td>
		<td width="25" class="s4">Type</td>
		<td width="15" class="s4">Unit</td>
		<td width="20" class="s4">Status</td>
    </tr>
  <?php	   
foreach($list as $row){
$TransStatus = get_status_master($row->TransStatus);		   
?>
	<tr>
		<td class="s5"><?php echo $row->ItemCode; ?></td>
		<td class="s5"><?php echo $row->ItemDesc; ?></td>
		<td class="s5"><?php echo $row->ItemCategoryName; ?></td>
		<td class="s5"><?php echo $row->ItemTypeName; ?></td>
		<td class="s5"><?php echo $row->unit; ?></td>
		<td class="s5"><?php echo $TransStatus; ?></td>
    </tr>  
<?php
}	   
?>
</table>
</body></html>