Update: 2026-07-06 02:43:48

This commit is contained in:
Hamza-Ayed
2026-07-06 02:43:48 +03:00
parent 035fa5c209
commit 47a6fbb308
+2 -2
View File
@@ -196,8 +196,8 @@ function calculateDynamicPrice($country, $minFare, $distance, $duration, $kazanR
$isEgypt = ($kazanRow['country'] === 'Egypt' || $kazanRow['country'] === 'EG');
if ($isJordan) {
$longSpeedPerKm = 0.17; // Long trips should be cheaper per km!
$longTripPerMin = 0.02; // Highway time is usually discounted
$longSpeedPerKm = 0.185; // Slightly increased for healthier margins (was 0.17)
$longTripPerMin = 0.035; // Highway time increased slightly (was 0.02)
} else if ($isEgypt) {
$longSpeedPerKm = 10.0; // Cheaper for long distance
$longTripPerMin = 0.40;