Update: 2026-07-06 01:58:48

This commit is contained in:
Hamza-Ayed
2026-07-06 01:58:48 +03:00
parent f52316fa94
commit 22477356e3
2 changed files with 9 additions and 16 deletions
+5 -13
View File
@@ -86,28 +86,20 @@ try {
$updateSql = "UPDATE kazan
SET speedPrice = :speedPrice,
comfortPrice = :comfortPrice,
ladyPrice = :ladyPrice,
electricPrice = :electricPrice,
vanPrice = :vanPrice,
familyPrice = :ladyPrice,
deliveryPrice = :deliveryPrice,
mishwarVipPrice = :mishwarVipPrice,
fixedPrice = :fixedPrice,
awfarPrice = :awfarPrice,
normalMinPrice = :normalMin,
peakMinPrice = :peakMin,
lateMinPrice = :lateMin
freePrice = :mishwarVipPrice,
naturePrice = :normalMin,
heavyPrice = :peakMin,
latePrice = :lateMin
WHERE country = :countryName";
$upStmt = $con->prepare($updateSql);
$upStmt->execute([
':speedPrice' => $newSpeedPrice,
':comfortPrice' => $newComfortPrice,
':ladyPrice' => $newLadyPrice,
':electricPrice' => $newElectricPrice,
':vanPrice' => $newVanPrice,
':deliveryPrice' => $newDeliveryPrice,
':mishwarVipPrice' => $newMishwarVipPrice,
':fixedPrice' => $newFixedPrice,
':awfarPrice' => $newAwfarPrice,
':normalMin' => $newNormalMin,
':peakMin' => $newPeakMin,
':lateMin' => $newLateMin,
+4 -3
View File
@@ -17,9 +17,10 @@ echo "Updating Kazan pricing for Jordan...\n";
// Update the kazan table where country is Jordan
$sql = "UPDATE kazan
SET start_price = 0.35,
price_km = 0.22,
normal_min_price = 0.05
SET speedPrice = '0.25',
naturePrice = '0.05',
heavyPrice = '0.06',
latePrice = '0.05'
WHERE country = 'Jordan' OR country = 'JO'";
$stmt = $con->prepare($sql);