<!-- Edit Expense Type Modal -->
<div class="modal fade" id="editTypeModal" tabindex="-1" role="dialog">
  <div class="modal-dialog" role="document">
    <form action="<?= base_url('admin/expense/update_type') ?>" method="post">
      <input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>" 
             value="<?= $this->security->get_csrf_hash(); ?>" />
      <input type="hidden" name="id" id="edit-type-id">
      <div class="modal-content">
        <div class="modal-header">
          <h5>Edit Expense Type</h5>
          <button type="button" class="close" data-dismiss="modal">&times;</button>
        </div>
        <div class="modal-body">
          <label>Type Name</label>
          <input type="text" name="expense_type" id="edit-type-name" class="form-control" required>
        </div>
        <div class="modal-footer">
          <button type="submit" class="btn btn-success">Update</button>
          <button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
        </div>
      </div>
    </form>
  </div>
</div>
