From a88f27431e0f68bf6e405624e09bf3ef7aa69716 Mon Sep 17 00:00:00 2001 From: Hardik Date: Mon, 15 Jun 2026 11:49:14 +0530 Subject: [PATCH] chore{perm}: Allow managers to confirm receipt --- App/lib/permissions.ts | 1 + Progress/TODO.md | 34 +++++++++++++++++++++++++++++++--- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/App/lib/permissions.ts b/App/lib/permissions.ts index 320c08d..604a17c 100644 --- a/App/lib/permissions.ts +++ b/App/lib/permissions.ts @@ -42,6 +42,7 @@ const ROLE_PERMISSIONS: Record = { "manage_vessels_accounts", "manage_products", "manage_sites", + "confirm_receipt" ], SUPERUSER: [ "create_po", diff --git a/Progress/TODO.md b/Progress/TODO.md index 0e18caa..8c02983 100644 --- a/Progress/TODO.md +++ b/Progress/TODO.md @@ -112,15 +112,15 @@ - mobile version for accounts [open-question] 26/05/2026 -- autogeneration and validation of id fields [DONE] +- who assigns vendor? - do technical/manning get to make po from excel? +- autogeneration and validation of id fields [DONE] +- pincode to geocode in bg. works on initial save - site edit does not work? location updates but does not save -- WAIT SAVING WORKS, THE BUTTON JUST SHOWS SAVING FOR SOME REASON -- pincode to geocode in bg. works on initial save - confirm button while deleting [DONE] - vessel edit does not save? - 0 percent gst does not work [DONE] -- who assigns vendor? - email notification take you to po [DONE] - po word appears twice in subject [DONE] - notification overflows on phone for manager [DONE] @@ -136,3 +136,31 @@ - partial payment / advance payment for accounts [DONE] - please confirm receipt - only for submitter not for manager [DONE] - rename My Purchase Orders to Closed Purchase Orders [DONE] + +30/05/26 +- add a string code for company +- imported po should not need to be approved. it can directly be submitted and will show up in closed state in history. +- vendors from imported po should be auto added +- items from imported PO should be auto added +- hide item inventory features under an environment flag. only keep vendor and item list for pos(including cart) outside the flag. +- po number should be in the format - Company_code/Cost_centre/PO_ID/Financial_Year. Start PO_ID from 200 - 201,202, etc this number should also show on mails and on the exported PO +- based on the above format - extract company code, cost centre, po id from the imported pos + +10/06: +- Allow the submitter to select a PO date. This should be picked up as the PO date and can be back/forward dated. Optional field - if not selected temporarily use creation date. +- Once approved, PO date should show date of approval, not creation. Also ensure the same is reflected in exported PO. +- For manager, closed purchase orders should show all the POs that are closed. +- For submitter, closed Purchase Order is also showing approved POs. It should only show Closed POs +- Items should get added to inventory as soon as PO is approved. Do not wait for Closed +- Line item Optional description needs to be shown in exported POs +- allow adding attachments at the delivery confirmation screen +- on po details screen show all attachments - submitted, payment and delivery. currently attachments not visible +- work order terms and conditions +- delivery receipt when confirming +- On manager screen - total approved this month is not updating/showing 0 +- For Accounts User, have a similar dashboard card for Payments Completed this Month. +- add a email to vendor option once po is approved and full/partial payment is done that exports the PO as pdf and opens it in outlook with vendor email +- revive the reports feature - make it a section on the sidebar. implement the mockup + +open questions - +- what granularity in the accounting code(heading, subheading, etc.)