<?php if($credit_details!=-1) { ?><table class="table table-hover b-t b-light m-b-none" data-ride="datatables" id="tbl">
	<thead class="table_head">
		<tr>
			<th><? echo $vis_language['TXTCONTENT']; ?></th>
			<th class="txt_nowrap"><? echo $amtcolum; //$vis_language['TXTAMOUNT']; ?></th>
			<th class="txt_nowrap"><? echo $vis_language['TXTENTRYDATE']; ?></th>					
			<th></th>
		</tr>
	</thead>
	<tbody>			  
		<?
		   for($i=0;$i<count($credit_details);$i++) {
				?>
				  <tr>
				   <td><?php echo $credit_details[$i]['content'];?></td>
					<td><?php echo $credit_details[$i]['amount'];?></td>
					<td><?php echo format_datetime($credit_details[$i]['entry_date']);?></td>
				   <td align="center"> <a class="text-muted" onclick="delete_credit('<?php echo $credit_details[$i]['credit_id'];  ?>')" href="javascript:void(0);" ><i class="vh vh-delete-round"></a></td>		
			 </tr>  <? }
			 ?>
	</tbody>
</table>
<?php }
else include(VIS_PATH_TEMPLATE.'no_record_yet.php');  ?>
