@platform-modules/foreign-ministry 1.1.49 → 1.1.50

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.
@@ -13,5 +13,5 @@ export declare class ReimbursementRequests extends BaseModel {
13
13
  payment_date: Date;
14
14
  currency: string;
15
15
  financialRequest?: FinancialRequests;
16
- constructor(financial_request_id: number, amount: number, quantity: number, total_amount: number, approved_amount: number, payment_mode: string, payment_date: Date, expense_description: string);
16
+ constructor(financial_request_id: number, amount: number, quantity: number, total_amount: number, approved_amount: number, payment_mode: string, payment_date: Date, expense_description: string, currency: string);
17
17
  }
@@ -14,7 +14,7 @@ const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  const FinancialRequestsModel_1 = require("./FinancialRequestsModel");
16
16
  let ReimbursementRequests = class ReimbursementRequests extends BaseModel_1.BaseModel {
17
- constructor(financial_request_id, amount, quantity, total_amount, approved_amount, payment_mode, payment_date, expense_description) {
17
+ constructor(financial_request_id, amount, quantity, total_amount, approved_amount, payment_mode, payment_date, expense_description, currency) {
18
18
  super();
19
19
  this.financial_request_id = financial_request_id;
20
20
  this.amount = amount;
@@ -25,6 +25,7 @@ let ReimbursementRequests = class ReimbursementRequests extends BaseModel_1.Base
25
25
  this.payment_date = payment_date;
26
26
  this.expense_description = expense_description;
27
27
  this.payment_processed = false;
28
+ this.currency = currency;
28
29
  }
29
30
  };
30
31
  exports.ReimbursementRequests = ReimbursementRequests;
@@ -79,5 +80,5 @@ __decorate([
79
80
  ], ReimbursementRequests.prototype, "financialRequest", void 0);
80
81
  exports.ReimbursementRequests = ReimbursementRequests = __decorate([
81
82
  (0, typeorm_1.Entity)({ name: 'reimbursement_requests' }),
82
- __metadata("design:paramtypes", [Number, Number, Number, Number, Number, String, Date, String])
83
+ __metadata("design:paramtypes", [Number, Number, Number, Number, Number, String, Date, String, String])
83
84
  ], ReimbursementRequests);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.1.49",
3
+ "version": "1.1.50",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -49,7 +49,8 @@ export class ReimbursementRequests extends BaseModel {
49
49
  approved_amount: number,
50
50
  payment_mode: string,
51
51
  payment_date: Date,
52
- expense_description: string
52
+ expense_description: string,
53
+ currency :string
53
54
  ) {
54
55
  super();
55
56
  this.financial_request_id = financial_request_id;
@@ -61,6 +62,7 @@ export class ReimbursementRequests extends BaseModel {
61
62
  this.payment_date = payment_date;
62
63
  this.expense_description = expense_description;
63
64
  this.payment_processed = false;
65
+ this.currency = currency
64
66
  }
65
67
  }
66
68