kcommons 5.20.2 → 5.20.4
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.
|
@@ -3,6 +3,8 @@ export declare const PO_NOTIFICATIONS: {
|
|
|
3
3
|
/** For company users who belong to same purchase location as PO,
|
|
4
4
|
* to send the PO to vendors as it has been approved */
|
|
5
5
|
poApproved: (po_id: string, po_no: string) => INotificationTemplate;
|
|
6
|
+
/** For company user who precceds the rejecting user*/
|
|
7
|
+
poRejection: (po_id: string, po_no: string, rejectedBy: string) => INotificationTemplate;
|
|
6
8
|
/** For Company users whose chance is for approving the PO */
|
|
7
9
|
chanceForPoApproval: (po_id: string, po_no: string, name: string) => INotificationTemplate;
|
|
8
10
|
/** For Vendor when company approves and sends the PO to vendor */
|
|
@@ -13,6 +13,14 @@ exports.PO_NOTIFICATIONS = {
|
|
|
13
13
|
title: `Send ${po_no} to vendor`,
|
|
14
14
|
};
|
|
15
15
|
},
|
|
16
|
+
/** For company user who precceds the rejecting user*/
|
|
17
|
+
poRejection: (po_id, po_no, rejectedBy) => {
|
|
18
|
+
return {
|
|
19
|
+
action_link: companyRoutes_constants_1.companyNavConfig.purchase.po.view(po_id),
|
|
20
|
+
description: `PO ${po_no} has been rejeted by ${rejectedBy}.`,
|
|
21
|
+
title: `PO ${po_no} rejected`,
|
|
22
|
+
};
|
|
23
|
+
},
|
|
16
24
|
/** For Company users whose chance is for approving the PO */
|
|
17
25
|
chanceForPoApproval: (po_id, po_no, name) => {
|
|
18
26
|
return {
|