Merge pull request #696 from Tria-plc/alpha

Build issue resolution
This commit is contained in:
Stephanos A.
2026-07-15 10:44:17 +03:00
committed by GitHub

View File

@@ -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,
);
}