Compare commits
No commits in common. "master" and "0.1" have entirely different histories.
3 changed files with 13 additions and 43 deletions
|
|
@ -42,8 +42,6 @@ const ROLE_PERMISSIONS: Record<Role, Permission[]> = {
|
|||
"manage_vessels_accounts",
|
||||
"manage_products",
|
||||
"manage_sites",
|
||||
"confirm_receipt",
|
||||
"process_payment"
|
||||
],
|
||||
SUPERUSER: [
|
||||
"create_po",
|
||||
|
|
|
|||
|
|
@ -100,13 +100,13 @@ const TRANSITIONS: Partial<Record<POStatus, TransitionMap>> = {
|
|||
SENT_FOR_PAYMENT: {
|
||||
mark_paid: {
|
||||
to: "PAID_DELIVERED",
|
||||
allowedRoles: ["ACCOUNTS", "SUPERUSER", "MANAGER"],
|
||||
allowedRoles: ["ACCOUNTS", "SUPERUSER"],
|
||||
requiresNote: false,
|
||||
sideEffects: ["EMAIL_SUBMITTER", "EMAIL_MANAGER"],
|
||||
},
|
||||
mark_partial_payment: {
|
||||
to: "PARTIALLY_PAID",
|
||||
allowedRoles: ["ACCOUNTS", "SUPERUSER", "MANAGER"],
|
||||
allowedRoles: ["ACCOUNTS", "SUPERUSER"],
|
||||
requiresNote: false,
|
||||
sideEffects: [],
|
||||
},
|
||||
|
|
@ -114,25 +114,25 @@ const TRANSITIONS: Partial<Record<POStatus, TransitionMap>> = {
|
|||
PARTIALLY_PAID: {
|
||||
mark_paid: {
|
||||
to: "PAID_DELIVERED",
|
||||
allowedRoles: ["ACCOUNTS", "SUPERUSER", "MANAGER"],
|
||||
allowedRoles: ["ACCOUNTS", "SUPERUSER"],
|
||||
requiresNote: false,
|
||||
sideEffects: [],
|
||||
},
|
||||
mark_partial_payment: {
|
||||
to: "PARTIALLY_PAID",
|
||||
allowedRoles: ["ACCOUNTS", "SUPERUSER", "MANAGER"],
|
||||
allowedRoles: ["ACCOUNTS", "SUPERUSER"],
|
||||
requiresNote: false,
|
||||
sideEffects: [],
|
||||
},
|
||||
confirm_receipt: {
|
||||
to: "CLOSED",
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER", "MANAGER"],
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER"],
|
||||
requiresNote: false,
|
||||
sideEffects: [],
|
||||
},
|
||||
confirm_partial_receipt: {
|
||||
to: "PARTIALLY_PAID",
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER", "MANAGER"],
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER"],
|
||||
requiresNote: false,
|
||||
sideEffects: [],
|
||||
},
|
||||
|
|
@ -140,13 +140,13 @@ const TRANSITIONS: Partial<Record<POStatus, TransitionMap>> = {
|
|||
PAID_DELIVERED: {
|
||||
confirm_receipt: {
|
||||
to: "CLOSED",
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER", "MANAGER"],
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER"],
|
||||
requiresNote: false,
|
||||
sideEffects: ["EMAIL_MANAGER", "EMAIL_ACCOUNTS"],
|
||||
},
|
||||
confirm_partial_receipt: {
|
||||
to: "PARTIALLY_CLOSED",
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER", "MANAGER"],
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER"],
|
||||
requiresNote: false,
|
||||
sideEffects: [],
|
||||
},
|
||||
|
|
@ -154,13 +154,13 @@ const TRANSITIONS: Partial<Record<POStatus, TransitionMap>> = {
|
|||
PARTIALLY_CLOSED: {
|
||||
confirm_receipt: {
|
||||
to: "CLOSED",
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER", "MANAGER"],
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER"],
|
||||
requiresNote: false,
|
||||
sideEffects: ["EMAIL_MANAGER", "EMAIL_ACCOUNTS"],
|
||||
},
|
||||
confirm_partial_receipt: {
|
||||
to: "PARTIALLY_CLOSED",
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER", "MANAGER"],
|
||||
allowedRoles: ["TECHNICAL", "MANNING", "SUPERUSER"],
|
||||
requiresNote: false,
|
||||
sideEffects: [],
|
||||
},
|
||||
|
|
|
|||
|
|
@ -112,15 +112,15 @@
|
|||
- mobile version for accounts [open-question]
|
||||
|
||||
26/05/2026
|
||||
- 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
|
||||
- do technical/manning get to make po from excel?
|
||||
- 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,31 +136,3 @@
|
|||
- 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.)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue