kcommons 9.26.0 → 9.27.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.
|
@@ -2,6 +2,7 @@ import { COMPANY_VENDOR_LIST_TABS } from "../typings/companyVendors.typings";
|
|
|
2
2
|
import { COMPARATIVE_TABS } from "../typings/comparative.typings";
|
|
3
3
|
import { INDENT_TABS } from "../typings/indent.typings";
|
|
4
4
|
import { MI_SOURCE } from "../typings/mi.typings";
|
|
5
|
+
import { MRN_TABS } from "../typings/mrn.typings";
|
|
5
6
|
import { COMPANY_VIEW_PO_TABS } from "../typings/po.typings";
|
|
6
7
|
import { PR_SOURCE } from "../typings/pr.typings";
|
|
7
8
|
import { RFQ_TABS } from "../typings/rfq.typings";
|
|
@@ -416,7 +417,9 @@ export declare const companyNavConfig: {
|
|
|
416
417
|
id: COMPANY_ROUTE_IDS;
|
|
417
418
|
};
|
|
418
419
|
view: {
|
|
419
|
-
route: (mrn_id: string
|
|
420
|
+
route: (mrn_id: string, queryParams?: {
|
|
421
|
+
active_tab: MRN_TABS;
|
|
422
|
+
}) => string;
|
|
420
423
|
id: COMPANY_ROUTE_IDS;
|
|
421
424
|
};
|
|
422
425
|
edit: {
|
|
@@ -418,7 +418,10 @@ exports.companyNavConfig = {
|
|
|
418
418
|
id: COMPANY_ROUTE_IDS.MRN_LST,
|
|
419
419
|
},
|
|
420
420
|
view: {
|
|
421
|
-
route: (mrn_id) => `/store/mrns/${mrn_id}/view
|
|
421
|
+
route: (mrn_id, queryParams) => (0, parseReqString_1.parseReqString)(`/store/mrns/${mrn_id}/view`, {
|
|
422
|
+
route_id: COMPANY_ROUTE_IDS.MRN_VIEW,
|
|
423
|
+
active_tab: queryParams === null || queryParams === void 0 ? void 0 : queryParams.active_tab,
|
|
424
|
+
}),
|
|
422
425
|
id: COMPANY_ROUTE_IDS.MRN_VIEW,
|
|
423
426
|
},
|
|
424
427
|
edit: {
|
|
@@ -9,6 +9,10 @@ import { INestedGRN, INestedGRNItem } from "./grn.typings";
|
|
|
9
9
|
import { INestedItem } from "./item.typings";
|
|
10
10
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
11
11
|
import { INestedUser } from "./user.typings";
|
|
12
|
+
export declare enum MRN_TABS {
|
|
13
|
+
ITEMS = "ITEMS",
|
|
14
|
+
APPROVALS = "APPROVALS"
|
|
15
|
+
}
|
|
12
16
|
export declare enum MRN_PARENT_DOC_TYPE {
|
|
13
17
|
GRN = "GRN",
|
|
14
18
|
ISTD = "ISTD"
|
|
@@ -69,7 +73,7 @@ export interface IMRN {
|
|
|
69
73
|
parent_store_location: INestedStoreLocation | null;
|
|
70
74
|
contact_person: INestedUser | null;
|
|
71
75
|
sent_for_approval_by: INestedUser | null;
|
|
72
|
-
approval_chain: INestedEntityApprovalChainEntry | null;
|
|
76
|
+
approval_chain: INestedEntityApprovalChainEntry[] | null;
|
|
73
77
|
items: INestedMRNItem[] | null;
|
|
74
78
|
parent_istd: INestedISTD | null;
|
|
75
79
|
inventory_logs: INestedInventoryLog[] | null;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MRN_ITEM_INCLUDE = exports.MRN_STATUS = exports.MRN_INCLUDE = exports.MRN_PARENT_DOC_TYPE = void 0;
|
|
3
|
+
exports.MRN_ITEM_INCLUDE = exports.MRN_STATUS = exports.MRN_INCLUDE = exports.MRN_PARENT_DOC_TYPE = exports.MRN_TABS = void 0;
|
|
4
|
+
var MRN_TABS;
|
|
5
|
+
(function (MRN_TABS) {
|
|
6
|
+
MRN_TABS["ITEMS"] = "ITEMS";
|
|
7
|
+
MRN_TABS["APPROVALS"] = "APPROVALS";
|
|
8
|
+
})(MRN_TABS || (exports.MRN_TABS = MRN_TABS = {}));
|
|
4
9
|
var MRN_PARENT_DOC_TYPE;
|
|
5
10
|
(function (MRN_PARENT_DOC_TYPE) {
|
|
6
11
|
MRN_PARENT_DOC_TYPE["GRN"] = "GRN";
|