<table width="100%" class="table m-table nowrap table-header-fixed table-striped table-bordered table-hover table-header-fixed" id="invoices_view_table">
  <thead>
    <tr class="">
      <th>Sl No</th>
      <th>Branch</th>
      <th>Type</th>
      <th>Invoice No</th>
      <th>Client Name</th>
      <th>Project Name</th>
      <th>Invoice Date</th>
      <th>Taxable Amount</th>
      <th><?php if($this->config->item('Tax_tax_splitting')==1){ echo "Total ";}?><?php echo $this->config->item('Tax_tax_name')?> %</th>
      <th><?php if($this->config->item('Tax_tax_splitting')==1){ echo "Total ";}?><?php echo $this->config->item('Tax_tax_name')?> Amount</th>
      <th><?php echo $this->config->item('Tax_tax1_name')?> %</th>
      <th><?php echo $this->config->item('Tax_tax1_name')?> Amt</th>
      <th><?php echo $this->config->item('Tax_tax2_name')?> %</th>
      <th><?php echo $this->config->item('Tax_tax2_name')?> Amt</th>
      <th><?php echo $this->config->item('Tax_tax3_name')?> %</th>
      <th><?php echo $this->config->item('Tax_tax3_name')?> Amt</th>
      <th>Total Receivable<br/>Amount</th>
      <th>Received Amount</th>
      <th>Balance Amount</th>
      <th>Status</th>
      <th>Created By</th>
      <th>Created Date</th>
      <th>Actions</th>
      <th>ID</th>
      <th>Approval Status</th>
      <th>Invoice type</th>
      <th>Reference ID</th>
    </tr>
  </thead>
  <tbody>
  </tbody>
</table>

<div class="modal fade" tabindex="-1" id="invoice_delete_modal" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog " role="document" >
    <form autocomplete="off" data-form-type="invoices"  data-modal-id="invoice_delete_modal" id="form_invoice_delete" method="post" action="<?php echo base_url().'invoices/delete'?>" class="form-horizontal">
      <div class="modal-content">
        <div class="alert alert-danger" role="alert" style="margin-bottom: 0px">
          <button type="button" class="close" data-dismiss="modal"></button>
          <br/>
          <h4 class="alert-heading">Warning! Please Confirm Your Action</h4>
          <br/>
          <p> Are You Sure to Delete this Invoice ? This can not be undone ! </p>
          <p>
            <button class="btn btn-danger form_submit_btn " type="submit" name="submit">Confirm & Delete</button>
            <button type="button" class="btn btn-primary modal-dismiss" data-dismiss="modal">Cancel</button>
          </p>
          <input type="hidden" value name="id_delete" id="invoice_id_delete">
        </div>
      </div>
    </form>
  </div>
</div>
