<div role="tabpanel" class="tab-pane" id="tab_action_taken">
  <a href="#" class="btn btn-primary" data-toggle="modal"
     data-target=".reminder-modal-ticket_action_taken-<?= e($ticket->ticketid); ?>">
    <i class="fa-solid fa-list-check"></i> Add Action Taken
  </a>

  <hr />

  <?php
  render_datatable(
    [_l('reminder_description'), _l('reminder_date'), _l('reminder_staff'), _l('reminder_is_notified')],
    'action-taken'
  );

  // Reuse same modal view, just pass name = ticket_action_taken
  $this->load->view('admin/includes/modals/reminder', [
    'id'             => $ticket->ticketid,
    'name'           => 'ticket_action_taken',
    'members'        => $staff,
    'reminder_title' => 'Action Taken',
  ]);
  ?>
</div>
