law-common 10.71.0 → 10.72.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,12 +129,16 @@ exports.billingFlowConfig = {
129
129
  },
130
130
  description: "Tracks partial or full payments until the invoice is completely settled.",
131
131
  },
132
- // [BillingActionsEnum.CLIENT_REVISION]: {
133
- // permissions: ["BILLING_AMENDMENT_ORG"],
134
- // next: () => {
135
- // return BillingStatusEnum.SETTLED;
136
- // },
137
- // },
132
+ [billing_action_enum_1.BillingActionsEnum.REJECT]: {
133
+ permissions: ["BILLING_APPROVER_ORG", "BILLING_APPROVER_PROJECT"],
134
+ next: () => billing_status_enum_1.BillingStatusEnum.CANCELLED,
135
+ description: "Rejected state indicates that the Proforma Invoice was not approved and has been cancelled.",
136
+ },
137
+ [billing_action_enum_1.BillingActionsEnum.EDIT]: {
138
+ permissions: ["BILLING_APPROVER_ORG", "BILLING_APPROVER_PROJECT"],
139
+ next: () => billing_status_enum_1.BillingStatusEnum.PENDING_PAYMENT,
140
+ description: "Allows stakeholders to edit the Proforma Invoice while keeping it in Pending Payment status.",
141
+ },
138
142
  },
139
143
  },
140
144
  [billing_status_enum_1.BillingStatusEnum.SETTLED]: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "law-common",
3
- "version": "10.71.0",
3
+ "version": "10.72.1-beta.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [