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

<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
		<td colspan="4" class="s0"><?php echo $this->session->userdata('company_name'); ?></td>
    </tr>
    <tr>
		<td colspan="4" class="s1">List Department</td>
    </tr>
    <tr>
		<td width="43" class="s4">Department Code</td>
		<td width="118" class="s4">Department Name</td>
		<td width="85" class="s4">Description</td>
    </tr>
  <?php	   
foreach($list as $row){		   
?>
	<tr>
		<td class="s5"><?php echo $row->DepartmentCode; ?></td>
		<td class="s3"><span class="s5"><?php echo $row->DepartmentName; ?></span></td>
		<td class="s5"><?php echo $row->DepartmentDesc; ?></td>
    </tr> 
<?php
}	   
?>
</table>
</body></html>

