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