mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Build issue resolution
This commit is contained in:
@@ -259,8 +259,9 @@ export class PaymentsService {
|
||||
chargeAmount = this.currencyService.displayMinorToChargeMajor(booking.totalMinor, 'ETB');
|
||||
} else {
|
||||
// Booking is in ETB — convert to the provider's settlement currency.
|
||||
chargeAmount = await this.currencyService.convertEtbMinorToChargeMajor(
|
||||
chargeAmount = await this.currencyService.convertMinorToChargeMajor(
|
||||
booking.totalMinor,
|
||||
'ETB',
|
||||
chargeCurrency,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user