@tudopz/model 2.28.1 → 2.28.3
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/package.json
CHANGED
package/src/constant/sale.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export declare const SALE_PAYMENT_TYPE_VALUES: string[];
|
|
|
2
2
|
export declare const SALE_PAYMENT_MODE_VALUES: string[];
|
|
3
3
|
export declare const SALE_TYPE_VALUES: string[];
|
|
4
4
|
export declare const SALE_SUB_TYPE_VALUES: string[];
|
|
5
|
+
export declare const AFTER_TAX_AMOUNT = 91.74311927;
|
package/src/constant/sale.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SALE_SUB_TYPE_VALUES = exports.SALE_TYPE_VALUES = exports.SALE_PAYMENT_MODE_VALUES = exports.SALE_PAYMENT_TYPE_VALUES = void 0;
|
|
3
|
+
exports.AFTER_TAX_AMOUNT = exports.SALE_SUB_TYPE_VALUES = exports.SALE_TYPE_VALUES = exports.SALE_PAYMENT_MODE_VALUES = exports.SALE_PAYMENT_TYPE_VALUES = void 0;
|
|
4
4
|
exports.SALE_PAYMENT_TYPE_VALUES = [
|
|
5
5
|
'First Payment',
|
|
6
6
|
'Top-up',
|
|
@@ -33,4 +33,5 @@ exports.SALE_SUB_TYPE_VALUES = [
|
|
|
33
33
|
'MMI',
|
|
34
34
|
'Not Applicable',
|
|
35
35
|
];
|
|
36
|
+
exports.AFTER_TAX_AMOUNT = 91.74311927; // = 1 / 1.09
|
|
36
37
|
//# sourceMappingURL=sale.js.map
|
package/src/constant/sale.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sale.js","sourceRoot":"","sources":["../../../../../libs/model/src/constant/sale.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG;IACtC,eAAe;IACf,QAAQ;IACR,iBAAiB;IACjB,iBAAiB;CAClB,CAAC;AAEW,QAAA,wBAAwB,GAAG;IACtC,eAAe;IACf,MAAM;IACN,aAAa;IACb,QAAQ;IACR,MAAM;IACN,iBAAiB;IACjB,SAAS;IACT,QAAQ;IACR,UAAU;IACV,QAAQ;CACT,CAAC;AAEW,QAAA,gBAAgB,GAAG,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;AAErD,QAAA,oBAAoB,GAAG;IAClC,SAAS;IACT,WAAW;IACX,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM;IACN,QAAQ;IACR,eAAe;IACf,SAAS;IACT,KAAK;IACL,gBAAgB;CACjB,CAAC"}
|
|
1
|
+
{"version":3,"file":"sale.js","sourceRoot":"","sources":["../../../../../libs/model/src/constant/sale.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG;IACtC,eAAe;IACf,QAAQ;IACR,iBAAiB;IACjB,iBAAiB;CAClB,CAAC;AAEW,QAAA,wBAAwB,GAAG;IACtC,eAAe;IACf,MAAM;IACN,aAAa;IACb,QAAQ;IACR,MAAM;IACN,iBAAiB;IACjB,SAAS;IACT,QAAQ;IACR,UAAU;IACV,QAAQ;CACT,CAAC;AAEW,QAAA,gBAAgB,GAAG,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;AAErD,QAAA,oBAAoB,GAAG;IAClC,SAAS;IACT,WAAW;IACX,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM;IACN,QAAQ;IACR,eAAe;IACf,SAAS;IACT,KAAK;IACL,gBAAgB;CACjB,CAAC;AAEW,QAAA,gBAAgB,GAAG,WAAW,CAAC,CAAC,aAAa"}
|
|
@@ -3,14 +3,16 @@ import { School } from './school';
|
|
|
3
3
|
import { User } from './user';
|
|
4
4
|
export declare class HighSchoolRecord {
|
|
5
5
|
id: number;
|
|
6
|
-
currentGrade
|
|
7
|
-
yearEnterCollege
|
|
8
|
-
areaOfStudy
|
|
6
|
+
currentGrade?: string;
|
|
7
|
+
yearEnterCollege?: number;
|
|
8
|
+
areaOfStudy?: string;
|
|
9
9
|
courseGrades: string;
|
|
10
|
-
educationSystemId
|
|
11
|
-
schoolId
|
|
10
|
+
educationSystemId?: number;
|
|
11
|
+
schoolId?: number;
|
|
12
12
|
userId: number;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
yearFinalExam?: number;
|
|
14
|
+
monthFinalExam?: number;
|
|
15
|
+
school?: School;
|
|
16
|
+
educationSystem?: EducationSystem;
|
|
15
17
|
user: User;
|
|
16
18
|
}
|
|
@@ -13,15 +13,15 @@ tslib_1.__decorate([
|
|
|
13
13
|
tslib_1.__metadata("design:type", Number)
|
|
14
14
|
], HighSchoolRecord.prototype, "id", void 0);
|
|
15
15
|
tslib_1.__decorate([
|
|
16
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 128 }),
|
|
16
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128, nullable: true }),
|
|
17
17
|
tslib_1.__metadata("design:type", String)
|
|
18
18
|
], HighSchoolRecord.prototype, "currentGrade", void 0);
|
|
19
19
|
tslib_1.__decorate([
|
|
20
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
20
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
21
21
|
tslib_1.__metadata("design:type", Number)
|
|
22
22
|
], HighSchoolRecord.prototype, "yearEnterCollege", void 0);
|
|
23
23
|
tslib_1.__decorate([
|
|
24
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 128 }),
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128, nullable: true }),
|
|
25
25
|
tslib_1.__metadata("design:type", String)
|
|
26
26
|
], HighSchoolRecord.prototype, "areaOfStudy", void 0);
|
|
27
27
|
tslib_1.__decorate([
|
|
@@ -29,17 +29,25 @@ tslib_1.__decorate([
|
|
|
29
29
|
tslib_1.__metadata("design:type", String)
|
|
30
30
|
], HighSchoolRecord.prototype, "courseGrades", void 0);
|
|
31
31
|
tslib_1.__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
33
33
|
tslib_1.__metadata("design:type", Number)
|
|
34
34
|
], HighSchoolRecord.prototype, "educationSystemId", void 0);
|
|
35
35
|
tslib_1.__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
37
37
|
tslib_1.__metadata("design:type", Number)
|
|
38
38
|
], HighSchoolRecord.prototype, "schoolId", void 0);
|
|
39
39
|
tslib_1.__decorate([
|
|
40
40
|
(0, typeorm_1.Column)({ type: 'int' }),
|
|
41
41
|
tslib_1.__metadata("design:type", Number)
|
|
42
42
|
], HighSchoolRecord.prototype, "userId", void 0);
|
|
43
|
+
tslib_1.__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
45
|
+
tslib_1.__metadata("design:type", Number)
|
|
46
|
+
], HighSchoolRecord.prototype, "yearFinalExam", void 0);
|
|
47
|
+
tslib_1.__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
49
|
+
tslib_1.__metadata("design:type", Number)
|
|
50
|
+
], HighSchoolRecord.prototype, "monthFinalExam", void 0);
|
|
43
51
|
tslib_1.__decorate([
|
|
44
52
|
(0, typeorm_1.ManyToOne)(() => school_1.School),
|
|
45
53
|
(0, typeorm_1.JoinColumn)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"high-school-record.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/high-school-record.ts"],"names":[],"mappings":";;;;AAAA,qCAAkG;AAElG,yDAAqD;AACrD,qCAAkC;AAClC,iCAA8B;AAGvB,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;
|
|
1
|
+
{"version":3,"file":"high-school-record.js","sourceRoot":"","sources":["../../../../../libs/model/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