<table border="1" cellpadding="1" cellspacing="0" width="100%">
		<thead>
		<tr>
            <th class="tac">#</th>
            <th class="tal">&nbsp;<?php echo $this->lang->line('customer') ?></th>
            <th class="tal">&nbsp;<?php echo $this->lang->line('contact') ?></th>
            <th><?php echo $this->lang->line('phone') ?></th>
            <th class="tar"><?php echo $this->lang->line('amount') ?>&nbsp;</th>               
		</tr>
		</thead>
		<tbody>
	<?php $bil = 0; 
				if($datatbls){
				foreach($datatbls as $datatbl):
				?>
                <?php if($datatbl->customerTotal > 0 ){
					$bil++?>
            	<tr>
                	<td class="tac"><?php echo $bil; ?></td>
                	<td>&nbsp;<?php echo $datatbl->customerName; ?></td>
                	<td>&nbsp;<?php echo $datatbl->attention; ?></td>
                	<td class="tac"><?php echo $datatbl->phoneNumber1; ?></td>
                	<td class="tar"><?php echo number_format($datatbl->customerTotal,2); ?>&nbsp;</td>
               </tr>
            <?php }?>
            <?php endforeach; }?>
		</tbody>
	</table>