kcommons 18.12.7 → 18.12.9
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISTD_VIEW_TABS } from "../typings/company/istd/istd.typings";
|
|
2
|
-
import { COMPANY_VENDOR_STATUS } from "../typings/companyVendors.typings";
|
|
2
|
+
import { COMPANY_VENDOR_LIST_TYPE, COMPANY_VENDOR_STATUS } from "../typings/companyVendors.typings";
|
|
3
3
|
import { COMPARATIVE_TABS } from "../typings/comparative.typings";
|
|
4
4
|
import { GRN_TABS } from "../typings/grn.typings";
|
|
5
5
|
import { INDENT_TABS } from "../typings/indent.typings";
|
|
@@ -781,7 +781,10 @@ export declare const companyNavConfig: {
|
|
|
781
781
|
};
|
|
782
782
|
companyVendors: {
|
|
783
783
|
list: {
|
|
784
|
-
route: (tab
|
|
784
|
+
route: ({ tab, status_array, }?: {
|
|
785
|
+
tab?: COMPANY_VENDOR_LIST_TYPE;
|
|
786
|
+
status_array?: COMPANY_VENDOR_STATUS[];
|
|
787
|
+
}) => string;
|
|
785
788
|
id: COMPANY_ROUTE_IDS;
|
|
786
789
|
};
|
|
787
790
|
view: {
|
|
@@ -805,7 +805,9 @@ exports.companyNavConfig = {
|
|
|
805
805
|
},
|
|
806
806
|
companyVendors: {
|
|
807
807
|
list: {
|
|
808
|
-
route: (tab) => `/vendors/vendor-list
|
|
808
|
+
route: ({ tab, status_array, } = {}) => `/vendors/vendor-list?${tab ? `&tab=${tab}` : ""}${(status_array === null || status_array === void 0 ? void 0 : status_array.length)
|
|
809
|
+
? `&status_array=${status_array.join(",")}`
|
|
810
|
+
: ""}`,
|
|
809
811
|
id: COMPANY_ROUTE_IDS.CMP_VDR_LST,
|
|
810
812
|
},
|
|
811
813
|
view: {
|