<table width="100%" class="table m-table nowrap table-header-fixed table-striped table-bordered table-hover table-header-fixed" id="loan_payments_view_table">
  <thead>
    <tr class="">
      <th>Sl No</th>
      <th>TR ID</th>
      <th><?php if($page_name=='loans_receivable'){ ?>Received <?php }elseif($page_name=='loans_payable'){?> Paid <?php }else{?> Received/Paid<?php } ?>  Date</th>
      <th>Bill ID</th>
      <th>Loan Title</th>
      <th>Provider</th>
      <th></th>
      <th></th>
      <th>Bill No</th>
      <th>Consignee</th>
      <th><?php if($page_name=='loans_receivable'){ ?>Received <?php }elseif($page_name=='loans_payable'){?> Paid <?php }else{?> Received/Paid<?php } ?> Amount</th>
      <th><?php if($page_name=='loans_receivable'){ ?>Credit <?php }elseif($page_name=='loans_payable'){?> Debit <?php }else{?> Credit/Debit<?php } ?> Acc</th>
      <th>Payment Mode</th>
      <th>TR Ref No</th>
      <th>TR Ref Date</th>
      <th>Remarks</th>
      <th>Created By</th>
      <th>Created Date</th>
      <th>Actions</th>
      <th>Debit Acc</th>
    </tr>
  </thead>
  <tbody>
  </tbody>
</table>
