Update: 2026-07-06 02:43:48
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user