No description
Replaces the line-items-only editor with a full ManagerEditPoForm that covers every field: title, vessel, account, vendor, project code, delivery date, PI/Quotation No+Date, Requisition No+Date, place of delivery, all structured T&C fields, and line items (with GST rate). Edit toggle is amber-styled to distinguish manager changes from submitter input. On save, a complete snapshot of original values is written to the audit trail (MANAGER_LINE_EDIT action with metadata.original). managerEditPo server action: validates manager permission, checks status == MGR_REVIEW, recalculates totalAmount as grand total including GST, and persists all updated fields. Approval detail page now fetches vessels/accounts/vendors to populate the edit form dropdowns. |
||
|---|---|---|
| App/pelagia-portal | ||
| .gitignore | ||