@tomei/finance 0.3.74 → 0.3.76
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/dist/finance-company/finance-company.js +0 -3
- package/dist/finance-company/finance-company.js.map +1 -1
- package/dist/models/payment-paid-with.entity.d.ts +9 -3
- package/dist/models/payment-paid-with.entity.js +47 -5
- package/dist/models/payment-paid-with.entity.js.map +1 -1
- package/dist/models/payment.entity.d.ts +0 -4
- package/dist/models/payment.entity.js +0 -28
- package/dist/models/payment.entity.js.map +1 -1
- package/dist/payment-paid-with/interfaces/payment-paid-with.interface.d.ts +9 -3
- package/dist/payment-paid-with/interfaces/payment-paid-with.interface.js.map +1 -1
- package/dist/payment-paid-with/payment-paid-with.d.ts +9 -3
- package/dist/payment-paid-with/payment-paid-with.js +9 -3
- package/dist/payment-paid-with/payment-paid-with.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/migrations/finance-paymentpaidwith-migration.js +29 -5
- package/package.json +1 -1
- package/src/finance-company/finance-company.ts +5 -5
- package/src/models/payment-paid-with.entity.ts +41 -5
- package/src/models/payment.entity.ts +0 -24
- package/src/payment-paid-with/interfaces/payment-paid-with.interface.ts +9 -3
- package/src/payment-paid-with/payment-paid-with.ts +9 -3
|
@@ -41,22 +41,46 @@ module.exports = {
|
|
|
41
41
|
type: Sequelize.STRING(100),
|
|
42
42
|
allowNull: true,
|
|
43
43
|
},
|
|
44
|
-
|
|
45
|
-
type: Sequelize.STRING(
|
|
44
|
+
RefBank: {
|
|
45
|
+
type: Sequelize.STRING(200),
|
|
46
46
|
allowNull: true,
|
|
47
47
|
},
|
|
48
|
-
|
|
49
|
-
type: Sequelize.STRING(
|
|
48
|
+
RefName: {
|
|
49
|
+
type: Sequelize.STRING(300),
|
|
50
50
|
allowNull: true,
|
|
51
51
|
},
|
|
52
|
-
|
|
52
|
+
RefNo: {
|
|
53
53
|
type: Sequelize.STRING(100),
|
|
54
54
|
allowNull: true,
|
|
55
55
|
},
|
|
56
|
+
RefOther1: {
|
|
57
|
+
type: Sequelize.STRING(500),
|
|
58
|
+
allowNull: true,
|
|
59
|
+
},
|
|
60
|
+
RefOther2: {
|
|
61
|
+
type: Sequelize.STRING(500),
|
|
62
|
+
allowNull: true,
|
|
63
|
+
},
|
|
64
|
+
RefOther3: {
|
|
65
|
+
type: Sequelize.STRING(500),
|
|
66
|
+
allowNull: true,
|
|
67
|
+
},
|
|
68
|
+
RefOther4: {
|
|
69
|
+
type: Sequelize.STRING(500),
|
|
70
|
+
allowNull: true,
|
|
71
|
+
},
|
|
72
|
+
RefOther5: {
|
|
73
|
+
type: Sequelize.STRING(500),
|
|
74
|
+
allowNull: true,
|
|
75
|
+
},
|
|
56
76
|
Remarks: {
|
|
57
77
|
type: Sequelize.TEXT,
|
|
58
78
|
allowNull: true,
|
|
59
79
|
},
|
|
80
|
+
PaymentMediaId: {
|
|
81
|
+
type: Sequelize.STRING(30),
|
|
82
|
+
allowNull: true,
|
|
83
|
+
},
|
|
60
84
|
});
|
|
61
85
|
},
|
|
62
86
|
|
package/package.json
CHANGED
|
@@ -1141,11 +1141,11 @@ export default class FinanceCompany extends ObjectBase {
|
|
|
1141
1141
|
Amount: paymentPaidWithItem.Amount,
|
|
1142
1142
|
Status: paymentPaidWithItem.Status,
|
|
1143
1143
|
TransactionId: paymentPaidWithItem.TransactionId,
|
|
1144
|
-
TransactionApprovalCode:
|
|
1145
|
-
|
|
1146
|
-
TransactionApprovalName:
|
|
1147
|
-
|
|
1148
|
-
TransactionAccountNo: paymentPaidWithItem.TransactionAccountNo,
|
|
1144
|
+
// TransactionApprovalCode:
|
|
1145
|
+
// paymentPaidWithItem.TransactionApprovalCode,
|
|
1146
|
+
// TransactionApprovalName:
|
|
1147
|
+
// paymentPaidWithItem.TransactionApprovalName,
|
|
1148
|
+
// TransactionAccountNo: paymentPaidWithItem.TransactionAccountNo,
|
|
1149
1149
|
Remarks: paymentPaidWithItem.Remarks,
|
|
1150
1150
|
},
|
|
1151
1151
|
{ transaction: dbTransaction },
|
|
@@ -67,21 +67,51 @@ export default class PaymentPaidWithModel extends Model {
|
|
|
67
67
|
|
|
68
68
|
@Column({
|
|
69
69
|
allowNull: true,
|
|
70
|
-
type: DataType.STRING(
|
|
70
|
+
type: DataType.STRING(200),
|
|
71
71
|
})
|
|
72
|
-
|
|
72
|
+
RefBank: string;
|
|
73
73
|
|
|
74
74
|
@Column({
|
|
75
75
|
allowNull: true,
|
|
76
|
-
type: DataType.STRING(
|
|
76
|
+
type: DataType.STRING(300),
|
|
77
77
|
})
|
|
78
|
-
|
|
78
|
+
RefName: string;
|
|
79
79
|
|
|
80
80
|
@Column({
|
|
81
81
|
allowNull: true,
|
|
82
82
|
type: DataType.STRING(100),
|
|
83
83
|
})
|
|
84
|
-
|
|
84
|
+
RefNo: string;
|
|
85
|
+
|
|
86
|
+
@Column({
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: DataType.STRING(500),
|
|
89
|
+
})
|
|
90
|
+
RefOther1: string;
|
|
91
|
+
|
|
92
|
+
@Column({
|
|
93
|
+
allowNull: true,
|
|
94
|
+
type: DataType.STRING(500),
|
|
95
|
+
})
|
|
96
|
+
RefOther2: string;
|
|
97
|
+
|
|
98
|
+
@Column({
|
|
99
|
+
allowNull: true,
|
|
100
|
+
type: DataType.STRING(500),
|
|
101
|
+
})
|
|
102
|
+
RefOther3: string;
|
|
103
|
+
|
|
104
|
+
@Column({
|
|
105
|
+
allowNull: true,
|
|
106
|
+
type: DataType.STRING(500),
|
|
107
|
+
})
|
|
108
|
+
RefOther4: string;
|
|
109
|
+
|
|
110
|
+
@Column({
|
|
111
|
+
allowNull: true,
|
|
112
|
+
type: DataType.STRING(500),
|
|
113
|
+
})
|
|
114
|
+
RefOther5: string;
|
|
85
115
|
|
|
86
116
|
@Column({
|
|
87
117
|
allowNull: true,
|
|
@@ -89,6 +119,12 @@ export default class PaymentPaidWithModel extends Model {
|
|
|
89
119
|
})
|
|
90
120
|
Remarks: string;
|
|
91
121
|
|
|
122
|
+
@Column({
|
|
123
|
+
allowNull: true,
|
|
124
|
+
type: DataType.STRING(30),
|
|
125
|
+
})
|
|
126
|
+
PaymentMediaId: string;
|
|
127
|
+
|
|
92
128
|
@BelongsTo(() => PaymentModel)
|
|
93
129
|
Payment: PaymentModel;
|
|
94
130
|
|
|
@@ -59,30 +59,6 @@ export default class PaymentModel extends Model {
|
|
|
59
59
|
})
|
|
60
60
|
Status: PaymentStatus;
|
|
61
61
|
|
|
62
|
-
@Column({
|
|
63
|
-
allowNull: true,
|
|
64
|
-
type: DataType.STRING(100),
|
|
65
|
-
})
|
|
66
|
-
TransactionId: string;
|
|
67
|
-
|
|
68
|
-
@Column({
|
|
69
|
-
allowNull: true,
|
|
70
|
-
type: DataType.STRING(100),
|
|
71
|
-
})
|
|
72
|
-
TransactionApprovalCode: string;
|
|
73
|
-
|
|
74
|
-
@Column({
|
|
75
|
-
allowNull: true,
|
|
76
|
-
type: DataType.STRING(100),
|
|
77
|
-
})
|
|
78
|
-
TransactionAccountName: string;
|
|
79
|
-
|
|
80
|
-
@Column({
|
|
81
|
-
allowNull: true,
|
|
82
|
-
type: DataType.STRING(100),
|
|
83
|
-
})
|
|
84
|
-
TransactionAccountNo: string;
|
|
85
|
-
|
|
86
62
|
@Column({
|
|
87
63
|
allowNull: false,
|
|
88
64
|
type: DataType.STRING(30),
|
|
@@ -7,8 +7,14 @@ export class IPaymentPaidWithAttr {
|
|
|
7
7
|
Amount: number;
|
|
8
8
|
Status: PaymentStatus;
|
|
9
9
|
TransactionId?: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
RefBank?: string;
|
|
11
|
+
RefName?: string;
|
|
12
|
+
RefNo?: string;
|
|
13
|
+
RefOther1?: string;
|
|
14
|
+
RefOther2?: string;
|
|
15
|
+
RefOther3?: string;
|
|
16
|
+
RefOther4?: string;
|
|
17
|
+
RefOther5?: string;
|
|
13
18
|
Remarks?: string;
|
|
19
|
+
PaymentMediaId?: string;
|
|
14
20
|
}
|
|
@@ -10,10 +10,16 @@ export default class PaymentPaidWith extends ObjectBase {
|
|
|
10
10
|
Amount = 0;
|
|
11
11
|
Status: PaymentStatus;
|
|
12
12
|
TransactionId = '';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
RefBank = '';
|
|
14
|
+
RefName = '';
|
|
15
|
+
RefNo = '';
|
|
16
|
+
RefOther1 = '';
|
|
17
|
+
RefOther2 = '';
|
|
18
|
+
RefOther3 = '';
|
|
19
|
+
RefOther4 = '';
|
|
20
|
+
RefOther5 = '';
|
|
16
21
|
Remarks = '';
|
|
22
|
+
PaymentMediaId = '';
|
|
17
23
|
|
|
18
24
|
private static _RepositoryBase = new PaymentPaidWithRepository();
|
|
19
25
|
|