<? global $vis_language;?>
<div class="wrapper">
	<div class="table-responsive scroll-x">
	  <table class="table table-hover b-t b-light m-b-none" data-ride="datatables">
   <thead class="table_head">
      <tr>
    	 <th class="txt_nowrap"><? echo $vis_language['TXTINVOICEID'];?></th>
         <th class="txt_nowrap"><? echo $vis_language['TXTCLIENTNAME']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTSTATUS'];?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTSUBTOTAL']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTTOTAL']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTPAID']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTDUE']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTCREATIONDATE']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTDUEDATE']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTCURRENCY']; ?></th>
      </tr>
   </thead>
   <tbody>
   	<?for($i=0;$i<count($invoice_info);$i++){
			
 			echo '<tr><td>'.((!empty($invoice_info[$i]['id']))?'#'.$invoice_info[$i]['id']:'').'</td>';	
			echo '<td>'.((!empty($invoice_info[$i]['client_first_name']))?$invoice_info[$i]['client_first_name']:'').' '.((!empty($invoice_info[$i]['client_last_name']))?$invoice_info[$i]['client_last_name']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['status']))?$invoice_info[$i]['status']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['subtotal']))?$invoice_info[$i]['subtotal']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['total']))?$invoice_info[$i]['total']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['paid']))?$invoice_info[$i]['paid']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['due']))?$invoice_info[$i]['due']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['date_billed']))?$invoice_info[$i]['date_billed']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['date_due']))?$invoice_info[$i]['date_due']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['currency']))?$invoice_info[$i]['currency']:'').'</td></tr>'; 
	  }?>    
   </tbody>
</table></div></div>

