Waseel: driver app, dispatch, POI suggestions, map fixes

This commit is contained in:
Krikorios
2026-08-25 02:57:49 +03:00
parent 899ca93cd5
commit 1d84003e0a
50 changed files with 3625 additions and 625 deletions
+3 -1
View File
@@ -5,6 +5,7 @@
// L.B.P. equivalent shown for cash settlement.
import { DEFAULT_SERVICE, SERVICES, type ServiceId } from "@/constants/services";
import { tr } from "@/lib/i18n";
export const FARE = {
base: 1.5, // USD, flag drop
@@ -38,5 +39,6 @@ export const calculateFare = (
};
// Rounds to the nearest 1,000 L.B.P. — the smallest practical cash note.
// The currency suffix is localized (" L.B.P." / " ل.ل." / " LBP").
export const formatLBP = (usd: number): string =>
`${(Math.round((usd * LBP_RATE) / 1000) * 1000).toLocaleString("en-US")} L.B.P.`;
`${(Math.round((usd * LBP_RATE) / 1000) * 1000).toLocaleString("en-US")}${tr("units.lbpSuffix")}`;