oca-shared-model 1.0.127 → 1.0.129

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.
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.EntryEarning = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const default_column_1 = require("../../../helper/default-column");
15
- class EntryEarning extends default_column_1.DefaultColumn {
16
- }
15
+ let EntryEarning = class EntryEarning extends default_column_1.DefaultColumn {
16
+ };
17
17
  exports.EntryEarning = EntryEarning;
18
18
  __decorate([
19
19
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -67,3 +67,9 @@ __decorate([
67
67
  (0, typeorm_1.Column)(),
68
68
  __metadata("design:type", String)
69
69
  ], EntryEarning.prototype, "notes", void 0);
70
+ exports.EntryEarning = EntryEarning = __decorate([
71
+ (0, typeorm_1.Entity)({
72
+ schema: "company",
73
+ name: "entry_earnings",
74
+ })
75
+ ], EntryEarning);
@@ -14,8 +14,8 @@ export declare class PeriodEntry extends DefaultColumn {
14
14
  days_worked?: number;
15
15
  ot_hours?: number;
16
16
  total_gross?: string;
17
- total_deduction_ee?: string;
18
- total_deduction_er?: string;
17
+ total_deductions_ee?: string;
18
+ total_deductions_er?: string;
19
19
  net_pay?: string;
20
20
  cost_to_company?: string;
21
21
  status?: string;
@@ -82,13 +82,13 @@ __decorate([
82
82
  type: "numeric",
83
83
  }),
84
84
  __metadata("design:type", String)
85
- ], PeriodEntry.prototype, "total_deduction_ee", void 0);
85
+ ], PeriodEntry.prototype, "total_deductions_ee", void 0);
86
86
  __decorate([
87
87
  (0, typeorm_1.Column)({
88
88
  type: "numeric",
89
89
  }),
90
90
  __metadata("design:type", String)
91
- ], PeriodEntry.prototype, "total_deduction_er", void 0);
91
+ ], PeriodEntry.prototype, "total_deductions_er", void 0);
92
92
  __decorate([
93
93
  (0, typeorm_1.Column)({
94
94
  type: "numeric",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oca-shared-model",
3
- "version": "1.0.127",
3
+ "version": "1.0.129",
4
4
  "description": "onboard shared model",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {