mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 05:25:41 +00:00
UAT fixes and enhancements
This commit is contained in:
@@ -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)}`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user