<table cellpadding="0" cellspacing="0" width="100%" id="test" border="1" class="editable">
                	<thead>
                    <tr>
            			<th class="tac">#</th>
                        <th><?php echo $this->lang->line('itemCode') ?></th>
                        <th><?php echo $this->lang->line('description') ?></th>
                        <th class="tac"><?php echo $this->lang->line('unitPrice') ?></th>
                        <th class="tac"><?php echo $this->lang->line('quantitySent') ?></th>
                        <th class="tac"><?php echo $this->lang->line('amount') ?></th>
            		</tr>
        			</thead>
       				 <tbody>
			<?php $bil = 0; 
				if($datatbls){
				foreach($datatbls as $datatbl):
				$bil++
				?>
            	<tr>
                	<td class="tac"><?php echo $bil; ?></td>
                	<td><?php echo $datatbl->itemCode; ?></td>
                	<td><?php echo $datatbl->description; ?></td>
                    <td class="tar"><?php echo number_format($datatbl->unitPrice, 2); ?></td>
                    <td class="tar"><?php echo number_format($datatbl->quantitySent, 2); ?></td>
                    <td class="tar"><?php echo number_format($datatbl->itemTotal, 2); ?></td>
               </tr>
            <?php endforeach; }?>
                     </tbody>
                     </table>
