Update codebase

This commit is contained in:
Hamza-Ayed
2026-08-09 16:56:13 +03:00
parent 95e2e4f35d
commit b64debaa88
1058 changed files with 164327 additions and 113928 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
// food/merchant_ops/preparing.php — المطعم بدأ التحضير
require_once __DIR__ . '/../connect_merchant.php';
$orderId = filterRequest('order_id', 'int');
if (!$orderId) jsonError('order_id is required');
foodAssertOrderOwnership($orderId, 'merchant', (string)$food_merchant_id);
food_transition_status($orderId, 'preparing', 'merchant', (string)$food_merchant_user_id);
jsonSuccess(['order_id' => $orderId, 'status' => 'preparing']);