how do add approve button on incident table

test228
Tera Contributor
The goal is to add "Approve" and "Reject" buttons to an INC (Incident) request system for managers.
  • The buttons should be visible only when an INC is in the "Pending Manager Approval" status.
  • They must be accessible from the manager's dashboard or notification interface.
  • Clicking "Approve" should update the INC status to "Approved by Manager" and notify the requestor.
  • Clicking "Reject" should prompt for a mandatory comment and update the INC status.