kcommons 1.0.19 → 1.0.21
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.
- package/build/constants/permission.constants.d.ts +2 -1
- package/build/constants/permission.constants.js +1 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/typings/item/item_classification.d.ts +4 -0
- package/build/typings/item/item_classification.js +7 -0
- package/build/typings/item/item_tax_preference.d.ts +13 -3
- package/build/typings/item/item_tax_preference.js +16 -3
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ var PERMISSION_ACTIONS;
|
|
|
7
7
|
PERMISSION_ACTIONS["CRUDSAC"] = "crudsac_perm";
|
|
8
8
|
PERMISSION_ACTIONS["STV"] = "send_to_vendor_perm";
|
|
9
9
|
PERMISSION_ACTIONS["APPROVALS"] = "approvals_perm";
|
|
10
|
+
PERMISSION_ACTIONS["VIEW"] = "view";
|
|
10
11
|
})(PERMISSION_ACTIONS = exports.PERMISSION_ACTIONS || (exports.PERMISSION_ACTIONS = {}));
|
|
11
12
|
var PERMISSION_ENTITIES;
|
|
12
13
|
(function (PERMISSION_ENTITIES) {
|
package/build/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./typings/item/item_types";
|
|
2
2
|
export * from "./typings/item/item_uoms";
|
|
3
3
|
export * from "./typings/item/item_tax_preference";
|
|
4
|
+
export * from "./typings/item/item_classification";
|
|
4
5
|
export * from "./typings/includes/roles.include";
|
|
5
6
|
export * from "./typings/includes/companyVendors.inlcude";
|
|
6
7
|
export * from "./typings/includes/department.include";
|
package/build/index.js
CHANGED
|
@@ -13,6 +13,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
13
|
__exportStar(require("./typings/item/item_types"), exports);
|
|
14
14
|
__exportStar(require("./typings/item/item_uoms"), exports);
|
|
15
15
|
__exportStar(require("./typings/item/item_tax_preference"), exports);
|
|
16
|
+
__exportStar(require("./typings/item/item_classification"), exports);
|
|
16
17
|
// Includes
|
|
17
18
|
__exportStar(require("./typings/includes/roles.include"), exports);
|
|
18
19
|
__exportStar(require("./typings/includes/companyVendors.inlcude"), exports);
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
export declare const ITEM_TAX_PREFERENCE: {
|
|
2
|
-
NIL_RATED:
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
NIL_RATED: {
|
|
3
|
+
label: string;
|
|
4
|
+
gst: number;
|
|
5
|
+
};
|
|
6
|
+
TAXABLE: {
|
|
7
|
+
label: string;
|
|
8
|
+
};
|
|
9
|
+
EXEMPT: {
|
|
10
|
+
label: string;
|
|
11
|
+
};
|
|
12
|
+
NON_GST: {
|
|
13
|
+
label: string;
|
|
14
|
+
};
|
|
5
15
|
};
|
|
@@ -2,7 +2,20 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ITEM_TAX_PREFERENCE = void 0;
|
|
4
4
|
exports.ITEM_TAX_PREFERENCE = {
|
|
5
|
-
NIL_RATED:
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
NIL_RATED: {
|
|
6
|
+
label: "Nil-Rated",
|
|
7
|
+
gst: 0,
|
|
8
|
+
},
|
|
9
|
+
TAXABLE: {
|
|
10
|
+
// Custom GST
|
|
11
|
+
label: "Taxable",
|
|
12
|
+
},
|
|
13
|
+
EXEMPT: {
|
|
14
|
+
// Disable gst field
|
|
15
|
+
label: "Exempt",
|
|
16
|
+
},
|
|
17
|
+
NON_GST: {
|
|
18
|
+
// Disable gst field
|
|
19
|
+
label: "Exempt",
|
|
20
|
+
},
|
|
8
21
|
};
|