File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
scheduler/src/common/helper Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -130,12 +130,10 @@ export const createGarmsCashFileHeader = (
130
130
gch . totalDebitCardAmount = formatAmount (
131
131
getValue ( paymentTypeAmounts , PaymentCardType . DEBIT ) ,
132
132
) ;
133
- gch . totalVisaAmount = formatAmount (
134
- getValue ( paymentTypeAmounts , PaymentCardType . VISA ) ,
135
- ) ;
136
- gch . totalMasterCardAmount = formatAmount (
137
- getValue ( paymentTypeAmounts , PaymentCardType . MASTERCARD ) ,
138
- ) ;
133
+ gch . totalVisaAmount =
134
+ formatAmount ( getValue ( paymentTypeAmounts , PaymentCardType . VISA ) + getValue ( paymentTypeAmounts , PaymentCardType . VISA_DEBIT ) ) ;
135
+ gch . totalMasterCardAmount =
136
+ formatAmount ( getValue ( paymentTypeAmounts , PaymentCardType . MASTERCARD ) + getValue ( paymentTypeAmounts , PaymentCardType . MASTERCARD_DEBIT ) ) ;
139
137
gch . totalAmexAmount = formatAmount (
140
138
getValue ( paymentTypeAmounts , PaymentCardType . AMEX ) ,
141
139
) ;
You can’t perform that action at this time.
0 commit comments