[2026-08-23 00:16:56] production.INFO: Version check requested {"app":"restaurant","platform":"android","currentVersion":"1.0.1","ip":"47.31.74.155"} 
[2026-08-23 00:16:56] production.INFO: 🔍 isUpdateAvailable check {"currentVersion":"1.0.1","dbVersion":"1.0.0","result":false} 
[2026-08-23 00:16:56] production.INFO: 🔍 isUpdateRequired check {"currentVersion":"1.0.1","dbVersion":"1.0.0","minimumVersion":"1.0.0","force_update":true,"updateAvailable":false,"version_compare_result":1} 
[2026-08-23 00:16:56] production.INFO: ✅ No update available - returning false  
[2026-08-23 00:16:56] production.INFO: 🎯 getUpdateType called {"currentVersion":"1.0.1","dbVersion":"1.0.0"} 
[2026-08-23 00:16:56] production.INFO: 🔍 isUpdateAvailable check {"currentVersion":"1.0.1","dbVersion":"1.0.0","result":false} 
[2026-08-23 00:16:56] production.INFO: ✅ No update available - returning none  
[2026-08-23 00:16:56] production.INFO: Version check response {"app":"restaurant","currentVersion":"1.0.1","latestVersion":"1.0.0","updateRequired":false,"updateAvailable":false} 
[2026-08-23 00:17:06] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 00:17:06] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 00:17:06] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 00:17:06] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 00:19:33] production.INFO: Order status history created successfully in restaurant controller {"order_id":3440,"status_history_id":5619,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 00:19:33] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 00:19:33] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 00:19:34] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 00:19:34] production.INFO: Restaurant order created successfully {"order_id":3440,"order_number":"R1-20260823-001-i4xxgw","restaurant_id":1,"total_amount":270.0} 
[2026-08-23 00:19:44] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 00:19:44] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 00:19:45] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 00:35:35] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 00:35:35] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 00:35:36] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 01:40:46] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 01:40:46] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 01:40:46] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 01:40:46] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 01:43:08] production.INFO: Order status history created successfully in restaurant controller {"order_id":3441,"status_history_id":5621,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 01:43:09] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 01:43:09] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 01:43:09] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 01:43:09] production.INFO: Restaurant order created successfully {"order_id":3441,"order_number":"R1-20260823-002-epviwh","restaurant_id":1,"total_amount":95.0} 
[2026-08-23 01:43:16] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 01:43:17] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 01:43:17] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 01:44:46] production.INFO: Week filter applied {"start":"2026-08-17 00:00:00","end":"2026-08-23 23:59:59"} 
[2026-08-23 11:58:34] production.INFO: Version check requested {"app":"restaurant","platform":"android","currentVersion":"1.0.1","ip":"47.31.74.155"} 
[2026-08-23 11:58:34] production.INFO: 🔍 isUpdateAvailable check {"currentVersion":"1.0.1","dbVersion":"1.0.0","result":false} 
[2026-08-23 11:58:34] production.INFO: 🔍 isUpdateRequired check {"currentVersion":"1.0.1","dbVersion":"1.0.0","minimumVersion":"1.0.0","force_update":true,"updateAvailable":false,"version_compare_result":1} 
[2026-08-23 11:58:34] production.INFO: ✅ No update available - returning false  
[2026-08-23 11:58:34] production.INFO: 🎯 getUpdateType called {"currentVersion":"1.0.1","dbVersion":"1.0.0"} 
[2026-08-23 11:58:34] production.INFO: 🔍 isUpdateAvailable check {"currentVersion":"1.0.1","dbVersion":"1.0.0","result":false} 
[2026-08-23 11:58:34] production.INFO: ✅ No update available - returning none  
[2026-08-23 11:58:34] production.INFO: Version check response {"app":"restaurant","currentVersion":"1.0.1","latestVersion":"1.0.0","updateRequired":false,"updateAvailable":false} 
[2026-08-23 11:58:43] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 11:58:43] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 11:58:43] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 11:58:43] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 11:58:54] production.INFO: Order status history created successfully in restaurant controller {"order_id":3442,"status_history_id":5623,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 11:58:54] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 11:58:55] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 11:58:55] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 11:58:55] production.INFO: Restaurant order created successfully {"order_id":3442,"order_number":"R1-20260823-003-uk2qrv","restaurant_id":1,"total_amount":20.0} 
[2026-08-23 11:59:00] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 11:59:00] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 11:59:00] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 11:59:00] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 11:59:26] production.INFO: Order status history created successfully in restaurant controller {"order_id":3443,"status_history_id":5624,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 11:59:26] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 11:59:26] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 11:59:27] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 11:59:27] production.INFO: Restaurant order created successfully {"order_id":3443,"order_number":"R1-20260823-004-mpofuz","restaurant_id":1,"total_amount":75.0} 
[2026-08-23 11:59:32] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 11:59:32] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 11:59:32] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 11:59:32] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 11:59:42] production.INFO: Order status history created successfully in restaurant controller {"order_id":3444,"status_history_id":5625,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 11:59:42] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 11:59:43] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 11:59:43] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 11:59:43] production.INFO: Restaurant order created successfully {"order_id":3444,"order_number":"R1-20260823-005-4fvk6h","restaurant_id":1,"total_amount":10.0} 
[2026-08-23 11:59:50] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 11:59:51] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 11:59:51] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 11:59:57] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 11:59:57] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 11:59:58] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 12:00:04] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 12:00:04] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 12:00:05] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 12:25:15] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 12:25:15] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 12:31:15] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 12:31:15] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 12:32:20] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 12:32:20] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 12:34:21] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 12:34:21] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 12:34:44] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 12:34:44] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 12:36:28] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 12:36:28] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 12:36:32] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 12:36:32] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 12:36:36] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 12:36:36] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 12:36:40] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 12:36:40] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 13:28:46] production.INFO: Version check requested {"app":"restaurant","platform":"android","currentVersion":"1.0.1","ip":"47.31.74.155"} 
[2026-08-23 13:28:46] production.INFO: 🔍 isUpdateAvailable check {"currentVersion":"1.0.1","dbVersion":"1.0.0","result":false} 
[2026-08-23 13:28:46] production.INFO: 🔍 isUpdateRequired check {"currentVersion":"1.0.1","dbVersion":"1.0.0","minimumVersion":"1.0.0","force_update":true,"updateAvailable":false,"version_compare_result":1} 
[2026-08-23 13:28:46] production.INFO: ✅ No update available - returning false  
[2026-08-23 13:28:46] production.INFO: 🎯 getUpdateType called {"currentVersion":"1.0.1","dbVersion":"1.0.0"} 
[2026-08-23 13:28:46] production.INFO: 🔍 isUpdateAvailable check {"currentVersion":"1.0.1","dbVersion":"1.0.0","result":false} 
[2026-08-23 13:28:46] production.INFO: ✅ No update available - returning none  
[2026-08-23 13:28:46] production.INFO: Version check response {"app":"restaurant","currentVersion":"1.0.1","latestVersion":"1.0.0","updateRequired":false,"updateAvailable":false} 
[2026-08-23 13:29:10] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 13:29:10] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 13:29:10] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 13:29:10] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 13:29:17] production.INFO: Order status history created successfully in restaurant controller {"order_id":3445,"status_history_id":5629,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 13:29:17] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 13:29:17] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 13:29:18] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 13:29:18] production.INFO: Restaurant order created successfully {"order_id":3445,"order_number":"R1-20260823-006-kl4gdk","restaurant_id":1,"total_amount":80.0} 
[2026-08-23 13:29:24] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 13:29:24] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 13:29:24] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 13:29:30] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 13:29:30] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 13:29:30] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 13:29:30] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 13:31:34] production.INFO: Order status history created successfully in restaurant controller {"order_id":3446,"status_history_id":5631,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 13:31:34] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 13:31:35] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 13:31:35] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 13:31:35] production.INFO: Restaurant order created successfully {"order_id":3446,"order_number":"R1-20260823-007-3e8ytk","restaurant_id":1,"total_amount":510.0} 
[2026-08-23 13:31:43] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 13:31:43] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 13:31:43] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:04:23] production.INFO: Version check requested {"app":"restaurant","platform":"android","currentVersion":"1.0.1","ip":"47.31.74.155"} 
[2026-08-23 22:04:23] production.INFO: 🔍 isUpdateAvailable check {"currentVersion":"1.0.1","dbVersion":"1.0.0","result":false} 
[2026-08-23 22:04:23] production.INFO: 🔍 isUpdateRequired check {"currentVersion":"1.0.1","dbVersion":"1.0.0","minimumVersion":"1.0.0","force_update":true,"updateAvailable":false,"version_compare_result":1} 
[2026-08-23 22:04:23] production.INFO: ✅ No update available - returning false  
[2026-08-23 22:04:23] production.INFO: 🎯 getUpdateType called {"currentVersion":"1.0.1","dbVersion":"1.0.0"} 
[2026-08-23 22:04:23] production.INFO: 🔍 isUpdateAvailable check {"currentVersion":"1.0.1","dbVersion":"1.0.0","result":false} 
[2026-08-23 22:04:23] production.INFO: ✅ No update available - returning none  
[2026-08-23 22:04:23] production.INFO: Version check response {"app":"restaurant","currentVersion":"1.0.1","latestVersion":"1.0.0","updateRequired":false,"updateAvailable":false} 
[2026-08-23 22:04:45] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:04:45] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:04:45] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:04:45] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:05:16] production.INFO: Order status history created successfully in restaurant controller {"order_id":3447,"status_history_id":5633,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 22:05:16] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:05:16] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:05:17] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:05:17] production.INFO: Restaurant order created successfully {"order_id":3447,"order_number":"R1-20260823-008-kkm27g","restaurant_id":1,"total_amount":125.0} 
[2026-08-23 22:05:23] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 22:05:23] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 22:05:24] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:05:30] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:05:30] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:05:30] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:05:30] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:05:42] production.INFO: Order status history created successfully in restaurant controller {"order_id":3448,"status_history_id":5635,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 22:05:42] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:05:42] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:05:43] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:05:43] production.INFO: Restaurant order created successfully {"order_id":3448,"order_number":"R1-20260823-009-z8o9gq","restaurant_id":1,"total_amount":30.0} 
[2026-08-23 22:05:48] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:05:48] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:05:48] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:05:48] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:06:31] production.INFO: Order status history created successfully in restaurant controller {"order_id":3449,"status_history_id":5636,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 22:06:31] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:06:31] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:06:32] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:06:32] production.INFO: Restaurant order created successfully {"order_id":3449,"order_number":"R1-20260823-010-9a3jt3","restaurant_id":1,"total_amount":246.0} 
[2026-08-23 22:06:36] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:06:36] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:06:36] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:06:36] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:07:09] production.INFO: Order status history created successfully in restaurant controller {"order_id":3450,"status_history_id":5637,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 22:07:09] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:07:10] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:07:10] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:07:10] production.INFO: Restaurant order created successfully {"order_id":3450,"order_number":"R1-20260823-011-s9l1jb","restaurant_id":1,"total_amount":240.0} 
[2026-08-23 22:07:13] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:07:13] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:07:13] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:07:13] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:07:28] production.INFO: Order status history created successfully in restaurant controller {"order_id":3451,"status_history_id":5638,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 22:07:28] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:07:28] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:07:29] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:07:29] production.INFO: Restaurant order created successfully {"order_id":3451,"order_number":"R1-20260823-012-4pv8yp","restaurant_id":1,"total_amount":100.0} 
[2026-08-23 22:07:36] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 22:07:36] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 22:07:36] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:07:42] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 22:07:43] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 22:07:43] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:08:05] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 22:08:05] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 22:08:06] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:08:12] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 22:08:12] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 22:08:12] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:38:54] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:38:54] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:38:54] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:38:54] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:39:28] production.INFO: Order status history created successfully in restaurant controller {"order_id":3452,"status_history_id":5643,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 22:39:28] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:39:29] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:39:29] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:39:29] production.INFO: Restaurant order created successfully {"order_id":3452,"order_number":"R1-20260823-013-8yxipq","restaurant_id":1,"total_amount":270.0} 
[2026-08-23 22:39:36] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 22:39:36] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 22:39:37] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:40:43] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:40:43] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:40:43] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:40:43] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:41:11] production.INFO: Order status history created successfully in restaurant controller {"order_id":3453,"status_history_id":5645,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 22:41:12] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:41:12] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:41:13] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:41:13] production.INFO: Restaurant order created successfully {"order_id":3453,"order_number":"R1-20260823-014-prdkuo","restaurant_id":1,"total_amount":150.0} 
[2026-08-23 22:41:19] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 22:41:19] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 22:41:19] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:55:18] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:55:18] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:55:18] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:55:18] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:55:23] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:55:23] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:56:16] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:56:16] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:56:19] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:56:19] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:56:19] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:56:19] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:56:45] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:56:45] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:56:45] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 22:56:45] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 22:57:15] production.INFO: Order status history created successfully in restaurant controller {"order_id":3454,"status_history_id":5647,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 22:57:16] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:57:16] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 22:57:16] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 22:57:16] production.INFO: Restaurant order created successfully {"order_id":3454,"order_number":"R1-20260823-015-bv8pdu","restaurant_id":1,"total_amount":100.0} 
[2026-08-23 23:00:51] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:00:51] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 23:01:03] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:01:03] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 23:01:11] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:01:11] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 23:02:31] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:02:31] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 23:02:35] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:02:35] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 23:03:02] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:03:02] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 23:03:03] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:03:03] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 23:03:11] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:03:11] production.INFO: Backend received endDate: 2026-08-23 23:59:00  
[2026-08-23 23:03:49] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:03:49] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 23:03:50] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:03:50] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 23:04:09] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:04:09] production.INFO: Backend received endDate: 2026-08-23 23:59:00  
[2026-08-23 23:04:23] production.INFO: Backend received startDate: 2026-08-21 00:00:00  
[2026-08-23 23:04:23] production.INFO: Backend received endDate: 2026-08-23 23:59:00  
[2026-08-23 23:04:28] production.INFO: Backend received startDate: 2026-08-21 00:00:00  
[2026-08-23 23:04:28] production.INFO: Backend received endDate: 2026-08-23 23:59:00  
[2026-08-23 23:04:37] production.INFO: Backend received startDate: 2026-08-22 00:00:00  
[2026-08-23 23:04:37] production.INFO: Backend received endDate: 2026-08-23 23:59:00  
[2026-08-23 23:04:57] production.INFO: Backend received startDate: 2026-08-23 08:00:00  
[2026-08-23 23:04:57] production.INFO: Backend received endDate: 2026-08-24 07:59:00  
[2026-08-23 23:05:02] production.INFO: Backend received startDate: 2026-08-23 08:00:00  
[2026-08-23 23:05:02] production.INFO: Backend received endDate: 2026-08-24 07:59:00  
[2026-08-23 23:05:04] production.INFO: Backend received startDate: 2026-08-23 00:00:00  
[2026-08-23 23:05:04] production.INFO: Backend received endDate: 2026-08-23 23:59:00  
[2026-08-23 23:05:16] production.INFO: Backend received startDate: 2026-08-23 08:00:00  
[2026-08-23 23:05:16] production.INFO: Backend received endDate: 2026-08-24 07:59:00  
[2026-08-23 23:05:36] production.INFO: Backend received startDate: 2026-08-01 00:00:00  
[2026-08-23 23:05:36] production.INFO: Backend received endDate: 2026-08-31 23:59:59  
[2026-08-23 23:08:35] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 23:08:35] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 23:08:35] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 23:08:35] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 23:23:25] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 23:23:25] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 23:23:25] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 23:23:25] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 23:24:52] production.INFO: Order status history created successfully in restaurant controller {"order_id":3455,"status_history_id":5648,"previous_status":"null","new_status":"preparing","changed_by":"Dev kumar","order_source":"restaurant"} 
[2026-08-23 23:24:53] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"🍽️ New Order Received!"} 
[2026-08-23 23:24:53] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"🍽️ New Order Received!"} 
[2026-08-23 23:24:53] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 23:24:53] production.INFO: Restaurant order created successfully {"order_id":3455,"order_number":"R1-20260823-016-b81jl8","restaurant_id":1,"total_amount":120.0} 
[2026-08-23 23:43:48] production.INFO: Version check requested {"app":"restaurant","platform":"android","currentVersion":"1.0.1","ip":"47.31.74.155"} 
[2026-08-23 23:43:48] production.INFO: 🔍 isUpdateAvailable check {"currentVersion":"1.0.1","dbVersion":"1.0.0","result":false} 
[2026-08-23 23:43:48] production.INFO: 🔍 isUpdateRequired check {"currentVersion":"1.0.1","dbVersion":"1.0.0","minimumVersion":"1.0.0","force_update":true,"updateAvailable":false,"version_compare_result":1} 
[2026-08-23 23:43:48] production.INFO: ✅ No update available - returning false  
[2026-08-23 23:43:48] production.INFO: 🎯 getUpdateType called {"currentVersion":"1.0.1","dbVersion":"1.0.0"} 
[2026-08-23 23:43:48] production.INFO: 🔍 isUpdateAvailable check {"currentVersion":"1.0.1","dbVersion":"1.0.0","result":false} 
[2026-08-23 23:43:48] production.INFO: ✅ No update available - returning none  
[2026-08-23 23:43:48] production.INFO: Version check response {"app":"restaurant","currentVersion":"1.0.1","latestVersion":"1.0.0","updateRequired":false,"updateAvailable":false} 
[2026-08-23 23:43:59] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 23:43:59] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 23:43:59] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 23:43:59] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 23:44:15] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 23:44:15] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 23:44:15] production.INFO: RestaurantMenuController - User details: {"user_id":2,"restaurant_id":1,"role":"admin"} 
[2026-08-23 23:44:15] production.INFO: RestaurantMenuController - Using user restaurant_id: 1  
[2026-08-23 23:44:47] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 23:44:47] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 23:44:48] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
[2026-08-23 23:44:53] production.INFO: FCM notification sent successfully {"fcm_token":"fvEt12TsSOaePdeXCo5d...","title":"💳 Payment Received"} 
[2026-08-23 23:44:54] production.INFO: FCM notification sent successfully {"fcm_token":"cD5arz8JTu-zxc16VxHZ...","title":"💳 Payment Received"} 
[2026-08-23 23:44:54] production.WARNING: FCM notification failed {"fcm_token":"e6hhsCKUR1CTQKN6O5cr...","error":"NotRegistered"} 
