mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 05:25:41 +00:00
Update payments.service.ts
This commit is contained in:
@@ -261,7 +261,7 @@ export class PaymentsService {
|
|||||||
// Booking is in ETB — convert to the provider's settlement currency.
|
// Booking is in ETB — convert to the provider's settlement currency.
|
||||||
chargeAmount = await this.currencyService.convertMinorToChargeMajor(
|
chargeAmount = await this.currencyService.convertMinorToChargeMajor(
|
||||||
booking.totalMinor,
|
booking.totalMinor,
|
||||||
'ETB',
|
booking.currency,
|
||||||
chargeCurrency,
|
chargeCurrency,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user