diff --git a/backend/bot/cron_ai_engine.php b/backend/bot/cron_ai_engine.php index 888d3f9c..c5c58d87 100644 --- a/backend/bot/cron_ai_engine.php +++ b/backend/bot/cron_ai_engine.php @@ -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, diff --git a/backend/bot/update_jordan_kazan.php b/backend/bot/update_jordan_kazan.php index 618b33c8..6f87defe 100644 --- a/backend/bot/update_jordan_kazan.php +++ b/backend/bot/update_jordan_kazan.php @@ -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);