diff --git a/backend/bot/update_jordan_kazan.php b/backend/bot/update_jordan_kazan.php new file mode 100644 index 00000000..1adfd9c7 --- /dev/null +++ b/backend/bot/update_jordan_kazan.php @@ -0,0 +1,34 @@ +getMessage() . "\n"); +} + +echo "Updating Kazan pricing for Jordan...\n"; + +// Update the kazan table where country is Jordan +$sql = "UPDATE kazan + SET start_price = 0.40, + price_km = 0.30, + normal_min_price = 0.05 + WHERE country = 'Jordan' OR country = 'JO'"; + +$stmt = $con->prepare($sql); +$result = $stmt->execute(); + +if ($result) { + $rowCount = $stmt->rowCount(); + echo "Successfully updated $rowCount row(s) for Jordan in the kazan table.\n"; + echo "New Pricing: Base=0.40 JOD, Per Km=0.30 JOD, Per Min=0.05 JOD\n"; +} else { + echo "Failed to update kazan table.\n"; +}