<div class="modal fade" id="viewModal" tabindex="-1">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header bg-info text-white">
        <h5 class="modal-title">Invoice Details (<span class="invno"></span>)</h5>
      </div>
      <div class="modal-body">
        <p><strong>Customer:</strong> <span class="cust"></span></p>
        <p><strong>Amount:</strong> <span class="amt"></span></p>
        <h6>Receipts</h6>
        <table class="table table-sm table-bordered">
          <thead><tr><th>No</th><th>Date</th><th>Amount</th><th>Method</th></tr></thead>
          <tbody></tbody>
        </table>
      </div>
      <div class="modal-footer"><button class="btn btn-secondary" data-dismiss="modal">Close</button></div>
    </div>
  </div>
</div>
