UAT fixes and enhancements

This commit is contained in:
Stephanos A
2026-07-10 10:33:36 +03:00
parent cec544fc12
commit acc93aeffc
16 changed files with 371 additions and 489 deletions

View File

@@ -83,8 +83,8 @@ export function getPassengerCategory(passenger: PassengerWithAge): 'ADULT' | 'CH
/**
* Format fare amount for display
*/
export function formatFare(amountMinor: number, currency: string = 'ETB'): string {
return `${currency} ${(amountMinor / 100).toFixed(2)}`;
export function formatFare(amountMinor: number, currencyOrSymbol: string = 'ETB'): string {
return `${currencyOrSymbol} ${(amountMinor / 100).toFixed(2)}`;
}
/**