chore{perm}: Allow managers to confirm receipt

This commit is contained in:
Hardik 2026-06-15 11:49:14 +05:30
parent cc62a9ddf6
commit a88f27431e
2 changed files with 32 additions and 3 deletions

View file

@ -42,6 +42,7 @@ const ROLE_PERMISSIONS: Record<Role, Permission[]> = {
"manage_vessels_accounts", "manage_vessels_accounts",
"manage_products", "manage_products",
"manage_sites", "manage_sites",
"confirm_receipt"
], ],
SUPERUSER: [ SUPERUSER: [
"create_po", "create_po",

View file

@ -112,15 +112,15 @@
- mobile version for accounts [open-question] - mobile version for accounts [open-question]
26/05/2026 26/05/2026
- autogeneration and validation of id fields [DONE] - who assigns vendor?
- do technical/manning get to make po from excel? - 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 - site edit does not work? location updates but does not save
-- WAIT SAVING WORKS, THE BUTTON JUST SHOWS SAVING FOR SOME REASON -- 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] - confirm button while deleting [DONE]
- vessel edit does not save? - vessel edit does not save?
- 0 percent gst does not work [DONE] - 0 percent gst does not work [DONE]
- who assigns vendor?
- email notification take you to po [DONE] - email notification take you to po [DONE]
- po word appears twice in subject [DONE] - po word appears twice in subject [DONE]
- notification overflows on phone for manager [DONE] - notification overflows on phone for manager [DONE]
@ -136,3 +136,31 @@
- partial payment / advance payment for accounts [DONE] - partial payment / advance payment for accounts [DONE]
- please confirm receipt - only for submitter not for manager [DONE] - please confirm receipt - only for submitter not for manager [DONE]
- rename My Purchase Orders to Closed Purchase Orders [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.)