@platform-modules/foreign-ministry 1.3.205 → 1.3.208
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.
|
@@ -16,6 +16,7 @@ export declare class FinancialWorkFlow extends BaseModel {
|
|
|
16
16
|
activity_date: Date;
|
|
17
17
|
approved_by_role_id: number;
|
|
18
18
|
step_order: number;
|
|
19
|
+
action: string | null;
|
|
19
20
|
financialRequest?: FinancialRequests;
|
|
20
21
|
constructor(financial_request_id: number, status: FinancialWorkFlowStatus, approved_by_user_id: number, content: string, step_order: number);
|
|
21
22
|
}
|
|
@@ -31,6 +31,7 @@ let FinancialWorkFlow = class FinancialWorkFlow extends BaseModel_1.BaseModel {
|
|
|
31
31
|
this.financial_approval_id = 0;
|
|
32
32
|
this.activity_date = new Date();
|
|
33
33
|
this.step_order = step_order;
|
|
34
|
+
this.action = null;
|
|
34
35
|
}
|
|
35
36
|
};
|
|
36
37
|
exports.FinancialWorkFlow = FinancialWorkFlow;
|
|
@@ -66,6 +67,10 @@ __decorate([
|
|
|
66
67
|
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
67
68
|
__metadata("design:type", Number)
|
|
68
69
|
], FinancialWorkFlow.prototype, "step_order", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
72
|
+
__metadata("design:type", Object)
|
|
73
|
+
], FinancialWorkFlow.prototype, "action", void 0);
|
|
69
74
|
__decorate([
|
|
70
75
|
(0, typeorm_1.ManyToOne)(() => FinancialRequestsModel_1.FinancialRequests, fr => fr.workflows),
|
|
71
76
|
(0, typeorm_1.JoinColumn)({ name: 'financial_request_id' }),
|
package/package.json
CHANGED
|
@@ -36,6 +36,9 @@ export class FinancialWorkFlow extends BaseModel {
|
|
|
36
36
|
@Column({ type: 'int', nullable: true })
|
|
37
37
|
step_order: number;
|
|
38
38
|
|
|
39
|
+
@Column({ type: 'varchar', length: 50, nullable: true })
|
|
40
|
+
action: string | null;
|
|
41
|
+
|
|
39
42
|
@ManyToOne(() => FinancialRequests, fr => fr.workflows)
|
|
40
43
|
@JoinColumn({ name: 'financial_request_id' })
|
|
41
44
|
financialRequest?: FinancialRequests;
|
|
@@ -54,7 +57,8 @@ export class FinancialWorkFlow extends BaseModel {
|
|
|
54
57
|
this.content = content;
|
|
55
58
|
this.financial_approval_id = 0;
|
|
56
59
|
this.activity_date = new Date();
|
|
57
|
-
this.step_order = step_order
|
|
60
|
+
this.step_order = step_order;
|
|
61
|
+
this.action = null;
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
|