Update: 2026-07-06 02:52:45
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.185; // Slightly increased for healthier margins (was 0.17)
|
||||
$longTripPerMin = 0.035; // Highway time increased slightly (was 0.02)
|
||||
$longSpeedPerKm = 0.20; // Increased to ensure driver perceives higher value
|
||||
$longTripPerMin = 0.045; // Highway time increased
|
||||
} else if ($isEgypt) {
|
||||
$longSpeedPerKm = 10.0; // Cheaper for long distance
|
||||
$longTripPerMin = 0.40;
|
||||
|
||||
Reference in New Issue
Block a user