<? 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['TXTCLIENTID']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTORGANIZATION'];?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTDESCRIPTION']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTSTATUS']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTAMOUNT']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTAMOUNTOUTSTANDING']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTPAID']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTDATE']; ?></th>
		 <th class="txt_nowrap"><? echo $vis_language['TXTDISCOUNT']; ?></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]['invoice_id']))?$invoice_info[$i]['invoice_id']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['client_id']))?$invoice_info[$i]['client_id']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['organization']))?$invoice_info[$i]['organization']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['description']))?$invoice_info[$i]['description']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['status']))?$invoice_info[$i]['status']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['amount']))?$invoice_info[$i]['amount']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['amount_outstanding']))?$invoice_info[$i]['amount_outstanding']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['paid']))?$invoice_info[$i]['paid']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['date']))?$invoice_info[$i]['date']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['discount']))?$invoice_info[$i]['discount']:'').'</td>';
			echo '<td>'.((!empty($invoice_info[$i]['currency_code']))?$invoice_info[$i]['currency_code']:'').'</td></tr>'; 
	  }?>    
   </tbody>
</table></div></div>
