kcommons 6.2.15 → 6.2.17

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.
@@ -7,7 +7,7 @@ exports.RFQ_NOTIFICATION_TEMPLATES = {
7
7
  rfqApproved: (rfq_id, rfq_no) => {
8
8
  return {
9
9
  action_link: companyRoutes_constants_1.companyNavConfig.purchase.rfq.view.route(rfq_id),
10
- description: `RFQ ${rfq_no} has been approved and is ready to send to vendors`,
10
+ description: `${rfq_no} has been approved and is ready to send to vendors`,
11
11
  title: "RFQ Send to Vendor",
12
12
  };
13
13
  },
@@ -21,7 +21,7 @@ exports.RFQ_NOTIFICATION_TEMPLATES = {
21
21
  rfqRejection: (rfq_id, rfq_no, rejectedBy) => {
22
22
  return {
23
23
  action_link: companyRoutes_constants_1.companyNavConfig.purchase.rfq.view.route(rfq_id),
24
- description: `RFQ ${rfq_no} has been rejeted by ${rejectedBy}.`,
24
+ description: `${rfq_no} has been rejeted by ${rejectedBy}.`,
25
25
  title: `RFQ ${rfq_no} rejected`,
26
26
  };
27
27
  },
@@ -29,7 +29,7 @@ exports.RFQ_NOTIFICATION_TEMPLATES = {
29
29
  return {
30
30
  action_link: vendorRoutes_constants_1.vendorNavRoutes.purchase.quotes.edit(quote_id),
31
31
  title: `Quotation Request`,
32
- description: `Company ${company_name} has requested to quote on ${rfq_no}`,
32
+ description: `${company_name} has requested to quote on ${rfq_no}`,
33
33
  };
34
34
  },
35
35
  };
@@ -37,5 +37,5 @@ export interface IContactPeopleFiltersWithPagination extends IContactPeopleFilte
37
37
  }
38
38
  export declare enum CONTACT_PERSON_TYPE {
39
39
  COMPANY_USER = "COMPANY_USER",
40
- EXTERNAL_USER = "EXTERNAL_USER"
40
+ EXTERNAL_USER = "CONTACT_PERSON"
41
41
  }
@@ -11,5 +11,5 @@ var CONTACT_PEOPLE_INCLUDE;
11
11
  var CONTACT_PERSON_TYPE;
12
12
  (function (CONTACT_PERSON_TYPE) {
13
13
  CONTACT_PERSON_TYPE["COMPANY_USER"] = "COMPANY_USER";
14
- CONTACT_PERSON_TYPE["EXTERNAL_USER"] = "EXTERNAL_USER";
14
+ CONTACT_PERSON_TYPE["EXTERNAL_USER"] = "CONTACT_PERSON";
15
15
  })(CONTACT_PERSON_TYPE || (exports.CONTACT_PERSON_TYPE = CONTACT_PERSON_TYPE = {}));
@@ -61,6 +61,8 @@ export interface IPurchaseOrder {
61
61
  contact_person_id: string | null;
62
62
  external_contact_person_id: string | null;
63
63
  status: string;
64
+ total: number | null;
65
+ subtotal: number | null;
64
66
  sent_for_approval_by_id: string | null;
65
67
  sent_to_vendor_by_id: string | null;
66
68
  parent_quote_id: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "6.2.15",
3
+ "version": "6.2.17",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",