@tomei/finance 0.6.40 → 0.6.41

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/finance",
3
- "version": "0.6.40",
3
+ "version": "0.6.41",
4
4
  "description": "NestJS package for finance module",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1341,7 +1341,7 @@ export default class FinanceCompany extends ObjectBase {
1341
1341
  Currency: paymentPaidWithItem.Currency,
1342
1342
  Amount: paymentPaidWithItem.Amount,
1343
1343
  Status: paymentPaidWithItem.Status,
1344
- LedgerNo: paymentPaidWithItem.LedgerNo,
1344
+ TransactionId: paymentPaidWithItem.TransactionId,
1345
1345
  RefBank: paymentPaidWithItem.RefBank,
1346
1346
  RefName: paymentPaidWithItem.RefName,
1347
1347
  RefNo: paymentPaidWithItem.RefNo,
@@ -1516,7 +1516,7 @@ export default class FinanceCompany extends ObjectBase {
1516
1516
  Currency: paymentPaidWithItem.Currency,
1517
1517
  Amount: paymentPaidWithItem.Amount,
1518
1518
  Status: paymentPaidWithItem.Status,
1519
- LedgerNo: paymentPaidWithItem.LedgerNo,
1519
+ TransactionId: paymentPaidWithItem.TransactionId,
1520
1520
  RefBank: paymentPaidWithItem.RefBank,
1521
1521
  RefName: paymentPaidWithItem.RefName,
1522
1522
  RefNo: paymentPaidWithItem.RefNo,
@@ -1986,7 +1986,7 @@ export default class FinanceCompany extends ObjectBase {
1986
1986
  Currency: paymentPaidWithItem.Currency,
1987
1987
  Amount: paymentPaidWithItem.Amount,
1988
1988
  Status: paymentPaidWithItem.Status,
1989
- LedgerNo: paymentPaidWithItem.LedgerNo,
1989
+ LedgerNo: paymentPaidWithItem.TransactionId,
1990
1990
  RefBank: paymentPaidWithItem.RefBank,
1991
1991
  RefName: paymentPaidWithItem.RefName,
1992
1992
  RefNo: paymentPaidWithItem.RefNo,
@@ -63,7 +63,7 @@ export default class PaymentPaidWithModel extends Model {
63
63
  allowNull: true,
64
64
  type: DataType.STRING(100),
65
65
  })
66
- LedgerNo: string;
66
+ TransactionId: string;
67
67
 
68
68
  @Column({
69
69
  allowNull: true,
@@ -186,7 +186,7 @@ export default class Payment extends AccountSystemEntity {
186
186
  ppw.Currency = paymentPaidWithItem.Currency;
187
187
  ppw.Amount = paymentPaidWithItem.Amount;
188
188
  ppw.Status = paymentPaidWithItem.Status;
189
- ppw.LedgerNo = paymentPaidWithItem.LedgerNo;
189
+ ppw.TransactionId = paymentPaidWithItem.TransactionId;
190
190
  ppw.RefBank = paymentPaidWithItem.RefBank;
191
191
  ppw.RefName = paymentPaidWithItem.RefName;
192
192
  ppw.RefNo = paymentPaidWithItem.RefNo;
@@ -6,7 +6,7 @@ export class IPaymentPaidWithAttr {
6
6
  Currency: string;
7
7
  Amount: number;
8
8
  Status: PaymentStatus;
9
- LedgerNo?: string;
9
+ TransactionId?: string;
10
10
  RefBank?: string;
11
11
  RefName?: string;
12
12
  RefNo?: string;
@@ -9,7 +9,7 @@ export default class PaymentPaidWith extends ObjectBase {
9
9
  Currency = 'MYR';
10
10
  Amount = 0;
11
11
  Status: PaymentStatus;
12
- LedgerNo = '';
12
+ TransactionId = '';
13
13
  RefBank = '';
14
14
  RefName = '';
15
15
  RefNo = '';