{"timestamp":"2026-01-08 14:38:13","method":"destroy","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","report_id":null}}
{"timestamp":"2026-01-08 14:38:13","method":"destroy","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-01-08 14:38:13","method":"destroy","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-01-08 14:38:13","method":"destroy","message":"Fetched report IDs from database","data":{"report_id":null,"db_branch_id":null,"db_restaurant_id":null,"model_branch_id":null,"model_restaurant_id":null}}
{"timestamp":"2026-01-08 14:38:13","method":"destroy","message":"Using model branch_id as fallback","data":{"branch_id":null}}
{"timestamp":"2026-01-08 14:38:13","method":"destroy","message":"Using model restaurant_id as fallback","data":{"restaurant_id":null}}
{"timestamp":"2026-01-08 14:38:13","method":"destroy","message":"Checking branch manager access","data":{"report_branch_id":null,"user_branch_id":1}}
{"timestamp":"2026-01-08 14:38:13","method":"destroy","message":"Report branch not found","data":{"report_branch_id":null}}
{"timestamp":"2026-01-08 14:44:25","method":"destroy","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","report_id":null}}
{"timestamp":"2026-01-08 14:44:25","method":"destroy","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-01-08 14:44:25","method":"destroy","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-01-08 14:45:14","method":"destroy","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","report_id":null}}
{"timestamp":"2026-01-08 14:45:14","method":"destroy","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-01-08 14:45:14","method":"destroy","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-01-08 15:07:13","method":"destroy","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"1","method_id":"1"}}
{"timestamp":"2026-01-08 15:07:13","method":"destroy","message":"Report found","data":{"report_id":1,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:07:13","method":"destroy","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-01-08 15:07:13","method":"destroy","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-01-08 15:07:13","method":"destroy","message":"Fetched report IDs from database","data":{"report_id":1,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 15:07:13","method":"destroy","message":"Checking branch manager access","data":{"report_branch_id":1,"user_branch_id":1}}
{"timestamp":"2026-01-08 15:07:13","method":"destroy","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 15:07:13","method":"destroy","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 15:07:13","method":"destroy","message":"Deleting report","data":{"report_id":1}}
{"timestamp":"2026-01-08 15:07:13","method":"destroy","message":"Report deleted successfully","data":{"report_id":1}}
{"timestamp":"2026-01-08 15:07:18","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-06","start_date":"2026-01-05","start_time":"16:00:00","end_date":"2026-01-06","end_time":"03:00:00"}}}
{"timestamp":"2026-01-08 15:07:18","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"16:00:00","end_time":"03:00:00"}}
{"timestamp":"2026-01-08 15:07:18","method":"calculateAmounts","message":"Validation failed","data":{"errors":{"start_time":["The start time field must match the format H:i."],"end_time":["The end time field must match the format H:i."]},"request_data":{"branch_id":"1","date":"2026-01-06","start_date":"2026-01-05","start_time":"16:00:00","end_date":"2026-01-06","end_time":"03:00:00"}}}
{"timestamp":"2026-01-08 15:07:18","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-06","start_date":"2026-01-05","start_time":"16:00:00","end_date":"2026-01-06","end_time":"03:00:00"}}}
{"timestamp":"2026-01-08 15:07:18","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"16:00:00","end_time":"03:00:00"}}
{"timestamp":"2026-01-08 15:07:18","method":"calculateAmounts","message":"Validation failed","data":{"errors":{"start_time":["The start time field must match the format H:i."],"end_time":["The end time field must match the format H:i."]},"request_data":{"branch_id":"1","date":"2026-01-06","start_date":"2026-01-05","start_time":"16:00:00","end_date":"2026-01-06","end_time":"03:00:00"}}}
{"timestamp":"2026-01-08 15:23:44","method":"show","message":"Fetched report IDs from database","data":{"report_id":null,"db_branch_id":null,"db_restaurant_id":null,"model_branch_id":null,"model_restaurant_id":null}}
{"timestamp":"2026-01-08 15:23:44","method":"show","message":"Using model branch_id as fallback","data":{"branch_id":null}}
{"timestamp":"2026-01-08 15:23:44","method":"show","message":"Using model restaurant_id as fallback","data":{"restaurant_id":null}}
{"timestamp":"2026-01-08 15:23:44","method":"show","message":"Checking branch manager access","data":{"report_branch_id":null,"user_branch_id":1}}
{"timestamp":"2026-01-08 15:23:44","method":"show","message":"Report branch not found","data":{"report_branch_id":null}}
{"timestamp":"2026-01-08 15:23:45","method":"show","message":"Fetched report IDs from database","data":{"report_id":null,"db_branch_id":null,"db_restaurant_id":null,"model_branch_id":null,"model_restaurant_id":null}}
{"timestamp":"2026-01-08 15:23:45","method":"show","message":"Using model branch_id as fallback","data":{"branch_id":null}}
{"timestamp":"2026-01-08 15:23:45","method":"show","message":"Using model restaurant_id as fallback","data":{"restaurant_id":null}}
{"timestamp":"2026-01-08 15:23:45","method":"show","message":"Checking branch manager access","data":{"report_branch_id":null,"user_branch_id":1}}
{"timestamp":"2026-01-08 15:23:45","method":"show","message":"Report branch not found","data":{"report_branch_id":null}}
{"timestamp":"2026-01-08 15:26:45","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"3","method_id":"3"}}
{"timestamp":"2026-01-08 15:26:45","method":"show","message":"Report found","data":{"report_id":3,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:26:45","method":"show","message":"Fetched report IDs from database","data":{"report_id":3,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 15:26:45","method":"show","message":"Checking branch manager access","data":{"report_id":3,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 15:26:45","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 15:26:45","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 15:26:45","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-07 16:00:00","end_date":"2026-01-08 04:00:00"}}
{"timestamp":"2026-01-08 15:26:45","method":"show","message":"Orders fetched","data":{"orders_count":0}}
{"timestamp":"2026-01-08 15:26:45","method":"show","message":"Response data prepared","data":{"orders_count":0,"expenses_count":0,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-08 15:26:46","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"3","method_id":"3"}}
{"timestamp":"2026-01-08 15:26:46","method":"show","message":"Report found","data":{"report_id":3,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:26:46","method":"show","message":"Fetched report IDs from database","data":{"report_id":3,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 15:26:46","method":"show","message":"Checking branch manager access","data":{"report_id":3,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 15:26:46","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 15:26:46","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 15:26:46","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-07 16:00:00","end_date":"2026-01-08 04:00:00"}}
{"timestamp":"2026-01-08 15:26:46","method":"show","message":"Orders fetched","data":{"orders_count":0}}
{"timestamp":"2026-01-08 15:26:46","method":"show","message":"Response data prepared","data":{"orders_count":0,"expenses_count":0,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-08 15:29:56","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"3","method_id":"3"}}
{"timestamp":"2026-01-08 15:29:56","method":"show","message":"Report found","data":{"report_id":3,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:29:56","method":"show","message":"Fetched report IDs from database","data":{"report_id":3,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 15:29:56","method":"show","message":"Checking branch manager access","data":{"report_id":3,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 15:29:56","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 15:29:56","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 15:29:56","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-07 16:00:00","end_date":"2026-01-08 04:00:00"}}
{"timestamp":"2026-01-08 15:29:56","method":"show","message":"Orders fetched","data":{"orders_count":0}}
{"timestamp":"2026-01-08 15:29:56","method":"show","message":"Response data prepared","data":{"orders_count":0,"expenses_count":0,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-08 15:30:51","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"3","method_id":"3"}}
{"timestamp":"2026-01-08 15:30:51","method":"show","message":"Report found","data":{"report_id":3,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:30:51","method":"show","message":"Fetched report IDs from database","data":{"report_id":3,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 15:30:51","method":"show","message":"Checking branch manager access","data":{"report_id":3,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 15:30:51","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 15:30:51","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 15:30:51","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-07 16:00:00","end_date":"2026-01-08 04:00:00"}}
{"timestamp":"2026-01-08 15:30:51","method":"show","message":"Orders fetched","data":{"orders_count":0}}
{"timestamp":"2026-01-08 15:30:51","method":"show","message":"Response data prepared","data":{"orders_count":0,"expenses_count":0,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-08 15:31:18","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"3","method_id":"3"}}
{"timestamp":"2026-01-08 15:31:18","method":"show","message":"Report found","data":{"report_id":3,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:31:18","method":"show","message":"Fetched report IDs from database","data":{"report_id":3,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 15:31:18","method":"show","message":"Checking branch manager access","data":{"report_id":3,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 15:31:18","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 15:31:18","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 15:31:18","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-07 16:00:00","end_date":"2026-01-08 04:00:00"}}
{"timestamp":"2026-01-08 15:31:18","method":"show","message":"Orders fetched","data":{"orders_count":0}}
{"timestamp":"2026-01-08 15:31:18","method":"show","message":"Response data prepared","data":{"orders_count":0,"expenses_count":0,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-08 15:32:49","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"3","method_id":"3"}}
{"timestamp":"2026-01-08 15:32:49","method":"show","message":"Report found","data":{"report_id":3,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:32:49","method":"show","message":"Fetched report IDs from database","data":{"report_id":3,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 15:32:49","method":"show","message":"Checking branch manager access","data":{"report_id":3,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 15:32:49","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 15:32:49","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 15:32:49","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-07 16:00:00","end_date":"2026-01-08 04:00:00"}}
{"timestamp":"2026-01-08 15:32:49","method":"show","message":"Orders fetched","data":{"orders_count":0}}
{"timestamp":"2026-01-08 15:32:49","method":"show","message":"Response data prepared","data":{"orders_count":0,"expenses_count":0,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-08 15:32:50","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"3","method_id":"3"}}
{"timestamp":"2026-01-08 15:32:50","method":"show","message":"Report found","data":{"report_id":3,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:32:50","method":"show","message":"Fetched report IDs from database","data":{"report_id":3,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 15:32:50","method":"show","message":"Checking branch manager access","data":{"report_id":3,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 15:32:50","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 15:32:50","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 15:32:50","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-07 16:00:00","end_date":"2026-01-08 04:00:00"}}
{"timestamp":"2026-01-08 15:32:50","method":"show","message":"Orders fetched","data":{"orders_count":0}}
{"timestamp":"2026-01-08 15:32:50","method":"show","message":"Response data prepared","data":{"orders_count":0,"expenses_count":0,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-08 15:32:57","method":"exportDetails","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"3","method_id":"3"}}
{"timestamp":"2026-01-08 15:32:57","method":"exportDetails","message":"Report found","data":{"report_id":3,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:32:57","method":"exportDetails","message":"Starting export","data":{"report_id":3,"date_str":"2026-01-08"}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"2","method_id":"2"}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Report found","data":{"report_id":2,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Fetched report IDs from database","data":{"report_id":2,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Checking branch manager access","data":{"report_id":2,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-05 16:00:00","end_date":"2026-01-06 03:00:00"}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Orders fetched","data":{"orders_count":6}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Response data prepared","data":{"orders_count":6,"expenses_count":1,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"2","method_id":"2"}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Report found","data":{"report_id":2,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Fetched report IDs from database","data":{"report_id":2,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Checking branch manager access","data":{"report_id":2,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-05 16:00:00","end_date":"2026-01-06 03:00:00"}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Orders fetched","data":{"orders_count":6}}
{"timestamp":"2026-01-08 15:34:22","method":"show","message":"Response data prepared","data":{"orders_count":6,"expenses_count":1,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-08 15:36:30","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08"}}}
{"timestamp":"2026-01-08 15:36:30","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-01-08 15:36:30","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1"}}}
{"timestamp":"2026-01-08 15:36:30","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08"}}}
{"timestamp":"2026-01-08 15:36:30","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-01-08 15:36:30","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1"}}}
{"timestamp":"2026-01-08 15:36:36","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01"}}}
{"timestamp":"2026-01-08 15:36:36","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-01-08 15:36:36","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01"}}}
{"timestamp":"2026-01-08 15:36:41","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00"}}}
{"timestamp":"2026-01-08 15:36:41","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":null}}
{"timestamp":"2026-01-08 15:36:42","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00"}}}
{"timestamp":"2026-01-08 15:36:51","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08"}}}
{"timestamp":"2026-01-08 15:36:51","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":null}}
{"timestamp":"2026-01-08 15:36:51","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08"}}}
{"timestamp":"2026-01-08 15:36:51","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 23:59:59","duration_hours":179}}
{"timestamp":"2026-01-08 15:37:03","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:38"}}}
{"timestamp":"2026-01-08 15:37:03","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:38"}}
{"timestamp":"2026-01-08 15:37:03","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:38"}}}
{"timestamp":"2026-01-08 15:37:03","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:38:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:04","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:39"}}}
{"timestamp":"2026-01-08 15:37:04","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:39"}}
{"timestamp":"2026-01-08 15:37:04","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:39"}}}
{"timestamp":"2026-01-08 15:37:04","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:39:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:04","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:38"}}}
{"timestamp":"2026-01-08 15:37:04","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:38"}}
{"timestamp":"2026-01-08 15:37:04","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:38"}}}
{"timestamp":"2026-01-08 15:37:04","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:38:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:05","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:37"}}}
{"timestamp":"2026-01-08 15:37:05","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:37"}}
{"timestamp":"2026-01-08 15:37:05","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:37"}}}
{"timestamp":"2026-01-08 15:37:05","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:37:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:06","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:36"}}}
{"timestamp":"2026-01-08 15:37:06","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:36"}}
{"timestamp":"2026-01-08 15:37:06","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:36"}}}
{"timestamp":"2026-01-08 15:37:06","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:36:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:06","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:35"}}}
{"timestamp":"2026-01-08 15:37:06","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:35"}}
{"timestamp":"2026-01-08 15:37:06","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:35"}}}
{"timestamp":"2026-01-08 15:37:06","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:35:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:07","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:34"}}}
{"timestamp":"2026-01-08 15:37:07","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:34"}}
{"timestamp":"2026-01-08 15:37:07","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:34"}}}
{"timestamp":"2026-01-08 15:37:07","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:34:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:08","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:33"}}}
{"timestamp":"2026-01-08 15:37:08","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:33"}}
{"timestamp":"2026-01-08 15:37:08","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:33"}}}
{"timestamp":"2026-01-08 15:37:08","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:33:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:08","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:32"}}}
{"timestamp":"2026-01-08 15:37:08","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:32"}}
{"timestamp":"2026-01-08 15:37:08","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:32"}}}
{"timestamp":"2026-01-08 15:37:08","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:32:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:09","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:31"}}}
{"timestamp":"2026-01-08 15:37:09","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:31"}}
{"timestamp":"2026-01-08 15:37:09","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:31"}}}
{"timestamp":"2026-01-08 15:37:09","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:31:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:10","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:30"}}}
{"timestamp":"2026-01-08 15:37:10","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:30"}}
{"timestamp":"2026-01-08 15:37:10","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:30"}}}
{"timestamp":"2026-01-08 15:37:10","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:30:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:10","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:29"}}}
{"timestamp":"2026-01-08 15:37:10","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:29"}}
{"timestamp":"2026-01-08 15:37:10","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:29"}}}
{"timestamp":"2026-01-08 15:37:10","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:29:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:11","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:28"}}}
{"timestamp":"2026-01-08 15:37:11","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:28"}}
{"timestamp":"2026-01-08 15:37:11","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:28"}}}
{"timestamp":"2026-01-08 15:37:11","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:28:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:12","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:27"}}}
{"timestamp":"2026-01-08 15:37:12","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:27"}}
{"timestamp":"2026-01-08 15:37:12","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:27"}}}
{"timestamp":"2026-01-08 15:37:12","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:27:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:12","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:26"}}}
{"timestamp":"2026-01-08 15:37:12","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:26"}}
{"timestamp":"2026-01-08 15:37:12","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:26"}}}
{"timestamp":"2026-01-08 15:37:12","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:26:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:13","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:25"}}}
{"timestamp":"2026-01-08 15:37:13","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:25"}}
{"timestamp":"2026-01-08 15:37:13","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:25"}}}
{"timestamp":"2026-01-08 15:37:13","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:25:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:13","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:24"}}}
{"timestamp":"2026-01-08 15:37:13","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:24"}}
{"timestamp":"2026-01-08 15:37:13","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:24"}}}
{"timestamp":"2026-01-08 15:37:13","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:24:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:14","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:23"}}}
{"timestamp":"2026-01-08 15:37:14","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:23"}}
{"timestamp":"2026-01-08 15:37:14","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:23"}}}
{"timestamp":"2026-01-08 15:37:14","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:23:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:15","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:22"}}}
{"timestamp":"2026-01-08 15:37:15","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:22"}}
{"timestamp":"2026-01-08 15:37:15","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:22"}}}
{"timestamp":"2026-01-08 15:37:15","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:22:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:15","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:21"}}}
{"timestamp":"2026-01-08 15:37:15","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:21"}}
{"timestamp":"2026-01-08 15:37:15","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:21"}}}
{"timestamp":"2026-01-08 15:37:15","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:21:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:16","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:20"}}}
{"timestamp":"2026-01-08 15:37:16","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:20"}}
{"timestamp":"2026-01-08 15:37:16","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:20"}}}
{"timestamp":"2026-01-08 15:37:16","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:20:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:17","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:19"}}}
{"timestamp":"2026-01-08 15:37:17","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:19"}}
{"timestamp":"2026-01-08 15:37:17","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:19"}}}
{"timestamp":"2026-01-08 15:37:17","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:19:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:17","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:18"}}}
{"timestamp":"2026-01-08 15:37:17","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:18"}}
{"timestamp":"2026-01-08 15:37:17","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:18"}}}
{"timestamp":"2026-01-08 15:37:17","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:18:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:18","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:17"}}}
{"timestamp":"2026-01-08 15:37:18","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:17"}}
{"timestamp":"2026-01-08 15:37:18","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:17"}}}
{"timestamp":"2026-01-08 15:37:18","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:17:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:19","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:16"}}}
{"timestamp":"2026-01-08 15:37:19","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:16"}}
{"timestamp":"2026-01-08 15:37:19","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:16"}}}
{"timestamp":"2026-01-08 15:37:19","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:16:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:19","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:15"}}}
{"timestamp":"2026-01-08 15:37:19","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:15"}}
{"timestamp":"2026-01-08 15:37:19","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:15"}}}
{"timestamp":"2026-01-08 15:37:19","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:15:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:20","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:14"}}}
{"timestamp":"2026-01-08 15:37:20","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:14"}}
{"timestamp":"2026-01-08 15:37:20","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:14"}}}
{"timestamp":"2026-01-08 15:37:20","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:14:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:20","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:13"}}}
{"timestamp":"2026-01-08 15:37:20","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:13"}}
{"timestamp":"2026-01-08 15:37:20","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:13"}}}
{"timestamp":"2026-01-08 15:37:20","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:13:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:21","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:12"}}}
{"timestamp":"2026-01-08 15:37:21","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:12"}}
{"timestamp":"2026-01-08 15:37:21","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:12"}}}
{"timestamp":"2026-01-08 15:37:21","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:12:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:21","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:11"}}}
{"timestamp":"2026-01-08 15:37:21","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:11"}}
{"timestamp":"2026-01-08 15:37:22","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:11"}}}
{"timestamp":"2026-01-08 15:37:22","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:11:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:22","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:10"}}}
{"timestamp":"2026-01-08 15:37:22","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:10"}}
{"timestamp":"2026-01-08 15:37:22","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:10"}}}
{"timestamp":"2026-01-08 15:37:22","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:10:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:23","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:09"}}}
{"timestamp":"2026-01-08 15:37:23","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:09"}}
{"timestamp":"2026-01-08 15:37:23","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:09"}}}
{"timestamp":"2026-01-08 15:37:23","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:09:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:23","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:08"}}}
{"timestamp":"2026-01-08 15:37:23","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:08"}}
{"timestamp":"2026-01-08 15:37:23","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:08"}}}
{"timestamp":"2026-01-08 15:37:23","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:08:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:24","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:07"}}}
{"timestamp":"2026-01-08 15:37:24","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:07"}}
{"timestamp":"2026-01-08 15:37:24","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:07"}}}
{"timestamp":"2026-01-08 15:37:24","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:07:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:24","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:06"}}}
{"timestamp":"2026-01-08 15:37:24","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:06"}}
{"timestamp":"2026-01-08 15:37:24","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:06"}}}
{"timestamp":"2026-01-08 15:37:24","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:06:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:25","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:07"}}}
{"timestamp":"2026-01-08 15:37:25","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:07"}}
{"timestamp":"2026-01-08 15:37:25","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:07"}}}
{"timestamp":"2026-01-08 15:37:25","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:07:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:26","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:08"}}}
{"timestamp":"2026-01-08 15:37:26","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:08"}}
{"timestamp":"2026-01-08 15:37:26","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:08"}}}
{"timestamp":"2026-01-08 15:37:26","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:08:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:26","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:07"}}}
{"timestamp":"2026-01-08 15:37:26","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:07"}}
{"timestamp":"2026-01-08 15:37:26","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:07"}}}
{"timestamp":"2026-01-08 15:37:26","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:07:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:27","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:06"}}}
{"timestamp":"2026-01-08 15:37:27","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:06"}}
{"timestamp":"2026-01-08 15:37:27","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:06"}}}
{"timestamp":"2026-01-08 15:37:27","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:06:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:28","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:05"}}}
{"timestamp":"2026-01-08 15:37:28","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:05"}}
{"timestamp":"2026-01-08 15:37:28","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:05"}}}
{"timestamp":"2026-01-08 15:37:28","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:05:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:28","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:04"}}}
{"timestamp":"2026-01-08 15:37:28","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:04"}}
{"timestamp":"2026-01-08 15:37:28","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:04"}}}
{"timestamp":"2026-01-08 15:37:28","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:04:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:29","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:03"}}}
{"timestamp":"2026-01-08 15:37:29","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:03"}}
{"timestamp":"2026-01-08 15:37:29","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:03"}}}
{"timestamp":"2026-01-08 15:37:29","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:03:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:29","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:02"}}}
{"timestamp":"2026-01-08 15:37:29","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:02"}}
{"timestamp":"2026-01-08 15:37:29","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:02"}}}
{"timestamp":"2026-01-08 15:37:29","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:02:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:30","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:01"}}}
{"timestamp":"2026-01-08 15:37:30","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:01"}}
{"timestamp":"2026-01-08 15:37:30","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:01"}}}
{"timestamp":"2026-01-08 15:37:30","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:01:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:37:31","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:00"}}}
{"timestamp":"2026-01-08 15:37:31","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:00"}}
{"timestamp":"2026-01-08 15:37:31","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:00"}}}
{"timestamp":"2026-01-08 15:37:31","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:00:00","duration_hours":169}}
{"timestamp":"2026-01-08 15:38:41","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:00","available_cash":"23720","comments":"test sdfsd","gross_sales":24173.25,"online_card_payments":0,"food_bills_total":0,"expenses_paid":450,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-01-08 15:38:41","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-01-08 15:38:41","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-01-08 15:38:41","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-01-08 15:38:41","method":"store","message":"After time field conversion","data":{"start_time":"12:00","end_time":"13:00"}}
{"timestamp":"2026-01-08 15:38:41","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-01-08","start_date":"2026-01-01","start_time":"12:00","end_date":"2026-01-08","end_time":"13:00","available_cash":"23720","gross_sales":24173.25,"online_card_payments":0,"food_bills_total":0,"expenses_paid":450,"advance_payments":0,"daily_wages":0,"comments":"test sdfsd"}}}
{"timestamp":"2026-01-08 15:38:41","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-01-01 12:00:00","end_date":"2026-01-08 13:00:00","duration_hours":169}}
{"timestamp":"2026-01-08 16:49:33","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-08"}}}
{"timestamp":"2026-01-08 16:49:33","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-01-08 16:49:33","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-08","branch_id":"1"}}}
{"timestamp":"2026-01-08 16:49:33","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","start_date":"2026-01-08 00:00:00","end_date":"2026-01-08 23:59:59","start_timestamp":1767830400,"end_timestamp":1767916799,"gross_sales":0,"order_count":0}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"2","method_id":"2"}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Report found","data":{"report_id":2,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Fetched report IDs from database","data":{"report_id":2,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Checking branch manager access","data":{"report_id":2,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-05 16:00:00","end_date":"2026-01-06 03:00:00"}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Orders fetched","data":{"orders_count":6}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Response data prepared","data":{"orders_count":6,"expenses_count":1,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"2","method_id":"2"}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Report found","data":{"report_id":2,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Fetched report IDs from database","data":{"report_id":2,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Checking branch manager access","data":{"report_id":2,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-05 16:00:00","end_date":"2026-01-06 03:00:00"}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Orders fetched","data":{"orders_count":6}}
{"timestamp":"2026-01-08 16:52:50","method":"show","message":"Response data prepared","data":{"orders_count":6,"expenses_count":1,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-09 10:59:06","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-09"}}}
{"timestamp":"2026-01-09 10:59:06","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-01-09 10:59:06","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-09","branch_id":"1"}}}
{"timestamp":"2026-01-09 10:59:06","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","start_date":"2026-01-09 00:00:00","end_date":"2026-01-09 23:59:59","start_timestamp":1767916800,"end_timestamp":1768003199,"gross_sales":0,"order_count":0}}
{"timestamp":"2026-01-09 10:59:23","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-09","start_date":"2026-01-08"}}}
{"timestamp":"2026-01-09 10:59:23","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-01-09 10:59:23","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-09","branch_id":"1","start_date":"2026-01-08"}}}
{"timestamp":"2026-01-09 10:59:23","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","start_date":"2026-01-09 00:00:00","end_date":"2026-01-09 23:59:59","start_timestamp":1767916800,"end_timestamp":1768003199,"gross_sales":0,"order_count":0}}
{"timestamp":"2026-01-09 10:59:43","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-09","start_date":"2026-01-08","start_time":"16:00"}}}
{"timestamp":"2026-01-09 10:59:43","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"16:00","end_time":null}}
{"timestamp":"2026-01-09 10:59:43","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-09","branch_id":"1","start_date":"2026-01-08","start_time":"16:00"}}}
{"timestamp":"2026-01-09 10:59:43","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","start_date":"2026-01-09 00:00:00","end_date":"2026-01-09 23:59:59","start_timestamp":1767916800,"end_timestamp":1768003199,"gross_sales":0,"order_count":0}}
{"timestamp":"2026-01-09 10:59:50","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-09","start_date":"2026-01-08","start_time":"16:00","end_date":"2026-01-09"}}}
{"timestamp":"2026-01-09 10:59:50","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"16:00","end_time":null}}
{"timestamp":"2026-01-09 10:59:50","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-09","branch_id":"1","start_date":"2026-01-08","start_time":"16:00","end_date":"2026-01-09"}}}
{"timestamp":"2026-01-09 10:59:50","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-08 16:00:00","end_date":"2026-01-09 23:59:59","duration_hours":31}}
{"timestamp":"2026-01-09 10:59:50","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","start_date":"2026-01-08 16:00:00","end_date":"2026-01-09 23:59:59","start_timestamp":1767888000,"end_timestamp":1768003199,"gross_sales":0,"order_count":0}}
{"timestamp":"2026-01-09 11:00:04","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-09","start_date":"2026-01-08","start_time":"16:00","end_date":"2026-01-09","end_time":"03:01"}}}
{"timestamp":"2026-01-09 11:00:04","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"16:00","end_time":"03:01"}}
{"timestamp":"2026-01-09 11:00:04","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-09","branch_id":"1","start_date":"2026-01-08","start_time":"16:00","end_date":"2026-01-09","end_time":"03:01"}}}
{"timestamp":"2026-01-09 11:00:04","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-08 16:00:00","end_date":"2026-01-09 03:01:00","duration_hours":11}}
{"timestamp":"2026-01-09 11:00:04","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","start_date":"2026-01-08 16:00:00","end_date":"2026-01-09 03:01:00","start_timestamp":1767888000,"end_timestamp":1767927660,"gross_sales":0,"order_count":0}}
{"timestamp":"2026-01-09 11:00:06","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-01-09","start_date":"2026-01-08","start_time":"16:00","end_date":"2026-01-09","end_time":"03:00"}}}
{"timestamp":"2026-01-09 11:00:06","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"16:00","end_time":"03:00"}}
{"timestamp":"2026-01-09 11:00:06","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-01-09","branch_id":"1","start_date":"2026-01-08","start_time":"16:00","end_date":"2026-01-09","end_time":"03:00"}}}
{"timestamp":"2026-01-09 11:00:06","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-01-08 16:00:00","end_date":"2026-01-09 03:00:00","duration_hours":11}}
{"timestamp":"2026-01-09 11:00:06","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","start_date":"2026-01-08 16:00:00","end_date":"2026-01-09 03:00:00","start_timestamp":1767888000,"end_timestamp":1767927600,"gross_sales":0,"order_count":0}}
{"timestamp":"2026-01-09 11:00:29","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-01-09","start_date":"2026-01-08","start_time":"16:00","end_date":"2026-01-09","end_time":"03:00","available_cash":"150000","comments":"","gross_sales":200000,"online_card_payments":0,"food_bills_total":0,"expenses_paid":50000,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-01-09 11:00:29","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-01-09 11:00:29","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-01-09 11:00:29","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-01-09 11:00:29","method":"store","message":"After time field conversion","data":{"start_time":"16:00","end_time":"03:00"}}
{"timestamp":"2026-01-09 11:00:29","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-01-09","start_date":"2026-01-08","start_time":"16:00","end_date":"2026-01-09","end_time":"03:00","available_cash":"150000","gross_sales":200000,"online_card_payments":0,"food_bills_total":0,"expenses_paid":50000,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-01-09 11:00:29","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-01-08 16:00:00","end_date":"2026-01-09 03:00:00","duration_hours":11}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"4","method_id":"4"}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Report found","data":{"report_id":4,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Fetched report IDs from database","data":{"report_id":4,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Checking branch manager access","data":{"report_id":4,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-08 16:00:00","end_date":"2026-01-09 03:00:00"}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Orders fetched","data":{"orders_count":0}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Response data prepared","data":{"orders_count":0,"expenses_count":0,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"4","method_id":"4"}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Report found","data":{"report_id":4,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Fetched report IDs from database","data":{"report_id":4,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Checking branch manager access","data":{"report_id":4,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-08 16:00:00","end_date":"2026-01-09 03:00:00"}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Orders fetched","data":{"orders_count":0}}
{"timestamp":"2026-01-09 11:07:55","method":"show","message":"Response data prepared","data":{"orders_count":0,"expenses_count":0,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-02-11 13:42:14","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-11"}}}
{"timestamp":"2026-02-11 13:42:14","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-11 13:42:14","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-11","branch_id":"1"}}}
{"timestamp":"2026-02-11 13:42:14","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","start_date":"2026-02-11 00:00:00","end_date":"2026-02-11 23:59:59","start_timestamp":1770768000,"end_timestamp":1770854399,"gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-25 06:04:14","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-25"}}}
{"timestamp":"2026-02-25 06:04:14","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:04:14","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-25","branch_id":"1"}}}
{"timestamp":"2026-02-25 06:04:14","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-25","start_date":"2026-02-25 00:00:00","end_date":"2026-02-25 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-25 06:04:25","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-25","start_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:04:25","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:04:25","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-25","branch_id":"1","start_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:04:25","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-25","start_date":"2026-02-25 00:00:00","end_date":"2026-02-25 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-25 06:04:27","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24","start_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:04:27","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:04:27","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1","start_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:04:27","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"12122.00","order_count":11}}
{"timestamp":"2026-02-25 06:04:29","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:04:29","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:04:29","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:04:29","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-25 06:04:29","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"46451.00","order_count":25}}
{"timestamp":"2026-02-25 06:04:32","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:04:32","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:04:32","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:04:32","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-25 06:04:32","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"46451.00","order_count":25}}
{"timestamp":"2026-02-25 06:37:13","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-25"}}}
{"timestamp":"2026-02-25 06:37:13","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:37:13","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-25","branch_id":"1"}}}
{"timestamp":"2026-02-25 06:37:13","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-25","start_date":"2026-02-25 00:00:00","end_date":"2026-02-25 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-25 06:37:21","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:37:21","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:37:21","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1"}}}
{"timestamp":"2026-02-25 06:37:21","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"12122.00","order_count":11}}
{"timestamp":"2026-02-25 06:37:22","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24","start_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:37:22","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:37:22","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1","start_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:37:22","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"12122.00","order_count":11}}
{"timestamp":"2026-02-25 06:37:25","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:37:25","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:37:25","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:37:25","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-25 06:37:25","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"46451.00","order_count":25}}
{"timestamp":"2026-02-25 06:37:48","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:37:48","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:37:48","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:37:48","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-25 06:37:48","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-18","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"46451.00","order_count":25}}
{"timestamp":"2026-02-25 06:37:54","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-18","end_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:37:54","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:37:54","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-18","end_date":"2026-02-24"}}}
{"timestamp":"2026-02-25 06:37:54","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-24 23:59:59","duration_hours":167}}
{"timestamp":"2026-02-25 06:37:54","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"338002.00","order_count":156}}
{"timestamp":"2026-02-25 06:37:57","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-25 06:37:57","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 06:37:57","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-25 06:37:57","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-25 06:37:57","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35438.00","order_count":19}}
{"timestamp":"2026-02-25 11:30:45","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-25"}}}
{"timestamp":"2026-02-25 11:30:45","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 11:30:45","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-25","branch_id":"1"}}}
{"timestamp":"2026-02-25 11:30:45","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-25","start_date":"2026-02-25 00:00:00","end_date":"2026-02-25 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-25 11:30:54","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-19"}}}
{"timestamp":"2026-02-25 11:30:54","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 11:30:54","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-19","branch_id":"1"}}}
{"timestamp":"2026-02-25 11:30:54","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-19","start_date":"2026-02-19 00:00:00","end_date":"2026-02-19 23:59:59","gross_sales":"40047.00","order_count":21}}
{"timestamp":"2026-02-25 11:30:58","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-19","start_date":"2026-02-19"}}}
{"timestamp":"2026-02-25 11:30:58","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 11:30:58","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-19","branch_id":"1","start_date":"2026-02-19"}}}
{"timestamp":"2026-02-25 11:30:58","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-19","start_date":"2026-02-19 00:00:00","end_date":"2026-02-19 23:59:59","gross_sales":"40047.00","order_count":21}}
{"timestamp":"2026-02-25 11:31:02","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-19","start_date":"2026-02-19","end_date":"2026-02-19"}}}
{"timestamp":"2026-02-25 11:31:02","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-25 11:31:02","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-19","branch_id":"1","start_date":"2026-02-19","end_date":"2026-02-19"}}}
{"timestamp":"2026-02-25 11:31:02","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-19 00:00:00","end_date":"2026-02-19 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-25 11:31:02","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-19","start_date":"2026-02-19 00:00:00","end_date":"2026-02-19 23:59:59","gross_sales":"40146.00","order_count":22}}
{"timestamp":"2026-02-26 05:01:28","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-26"}}}
{"timestamp":"2026-02-26 05:01:28","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:01:28","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-26","branch_id":"1"}}}
{"timestamp":"2026-02-26 05:01:28","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-26","start_date":"2026-02-26 00:00:00","end_date":"2026-02-26 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-26 05:01:30","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18"}}}
{"timestamp":"2026-02-26 05:01:30","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:01:30","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1"}}}
{"timestamp":"2026-02-26 05:01:30","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35537.00","order_count":20}}
{"timestamp":"2026-02-26 05:01:33","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-18"}}}
{"timestamp":"2026-02-26 05:01:33","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:01:33","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-18"}}}
{"timestamp":"2026-02-26 05:01:33","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35537.00","order_count":20}}
{"timestamp":"2026-02-26 05:01:37","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-26 05:01:37","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:01:37","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-26 05:01:37","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-26 05:01:37","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35438.00","order_count":19}}
{"timestamp":"2026-02-26 05:04:11","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-26 05:04:11","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:04:11","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-26 05:04:11","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-26 05:04:11","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35438.00","order_count":19}}
{"timestamp":"2026-02-26 05:04:30","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-02-18","start_date":"2026-02-18","start_time":"","end_date":"2026-02-18","end_time":"","available_cash":"30920","comments":"","gross_sales":35438,"online_card_payments":30930,"food_bills_total":899,"expenses_paid":0,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-02-26 05:04:30","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-02-26 05:04:30","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-02-26 05:04:30","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-02-26 05:04:30","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-02-26 05:04:30","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-02-26 05:04:30","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:04:30","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-02-18","start_date":"2026-02-18","start_time":null,"end_date":"2026-02-18","end_time":null,"available_cash":"30920","gross_sales":35438,"online_card_payments":30930,"food_bills_total":899,"expenses_paid":0,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-02-26 05:04:30","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-26 05:04:34","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-26"}}}
{"timestamp":"2026-02-26 05:04:34","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:04:34","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-26","branch_id":"1"}}}
{"timestamp":"2026-02-26 05:04:34","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-26","start_date":"2026-02-26 00:00:00","end_date":"2026-02-26 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-26 05:25:55","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-26"}}}
{"timestamp":"2026-02-26 05:25:55","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:25:55","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-26","branch_id":"1"}}}
{"timestamp":"2026-02-26 05:25:55","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-26","start_date":"2026-02-26 00:00:00","end_date":"2026-02-26 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-26 05:25:58","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18"}}}
{"timestamp":"2026-02-26 05:25:58","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:25:58","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1"}}}
{"timestamp":"2026-02-26 05:25:58","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35537.00","order_count":20}}
{"timestamp":"2026-02-26 05:26:09","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-18","end_date":"2026-02-17"}}}
{"timestamp":"2026-02-26 05:26:09","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:26:09","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-18","end_date":"2026-02-17"}}}
{"timestamp":"2026-02-26 05:26:09","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-17 23:59:59"}}
{"timestamp":"2026-02-26 05:26:14","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-26 05:26:14","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-26 05:26:14","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-26 05:26:14","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-26 05:26:14","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35438.00","order_count":19}}
{"timestamp":"2026-02-27 05:16:57","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-27"}}}
{"timestamp":"2026-02-27 05:16:57","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:16:57","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-27","branch_id":"1"}}}
{"timestamp":"2026-02-27 05:16:57","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-27","start_date":"2026-02-27 00:00:00","end_date":"2026-02-27 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-27 05:17:00","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:17:00","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:17:00","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1"}}}
{"timestamp":"2026-02-27 05:17:00","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35537.00","order_count":20}}
{"timestamp":"2026-02-27 05:17:03","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:17:03","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:17:03","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:17:03","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35537.00","order_count":20}}
{"timestamp":"2026-02-27 05:17:06","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:17:06","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:17:06","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:17:06","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-27 05:17:06","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35438.00","order_count":19}}
{"timestamp":"2026-02-27 05:21:48","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-18","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:21:48","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:21:49","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-18","branch_id":"1","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:21:49","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-27 05:21:49","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-18","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35438.00","order_count":19}}
{"timestamp":"2026-02-27 05:22:47","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-02-18","start_date":"2026-02-18","start_time":"","end_date":"2026-02-18","end_time":"","available_cash":"30920","comments":"","gross_sales":35438,"online_card_payments":3580,"food_bills_total":899,"expenses_paid":0,"advance_payments":0,"daily_wages":0.0200000000000000004163336342344337026588618755340576171875}}}
{"timestamp":"2026-02-27 05:22:47","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-02-27 05:22:47","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-02-27 05:22:47","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-02-27 05:22:47","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-02-27 05:22:47","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-02-27 05:22:47","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:22:47","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-02-18","start_date":"2026-02-18","start_time":null,"end_date":"2026-02-18","end_time":null,"available_cash":"30920","gross_sales":35438,"online_card_payments":3580,"food_bills_total":899,"expenses_paid":0,"advance_payments":0,"daily_wages":0.0200000000000000004163336342344337026588618755340576171875,"comments":""}}}
{"timestamp":"2026-02-27 05:22:47","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-27 05:22:56","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-19","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:22:56","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:22:56","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-19","branch_id":"1","start_date":"2026-02-18","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:22:56","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-27 05:22:56","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-19","start_date":"2026-02-18 00:00:00","end_date":"2026-02-18 23:59:59","gross_sales":"35438.00","order_count":19}}
{"timestamp":"2026-02-27 05:22:57","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-19","start_date":"2026-02-19","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:22:57","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:22:57","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-19","branch_id":"1","start_date":"2026-02-19","end_date":"2026-02-18"}}}
{"timestamp":"2026-02-27 05:22:57","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-19 00:00:00","end_date":"2026-02-18 23:59:59"}}
{"timestamp":"2026-02-27 05:23:02","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-19","start_date":"2026-02-19","end_date":"2026-02-19"}}}
{"timestamp":"2026-02-27 05:23:02","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:23:02","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-19","branch_id":"1","start_date":"2026-02-19","end_date":"2026-02-19"}}}
{"timestamp":"2026-02-27 05:23:02","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-19 00:00:00","end_date":"2026-02-19 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-27 05:23:02","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-19","start_date":"2026-02-19 00:00:00","end_date":"2026-02-19 23:59:59","gross_sales":"40146.00","order_count":22}}
{"timestamp":"2026-02-27 05:24:38","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-02-19","start_date":"2026-02-19","start_time":"","end_date":"2026-02-19","end_time":"","available_cash":"27925","comments":"","gross_sales":40146,"online_card_payments":12221,"food_bills_total":0,"expenses_paid":0,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-02-27 05:24:38","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-02-27 05:24:38","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-02-27 05:24:38","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-02-27 05:24:38","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-02-27 05:24:38","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-02-27 05:24:38","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:24:38","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-02-19","start_date":"2026-02-19","start_time":null,"end_date":"2026-02-19","end_time":null,"available_cash":"27925","gross_sales":40146,"online_card_payments":12221,"food_bills_total":0,"expenses_paid":0,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-02-27 05:24:38","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-19 00:00:00","end_date":"2026-02-19 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-27 05:24:43","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-27"}}}
{"timestamp":"2026-02-27 05:24:43","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:24:43","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-27","branch_id":"1"}}}
{"timestamp":"2026-02-27 05:24:43","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-27","start_date":"2026-02-27 00:00:00","end_date":"2026-02-27 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-27 05:24:56","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-20"}}}
{"timestamp":"2026-02-27 05:24:56","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:24:56","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-20","branch_id":"1"}}}
{"timestamp":"2026-02-27 05:24:56","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-20","start_date":"2026-02-20 00:00:00","end_date":"2026-02-20 23:59:59","gross_sales":"78473.00","order_count":25}}
{"timestamp":"2026-02-27 05:24:58","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-20","start_date":"2026-02-20"}}}
{"timestamp":"2026-02-27 05:24:58","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:24:58","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-20","branch_id":"1","start_date":"2026-02-20"}}}
{"timestamp":"2026-02-27 05:24:58","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-20","start_date":"2026-02-20 00:00:00","end_date":"2026-02-20 23:59:59","gross_sales":"78473.00","order_count":25}}
{"timestamp":"2026-02-27 05:24:59","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-20","start_date":"2026-02-20","end_date":"2026-02-20"}}}
{"timestamp":"2026-02-27 05:24:59","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:24:59","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-20","branch_id":"1","start_date":"2026-02-20","end_date":"2026-02-20"}}}
{"timestamp":"2026-02-27 05:24:59","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-20 00:00:00","end_date":"2026-02-20 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-27 05:24:59","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-20","start_date":"2026-02-20 00:00:00","end_date":"2026-02-20 23:59:59","gross_sales":"78303.00","order_count":24}}
{"timestamp":"2026-02-27 05:26:18","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-02-20","start_date":"2026-02-20","start_time":"","end_date":"2026-02-20","end_time":"","available_cash":"22788","comments":"","gross_sales":78303,"online_card_payments":46238,"food_bills_total":9447,"expenses_paid":0,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-02-27 05:26:18","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-02-27 05:26:18","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-02-27 05:26:18","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-02-27 05:26:18","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-02-27 05:26:18","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-02-27 05:26:18","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:26:18","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-02-20","start_date":"2026-02-20","start_time":null,"end_date":"2026-02-20","end_time":null,"available_cash":"22788","gross_sales":78303,"online_card_payments":46238,"food_bills_total":9447,"expenses_paid":0,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-02-27 05:26:18","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-20 00:00:00","end_date":"2026-02-20 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-27 05:26:35","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-27"}}}
{"timestamp":"2026-02-27 05:26:35","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:26:35","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-27","branch_id":"1"}}}
{"timestamp":"2026-02-27 05:26:35","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-27","start_date":"2026-02-27 00:00:00","end_date":"2026-02-27 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-21","start_date":"2026-02-21","end_date":"2026-02-21"}}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-21","branch_id":"1","start_date":"2026-02-21","end_date":"2026-02-21"}}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-21 00:00:00","end_date":"2026-02-21 23:59:59","duration_hours":23}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-21","start_date":"2026-02-21"}}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-21","start_date":"2026-02-21 00:00:00","end_date":"2026-02-21 23:59:59","gross_sales":"40513.00","order_count":20}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-21"}}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-21","branch_id":"1","start_date":"2026-02-21"}}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-21","start_date":"2026-02-21 00:00:00","end_date":"2026-02-21 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-21","branch_id":"1"}}}
{"timestamp":"2026-02-27 05:26:50","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-21","start_date":"2026-02-21 00:00:00","end_date":"2026-02-21 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-02-27 05:28:16","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-02-21","start_date":"2026-02-21","start_time":"","end_date":"2026-02-21","end_time":"","available_cash":"14010","comments":"","gross_sales":40343,"online_card_payments":25333,"food_bills_total":1000,"expenses_paid":0,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-02-27 05:28:16","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-02-27 05:28:16","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-02-27 05:28:16","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-02-27 05:28:16","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-02-27 05:28:16","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-02-27 05:28:16","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-02-27 05:28:16","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-02-21","start_date":"2026-02-21","start_time":null,"end_date":"2026-02-21","end_time":null,"available_cash":"14010","gross_sales":40343,"online_card_payments":25333,"food_bills_total":1000,"expenses_paid":0,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-02-27 05:28:16","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-21 00:00:00","end_date":"2026-02-21 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 05:55:44","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 05:55:44","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:55:44","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 05:55:44","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 05:56:10","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-09"}}}
{"timestamp":"2026-03-09 05:56:10","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:56:10","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 05:56:10","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-09","start_date":"2026-02-09 00:00:00","end_date":"2026-02-09 23:59:59","gross_sales":"150178.98","order_count":45}}
{"timestamp":"2026-03-09 05:56:15","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23"}}}
{"timestamp":"2026-03-09 05:56:15","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:56:15","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1"}}}
{"timestamp":"2026-03-09 05:56:15","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-23","start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 05:56:19","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 05:56:19","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:56:19","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 05:56:19","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-23","start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 05:56:20","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 05:56:20","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:56:20","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 05:56:20","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-23","start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 05:56:23","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 05:56:23","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:56:23","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 05:56:23","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-23 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 05:56:34","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23","end_date":"2025-12-09"}}}
{"timestamp":"2026-03-09 05:56:34","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:56:34","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23","end_date":"2025-12-09"}}}
{"timestamp":"2026-03-09 05:56:34","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-23 00:00:00","end_date":"2025-12-09 23:59:59"}}
{"timestamp":"2026-03-09 05:56:39","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23","end_date":"2026-01-09"}}}
{"timestamp":"2026-03-09 05:56:39","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:56:39","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23","end_date":"2026-01-09"}}}
{"timestamp":"2026-03-09 05:56:39","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-23 00:00:00","end_date":"2026-01-09 23:59:59"}}
{"timestamp":"2026-03-09 05:56:39","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 05:56:39","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:56:39","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 05:56:39","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-23 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 05:56:46","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23","end_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 05:56:46","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:56:46","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23","end_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 05:56:46","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 05:56:46","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-23","start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","gross_sales":"55501.00","order_count":24}}
{"timestamp":"2026-03-09 05:58:01","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23","end_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 05:58:01","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 05:58:01","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23","end_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 05:58:01","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 05:58:01","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-23","start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","gross_sales":"55501.00","order_count":24}}
{"timestamp":"2026-03-09 06:01:03","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 06:01:03","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:01:03","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 06:01:03","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:01:07","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:01:07","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:01:07","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 06:01:07","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-09","start_date":"2026-02-09 00:00:00","end_date":"2026-02-09 23:59:59","gross_sales":"150178.98","order_count":45}}
{"timestamp":"2026-03-09 06:01:09","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23"}}}
{"timestamp":"2026-03-09 06:01:09","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:01:09","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1"}}}
{"timestamp":"2026-03-09 06:01:09","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-23","start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:01:10","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:01:10","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:01:10","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:01:10","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-23","start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:01:11","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 06:01:11","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:01:11","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 06:01:11","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-23","start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:01:14","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:01:14","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:01:14","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:01:14","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-23 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 06:01:19","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23","end_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 06:01:19","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:01:19","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23","end_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 06:01:19","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 06:01:19","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-23","start_date":"2026-02-23 00:00:00","end_date":"2026-02-23 23:59:59","gross_sales":"55501.00","order_count":24}}
{"timestamp":"2026-03-09 06:02:20","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-23","start_date":"2026-02-23","start_time":"00:02","end_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 06:02:20","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":"00:02","end_time":null}}
{"timestamp":"2026-03-09 06:02:20","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-23","branch_id":"1","start_date":"2026-02-23","start_time":"00:02","end_date":"2026-02-23"}}}
{"timestamp":"2026-03-09 06:02:20","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-23 00:02:00","end_date":"2026-02-23 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 06:02:20","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-23","start_date":"2026-02-23 00:02:00","end_date":"2026-02-23 23:59:59","gross_sales":"55501.00","order_count":24}}
{"timestamp":"2026-03-09 06:02:30","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-02-23","start_date":"2026-02-23","start_time":"00:02","end_date":"2026-02-23","end_time":"","available_cash":"39581","comments":"","gross_sales":55501,"online_card_payments":16911,"food_bills_total":0,"expenses_paid":0,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 06:02:30","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 06:02:30","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 06:02:30","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 06:02:30","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 06:02:30","method":"store","message":"After time field conversion","data":{"start_time":"00:02","end_time":null}}
{"timestamp":"2026-03-09 06:02:30","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-02-23","start_date":"2026-02-23","start_time":"00:02","end_date":"2026-02-23","end_time":null,"available_cash":"39581","gross_sales":55501,"online_card_payments":16911,"food_bills_total":0,"expenses_paid":0,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 06:02:30","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-23 00:02:00","end_date":"2026-02-23 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 06:02:37","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 06:02:37","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:02:37","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 06:02:37","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:02:47","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:02:47","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:02:47","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:02:47","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:02:49","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 06:02:49","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:02:49","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 06:02:49","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:02:53","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:02:53","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:02:53","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:02:53","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 06:03:03","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24","end_date":"2026-01-09"}}}
{"timestamp":"2026-03-09 06:03:03","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:03:03","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24","end_date":"2026-01-09"}}}
{"timestamp":"2026-03-09 06:03:03","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-01-09 23:59:59"}}
{"timestamp":"2026-03-09 06:03:07","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24","end_date":"2025-12-09"}}}
{"timestamp":"2026-03-09 06:03:07","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:03:07","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24","end_date":"2025-12-09"}}}
{"timestamp":"2026-03-09 06:03:07","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-24 00:00:00","end_date":"2025-12-09 23:59:59"}}
{"timestamp":"2026-03-09 06:03:11","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24","end_date":"2025-11-09"}}}
{"timestamp":"2026-03-09 06:03:11","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:03:11","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24","end_date":"2025-11-09"}}}
{"timestamp":"2026-03-09 06:03:11","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-24 00:00:00","end_date":"2025-11-09 23:59:59"}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24","end_date":"2026-01-09"}}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24","end_date":"2026-01-09"}}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-01-09 23:59:59"}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24","end_date":"2025-12-09"}}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24","end_date":"2025-12-09"}}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-24 00:00:00","end_date":"2025-12-09 23:59:59"}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:03:20","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 06:03:21","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24","end_date":"2026-03-09"}}}
{"timestamp":"2026-03-09 06:03:21","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:03:21","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24","end_date":"2026-03-09"}}}
{"timestamp":"2026-03-09 06:03:21","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-03-09 23:59:59","duration_hours":335}}
{"timestamp":"2026-03-09 06:03:21","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-09","start_date":"2026-02-24 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":"910987.49","order_count":344}}
{"timestamp":"2026-03-09 06:03:27","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:03:27","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:03:27","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:03:27","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 06:03:33","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 06:03:33","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:03:33","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 06:03:33","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 06:03:33","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-09","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"46451.00","order_count":25}}
{"timestamp":"2026-03-09 06:17:39","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-09","start_date":"2026-02-24","start_time":"","end_date":"2026-02-24","end_time":"","available_cash":"0.04","comments":"","gross_sales":46451,"online_card_payments":13122,"food_bills_total":12720,"expenses_paid":19480,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 06:17:39","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 06:17:39","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 06:17:39","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 06:17:39","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 06:17:39","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 06:17:39","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:17:39","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-09","start_date":"2026-02-24","start_time":null,"end_date":"2026-02-24","end_time":null,"available_cash":"0.04","gross_sales":46451,"online_card_payments":13122,"food_bills_total":12720,"expenses_paid":19480,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 06:17:39","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 06:17:41","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 06:17:41","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:17:41","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 06:17:41","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:17:46","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:17:46","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:17:46","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:17:46","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:17:49","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-25"}}}
{"timestamp":"2026-03-09 06:17:49","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:17:49","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-25"}}}
{"timestamp":"2026-03-09 06:17:49","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:17:52","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-25","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:17:52","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:17:52","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-25","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:17:52","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-25 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 06:18:00","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-02-25","end_date":"2026-02-25"}}}
{"timestamp":"2026-03-09 06:18:00","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:18:00","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-02-25","end_date":"2026-02-25"}}}
{"timestamp":"2026-03-09 06:18:00","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-25 00:00:00","end_date":"2026-02-25 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 06:18:00","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-09","start_date":"2026-02-25 00:00:00","end_date":"2026-02-25 23:59:59","gross_sales":"103754.00","order_count":41}}
{"timestamp":"2026-03-09 06:21:53","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 06:21:53","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:21:53","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 06:21:53","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:22:05","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24"}}}
{"timestamp":"2026-03-09 06:22:05","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:22:05","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1"}}}
{"timestamp":"2026-03-09 06:22:05","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"12122.00","order_count":11}}
{"timestamp":"2026-03-09 06:22:12","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:22:12","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:22:12","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 06:22:12","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"12122.00","order_count":11}}
{"timestamp":"2026-03-09 06:22:12","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24","start_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 06:22:12","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:22:12","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1","start_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 06:22:12","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"12122.00","order_count":11}}
{"timestamp":"2026-03-09 06:22:16","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24","start_date":"2026-02-24","end_date":"2026-03-24"}}}
{"timestamp":"2026-03-09 06:22:16","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:22:16","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1","start_date":"2026-02-24","end_date":"2026-03-24"}}}
{"timestamp":"2026-03-09 06:22:16","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-03-24 23:59:59","duration_hours":695}}
{"timestamp":"2026-03-09 06:22:16","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-03-24 23:59:59","gross_sales":"910987.49","order_count":344}}
{"timestamp":"2026-03-09 06:22:57","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-24","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 06:22:57","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:22:57","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-24","branch_id":"1","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 06:22:57","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 06:22:57","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-02-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"46451.00","order_count":25}}
{"timestamp":"2026-03-09 06:29:34","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 06:29:34","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:29:34","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 06:29:34","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:30:27","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 06:30:27","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:30:27","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 06:30:27","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:30:28","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-03-08","end_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 06:30:28","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:30:28","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-03-08","end_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 06:30:28","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-08 00:00:00","end_date":"2026-03-08 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 06:30:28","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-09","start_date":"2026-03-08 00:00:00","end_date":"2026-03-08 23:59:59","gross_sales":"59754.00","order_count":23}}
{"timestamp":"2026-03-09 06:49:43","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 06:49:43","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:49:43","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 06:49:43","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:49:47","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09","start_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 06:49:47","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:49:47","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1","start_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 06:49:47","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 06:49:52","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-08","start_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 06:49:52","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:49:52","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-08","branch_id":"1","start_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 06:49:52","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-08","start_date":"2026-03-08 00:00:00","end_date":"2026-03-08 23:59:59","gross_sales":"9903.00","order_count":10}}
{"timestamp":"2026-03-09 06:49:54","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-08","start_date":"2026-03-08","end_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 06:49:54","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:49:54","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-08","branch_id":"1","start_date":"2026-03-08","end_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 06:49:54","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-08 00:00:00","end_date":"2026-03-08 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 06:49:54","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-08","start_date":"2026-03-08 00:00:00","end_date":"2026-03-08 23:59:59","gross_sales":"59754.00","order_count":23}}
{"timestamp":"2026-03-09 06:53:11","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-08","start_date":"2026-03-08","start_time":"","end_date":"2026-03-08","end_time":"","available_cash":"4500","comments":"","gross_sales":59754,"online_card_payments":13916,"food_bills_total":17110,"expenses_paid":24140,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 06:53:11","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 06:53:11","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 06:53:11","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 06:53:11","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 06:53:11","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 06:53:11","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 06:53:11","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-08","start_date":"2026-03-08","start_time":null,"end_date":"2026-03-08","end_time":null,"available_cash":"4500","gross_sales":59754,"online_card_payments":13916,"food_bills_total":17110,"expenses_paid":24140,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 06:53:11","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-03-08 00:00:00","end_date":"2026-03-08 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:38:25","method":"destroy","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"19","method_id":"19"}}
{"timestamp":"2026-03-09 07:38:25","method":"destroy","message":"Report found","data":{"report_id":19,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-03-09 07:38:25","method":"destroy","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:38:25","method":"destroy","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:38:25","method":"destroy","message":"Fetched report IDs from database","data":{"report_id":19,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-03-09 07:38:25","method":"destroy","message":"Checking branch manager access","data":{"report_branch_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:38:25","method":"destroy","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-03-09 07:38:25","method":"destroy","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-03-09 07:38:25","method":"destroy","message":"Deleting report","data":{"report_id":19}}
{"timestamp":"2026-03-09 07:38:25","method":"destroy","message":"Report deleted successfully","data":{"report_id":19}}
{"timestamp":"2026-03-09 07:38:32","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:38:32","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:38:32","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:38:32","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:38:36","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-24"}}}
{"timestamp":"2026-03-09 07:38:36","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:38:36","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-24","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:38:36","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-24","start_date":"2026-03-24 00:00:00","end_date":"2026-03-24 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:38:39","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-24","start_date":"2026-03-24"}}}
{"timestamp":"2026-03-09 07:38:39","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:38:39","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-24","branch_id":"1","start_date":"2026-03-24"}}}
{"timestamp":"2026-03-09 07:38:39","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-24","start_date":"2026-03-24 00:00:00","end_date":"2026-03-24 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:38:42","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-24","start_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 07:38:42","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:38:42","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-24","branch_id":"1","start_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 07:38:42","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-24","start_date":"2026-03-24 00:00:00","end_date":"2026-03-24 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:38:45","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-24","start_date":"2026-02-24","end_date":"2026-03-24"}}}
{"timestamp":"2026-03-09 07:38:45","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:38:45","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-24","branch_id":"1","start_date":"2026-02-24","end_date":"2026-03-24"}}}
{"timestamp":"2026-03-09 07:38:45","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-03-24 23:59:59","duration_hours":695}}
{"timestamp":"2026-03-09 07:38:45","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-24","start_date":"2026-02-24 00:00:00","end_date":"2026-03-24 23:59:59","gross_sales":"910987.49","order_count":344}}
{"timestamp":"2026-03-09 07:38:48","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-24","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 07:38:48","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:38:48","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-24","branch_id":"1","start_date":"2026-02-24","end_date":"2026-02-24"}}}
{"timestamp":"2026-03-09 07:38:48","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:38:48","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-24","start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","gross_sales":"46451.00","order_count":25}}
{"timestamp":"2026-03-09 07:40:56","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-24","start_date":"2026-02-24","start_time":"","end_date":"2026-02-24","end_time":"","available_cash":"2390","comments":"1261 in opening cash","gross_sales":46451,"online_card_payments":13122,"food_bills_total":12720,"expenses_paid":19480,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:40:56","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:40:56","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:40:56","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:40:56","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:40:56","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:40:56","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:40:56","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-24","start_date":"2026-02-24","start_time":null,"end_date":"2026-02-24","end_time":null,"available_cash":"2390","gross_sales":46451,"online_card_payments":13122,"food_bills_total":12720,"expenses_paid":19480,"advance_payments":0,"daily_wages":0,"comments":"1261 in opening cash"}}}
{"timestamp":"2026-03-09 07:40:56","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-24 00:00:00","end_date":"2026-02-24 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:40:59","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:40:59","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:40:59","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:40:59","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:41:05","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-25"}}}
{"timestamp":"2026-03-09 07:41:05","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:41:05","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-25","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:41:05","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-25","start_date":"2026-03-25 00:00:00","end_date":"2026-03-25 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:41:07","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-25","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:41:07","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:41:07","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-25","branch_id":"1","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:41:07","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-25","start_date":"2026-03-25 00:00:00","end_date":"2026-03-25 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:41:10","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-25","start_date":"2026-02-25"}}}
{"timestamp":"2026-03-09 07:41:10","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:41:10","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-25","branch_id":"1","start_date":"2026-02-25"}}}
{"timestamp":"2026-03-09 07:41:10","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-25","start_date":"2026-03-25 00:00:00","end_date":"2026-03-25 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:41:14","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-25","start_date":"2026-02-25","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:41:14","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:41:14","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-25","branch_id":"1","start_date":"2026-02-25","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:41:14","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-25 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 07:41:21","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-25","start_date":"2026-02-25","end_date":"2026-02-25"}}}
{"timestamp":"2026-03-09 07:41:21","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:41:21","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-25","branch_id":"1","start_date":"2026-02-25","end_date":"2026-02-25"}}}
{"timestamp":"2026-03-09 07:41:21","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-25 00:00:00","end_date":"2026-02-25 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:41:21","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-25","start_date":"2026-02-25 00:00:00","end_date":"2026-02-25 23:59:59","gross_sales":"103754.00","order_count":41}}
{"timestamp":"2026-03-09 07:42:26","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-25","start_date":"2026-02-25","start_time":"","end_date":"2026-02-25","end_time":"","available_cash":"1530","comments":"","gross_sales":103754,"online_card_payments":41676.9800000000032014213502407073974609375,"food_bills_total":14526,"expenses_paid":46021,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:42:26","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:42:26","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:42:26","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:42:26","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:42:26","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:42:26","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:42:26","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-25","start_date":"2026-02-25","start_time":null,"end_date":"2026-02-25","end_time":null,"available_cash":"1530","gross_sales":103754,"online_card_payments":41676.9800000000032014213502407073974609375,"food_bills_total":14526,"expenses_paid":46021,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 07:42:26","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-25 00:00:00","end_date":"2026-02-25 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:42:28","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:42:28","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:42:28","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:42:28","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:42:34","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-26"}}}
{"timestamp":"2026-03-09 07:42:34","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:42:34","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-26","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:42:34","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-26","start_date":"2026-03-26 00:00:00","end_date":"2026-03-26 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:42:37","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-26","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:42:37","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:42:37","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-26","branch_id":"1","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:42:37","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-26","start_date":"2026-03-26 00:00:00","end_date":"2026-03-26 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:42:40","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-26","start_date":"2026-02-26"}}}
{"timestamp":"2026-03-09 07:42:40","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:42:40","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-26","branch_id":"1","start_date":"2026-02-26"}}}
{"timestamp":"2026-03-09 07:42:40","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-26","start_date":"2026-03-26 00:00:00","end_date":"2026-03-26 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:42:41","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-26","start_date":"2026-02-26","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:42:41","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:42:41","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-26","branch_id":"1","start_date":"2026-02-26","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:42:41","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-26 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 07:42:46","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-26","start_date":"2026-02-26","end_date":"2026-02-26"}}}
{"timestamp":"2026-03-09 07:42:46","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:42:46","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-26","branch_id":"1","start_date":"2026-02-26","end_date":"2026-02-26"}}}
{"timestamp":"2026-03-09 07:42:46","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-26 00:00:00","end_date":"2026-02-26 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:42:46","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-26","start_date":"2026-02-26 00:00:00","end_date":"2026-02-26 23:59:59","gross_sales":"69809.00","order_count":25}}
{"timestamp":"2026-03-09 07:44:34","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-26","start_date":"2026-02-26","start_time":"","end_date":"2026-02-26","end_time":"","available_cash":"141","comments":"1671 opening\n","gross_sales":69809,"online_card_payments":18630,"food_bills_total":0,"expenses_paid":52850,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:44:34","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:44:34","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:44:34","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:44:34","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:44:34","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:44:34","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:44:34","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-26","start_date":"2026-02-26","start_time":null,"end_date":"2026-02-26","end_time":null,"available_cash":"141","gross_sales":69809,"online_card_payments":18630,"food_bills_total":0,"expenses_paid":52850,"advance_payments":0,"daily_wages":0,"comments":"1671 opening\n"}}}
{"timestamp":"2026-03-09 07:44:34","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-26 00:00:00","end_date":"2026-02-26 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:44:37","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:44:37","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:44:37","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:44:37","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:44:42","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-27"}}}
{"timestamp":"2026-03-09 07:44:42","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:44:42","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-27","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:44:42","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-27","start_date":"2026-03-27 00:00:00","end_date":"2026-03-27 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:44:44","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-27","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:44:44","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:44:44","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-27","branch_id":"1","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:44:44","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-27","start_date":"2026-03-27 00:00:00","end_date":"2026-03-27 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:44:45","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-27","start_date":"2026-02-27"}}}
{"timestamp":"2026-03-09 07:44:45","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:44:45","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-27","branch_id":"1","start_date":"2026-02-27"}}}
{"timestamp":"2026-03-09 07:44:45","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-27","start_date":"2026-03-27 00:00:00","end_date":"2026-03-27 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:44:47","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-27","start_date":"2026-02-27","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:44:47","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:44:47","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-27","branch_id":"1","start_date":"2026-02-27","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:44:47","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-27 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 07:44:51","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-27","start_date":"2026-02-27","end_date":"2026-02-27"}}}
{"timestamp":"2026-03-09 07:44:51","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:44:51","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-27","branch_id":"1","start_date":"2026-02-27","end_date":"2026-02-27"}}}
{"timestamp":"2026-03-09 07:44:51","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-27 00:00:00","end_date":"2026-02-27 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:44:51","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-27","start_date":"2026-02-27 00:00:00","end_date":"2026-02-27 23:59:59","gross_sales":"78340.00","order_count":30}}
{"timestamp":"2026-03-09 07:45:23","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-27","start_date":"2026-02-27","start_time":"","end_date":"2026-02-27","end_time":"","available_cash":"211","comments":"","gross_sales":78340,"online_card_payments":24780,"food_bills_total":17049,"expenses_paid":36300,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:45:23","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:45:23","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:45:23","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:45:23","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:45:23","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:45:23","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:45:23","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-27","start_date":"2026-02-27","start_time":null,"end_date":"2026-02-27","end_time":null,"available_cash":"211","gross_sales":78340,"online_card_payments":24780,"food_bills_total":17049,"expenses_paid":36300,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 07:45:23","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-27 00:00:00","end_date":"2026-02-27 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:45:25","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:45:25","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:45:25","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:45:25","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:45:29","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-28"}}}
{"timestamp":"2026-03-09 07:45:29","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:45:29","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-28","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:45:29","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-28","start_date":"2026-03-28 00:00:00","end_date":"2026-03-28 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:45:32","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-28","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:45:32","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:45:32","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-28","branch_id":"1","start_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:45:32","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-28","start_date":"2026-03-28 00:00:00","end_date":"2026-03-28 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:45:33","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-28","start_date":"2026-02-28"}}}
{"timestamp":"2026-03-09 07:45:33","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:45:33","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-28","branch_id":"1","start_date":"2026-02-28"}}}
{"timestamp":"2026-03-09 07:45:33","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-28","start_date":"2026-03-28 00:00:00","end_date":"2026-03-28 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:45:35","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-28","start_date":"2026-02-28","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:45:35","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:45:35","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-28","branch_id":"1","start_date":"2026-02-28","end_date":"2026-02-09"}}}
{"timestamp":"2026-03-09 07:45:35","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-02-28 00:00:00","end_date":"2026-02-09 23:59:59"}}
{"timestamp":"2026-03-09 07:45:39","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-28","start_date":"2026-02-28","end_date":"2026-02-28"}}}
{"timestamp":"2026-03-09 07:45:39","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:45:39","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-28","branch_id":"1","start_date":"2026-02-28","end_date":"2026-02-28"}}}
{"timestamp":"2026-03-09 07:45:39","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-02-28 00:00:00","end_date":"2026-02-28 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:45:39","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-28","start_date":"2026-02-28 00:00:00","end_date":"2026-02-28 23:59:59","gross_sales":"96526.70","order_count":36}}
{"timestamp":"2026-03-09 07:46:29","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-28","start_date":"2026-02-28","start_time":"","end_date":"2026-02-28","end_time":"","available_cash":"129","comments":"","gross_sales":96526.699999999997089616954326629638671875,"online_card_payments":48160,"food_bills_total":3696,"expenses_paid":44800,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:46:29","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:46:29","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:46:29","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:46:29","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:46:29","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:46:29","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:46:29","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-28","start_date":"2026-02-28","start_time":null,"end_date":"2026-02-28","end_time":null,"available_cash":"129","gross_sales":96526.699999999997089616954326629638671875,"online_card_payments":48160,"food_bills_total":3696,"expenses_paid":44800,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 07:46:29","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-02-28 00:00:00","end_date":"2026-02-28 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:46:30","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:46:30","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:46:30","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:46:30","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:46:35","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-04-01"}}}
{"timestamp":"2026-03-09 07:46:35","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:46:35","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-04-01","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:46:35","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-04-01","start_date":"2026-04-01 00:00:00","end_date":"2026-04-01 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:46:38","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-01"}}}
{"timestamp":"2026-03-09 07:46:38","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:46:38","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-01","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:46:38","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-01","start_date":"2026-03-01 00:00:00","end_date":"2026-03-01 23:59:59","gross_sales":"6961.00","order_count":8}}
{"timestamp":"2026-03-09 07:46:39","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-02-01"}}}
{"timestamp":"2026-03-09 07:46:39","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:46:39","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-02-01","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:46:39","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-02-01","start_date":"2026-02-01 00:00:00","end_date":"2026-02-01 23:59:59","gross_sales":"155079.00","order_count":33}}
{"timestamp":"2026-03-09 07:46:40","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-01"}}}
{"timestamp":"2026-03-09 07:46:40","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:46:40","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-01","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:46:40","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-01","start_date":"2026-03-01 00:00:00","end_date":"2026-03-01 23:59:59","gross_sales":"6961.00","order_count":8}}
{"timestamp":"2026-03-09 07:46:45","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-01","start_date":"2026-03-01"}}}
{"timestamp":"2026-03-09 07:46:45","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:46:45","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-01","branch_id":"1","start_date":"2026-03-01"}}}
{"timestamp":"2026-03-09 07:46:45","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-01","start_date":"2026-03-01 00:00:00","end_date":"2026-03-01 23:59:59","gross_sales":"6961.00","order_count":8}}
{"timestamp":"2026-03-09 07:46:48","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-01","start_date":"2026-03-01","end_date":"2026-03-01"}}}
{"timestamp":"2026-03-09 07:46:48","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:46:48","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-01","branch_id":"1","start_date":"2026-03-01","end_date":"2026-03-01"}}}
{"timestamp":"2026-03-09 07:46:48","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-01 00:00:00","end_date":"2026-03-01 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:46:48","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-01","start_date":"2026-03-01 00:00:00","end_date":"2026-03-01 23:59:59","gross_sales":"39738.99","order_count":19}}
{"timestamp":"2026-03-09 07:47:37","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-01","start_date":"2026-03-01","start_time":"","end_date":"2026-03-01","end_time":"","available_cash":"125","comments":"","gross_sales":39738.9899999999979627318680286407470703125,"online_card_payments":29673,"food_bills_total":0,"expenses_paid":9940,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:47:37","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:47:37","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:47:37","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:47:37","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:47:37","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:47:37","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:47:37","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-01","start_date":"2026-03-01","start_time":null,"end_date":"2026-03-01","end_time":null,"available_cash":"125","gross_sales":39738.9899999999979627318680286407470703125,"online_card_payments":29673,"food_bills_total":0,"expenses_paid":9940,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 07:47:37","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-03-01 00:00:00","end_date":"2026-03-01 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:47:39","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:47:39","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:47:39","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:47:39","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:47:42","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-02"}}}
{"timestamp":"2026-03-09 07:47:42","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:47:42","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-02","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:47:43","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-02","start_date":"2026-03-02 00:00:00","end_date":"2026-03-02 23:59:59","gross_sales":"5792.00","order_count":6}}
{"timestamp":"2026-03-09 07:47:45","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-02","start_date":"2026-03-02"}}}
{"timestamp":"2026-03-09 07:47:45","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:47:45","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-02","branch_id":"1","start_date":"2026-03-02"}}}
{"timestamp":"2026-03-09 07:47:45","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-02","start_date":"2026-03-02 00:00:00","end_date":"2026-03-02 23:59:59","gross_sales":"5792.00","order_count":6}}
{"timestamp":"2026-03-09 07:47:47","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-02","start_date":"2026-03-02","end_date":"2026-03-02"}}}
{"timestamp":"2026-03-09 07:47:47","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:47:47","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-02","branch_id":"1","start_date":"2026-03-02","end_date":"2026-03-02"}}}
{"timestamp":"2026-03-09 07:47:47","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-02 00:00:00","end_date":"2026-03-02 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:47:47","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-02","start_date":"2026-03-02 00:00:00","end_date":"2026-03-02 23:59:59","gross_sales":"75716.80","order_count":23}}
{"timestamp":"2026-03-09 07:48:17","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:48:17","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:48:17","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:48:17","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:48:21","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-02"}}}
{"timestamp":"2026-03-09 07:48:21","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:48:21","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-02","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:48:21","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-02","start_date":"2026-03-02 00:00:00","end_date":"2026-03-02 23:59:59","gross_sales":"5792.00","order_count":6}}
{"timestamp":"2026-03-09 07:48:23","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-02","start_date":"2026-03-02"}}}
{"timestamp":"2026-03-09 07:48:23","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:48:23","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-02","branch_id":"1","start_date":"2026-03-02"}}}
{"timestamp":"2026-03-09 07:48:23","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-02","start_date":"2026-03-02 00:00:00","end_date":"2026-03-02 23:59:59","gross_sales":"5792.00","order_count":6}}
{"timestamp":"2026-03-09 07:48:25","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-02","start_date":"2026-03-02","end_date":"2026-03-02"}}}
{"timestamp":"2026-03-09 07:48:25","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:48:25","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-02","branch_id":"1","start_date":"2026-03-02","end_date":"2026-03-02"}}}
{"timestamp":"2026-03-09 07:48:25","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-02 00:00:00","end_date":"2026-03-02 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:48:25","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-02","start_date":"2026-03-02 00:00:00","end_date":"2026-03-02 23:59:59","gross_sales":"75716.80","order_count":23}}
{"timestamp":"2026-03-09 07:48:51","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-02","start_date":"2026-03-02","start_time":"","end_date":"2026-03-02","end_time":"","available_cash":"190","comments":"","gross_sales":75716.800000000002910383045673370361328125,"online_card_payments":43280,"food_bills_total":3856,"expenses_paid":28390.00999999999839928932487964630126953125,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:48:51","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:48:51","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:48:51","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:48:51","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:48:51","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:48:51","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:48:51","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-02","start_date":"2026-03-02","start_time":null,"end_date":"2026-03-02","end_time":null,"available_cash":"190","gross_sales":75716.800000000002910383045673370361328125,"online_card_payments":43280,"food_bills_total":3856,"expenses_paid":28390.00999999999839928932487964630126953125,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 07:48:51","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-03-02 00:00:00","end_date":"2026-03-02 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:48:54","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:48:54","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:48:54","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:48:54","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:48:59","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-03"}}}
{"timestamp":"2026-03-09 07:48:59","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:48:59","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-03","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:48:59","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-03","start_date":"2026-03-03 00:00:00","end_date":"2026-03-03 23:59:59","gross_sales":"3822.00","order_count":8}}
{"timestamp":"2026-03-09 07:49:01","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-03","start_date":"2026-03-03"}}}
{"timestamp":"2026-03-09 07:49:01","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:49:01","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-03","branch_id":"1","start_date":"2026-03-03"}}}
{"timestamp":"2026-03-09 07:49:01","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-03","start_date":"2026-03-03 00:00:00","end_date":"2026-03-03 23:59:59","gross_sales":"3822.00","order_count":8}}
{"timestamp":"2026-03-09 07:49:03","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-03","start_date":"2026-03-03","end_date":"2026-03-03"}}}
{"timestamp":"2026-03-09 07:49:03","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:49:03","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-03","branch_id":"1","start_date":"2026-03-03","end_date":"2026-03-03"}}}
{"timestamp":"2026-03-09 07:49:03","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-03 00:00:00","end_date":"2026-03-03 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:49:03","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-03","start_date":"2026-03-03 00:00:00","end_date":"2026-03-03 23:59:59","gross_sales":"60044.00","order_count":28}}
{"timestamp":"2026-03-09 07:50:04","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-03","start_date":"2026-03-03","start_time":"","end_date":"2026-03-03","end_time":"","available_cash":"1","comments":"","gross_sales":60044,"online_card_payments":20801,"food_bills_total":0,"expenses_paid":40266,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:50:04","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:50:04","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:50:04","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:50:04","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:50:04","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:50:04","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:50:04","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-03","start_date":"2026-03-03","start_time":null,"end_date":"2026-03-03","end_time":null,"available_cash":"1","gross_sales":60044,"online_card_payments":20801,"food_bills_total":0,"expenses_paid":40266,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 07:50:04","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-03-03 00:00:00","end_date":"2026-03-03 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:50:05","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:50:05","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:50:05","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:50:05","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:50:10","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-04"}}}
{"timestamp":"2026-03-09 07:50:10","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:50:10","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-04","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:50:10","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-04","start_date":"2026-03-04 00:00:00","end_date":"2026-03-04 23:59:59","gross_sales":"4564.00","order_count":9}}
{"timestamp":"2026-03-09 07:50:12","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-04","start_date":"2026-03-04"}}}
{"timestamp":"2026-03-09 07:50:12","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:50:12","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-04","branch_id":"1","start_date":"2026-03-04"}}}
{"timestamp":"2026-03-09 07:50:12","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-04","start_date":"2026-03-04 00:00:00","end_date":"2026-03-04 23:59:59","gross_sales":"4564.00","order_count":9}}
{"timestamp":"2026-03-09 07:50:14","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-04","start_date":"2026-03-04","end_date":"2026-03-04"}}}
{"timestamp":"2026-03-09 07:50:14","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:50:14","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-04","branch_id":"1","start_date":"2026-03-04","end_date":"2026-03-04"}}}
{"timestamp":"2026-03-09 07:50:14","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-04 00:00:00","end_date":"2026-03-04 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:50:14","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-04","start_date":"2026-03-04 00:00:00","end_date":"2026-03-04 23:59:59","gross_sales":"30527.00","order_count":19}}
{"timestamp":"2026-03-09 07:50:40","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:50:40","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:50:40","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:50:40","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:50:49","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-04"}}}
{"timestamp":"2026-03-09 07:50:49","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:50:49","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-04","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:50:49","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-04","start_date":"2026-03-04 00:00:00","end_date":"2026-03-04 23:59:59","gross_sales":"4564.00","order_count":9}}
{"timestamp":"2026-03-09 07:50:51","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-04","start_date":"2026-03-04"}}}
{"timestamp":"2026-03-09 07:50:51","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:50:51","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-04","branch_id":"1","start_date":"2026-03-04"}}}
{"timestamp":"2026-03-09 07:50:51","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-04","start_date":"2026-03-04 00:00:00","end_date":"2026-03-04 23:59:59","gross_sales":"4564.00","order_count":9}}
{"timestamp":"2026-03-09 07:50:53","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-04","start_date":"2026-03-04","end_date":"2026-03-04"}}}
{"timestamp":"2026-03-09 07:50:53","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:50:53","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-04","branch_id":"1","start_date":"2026-03-04","end_date":"2026-03-04"}}}
{"timestamp":"2026-03-09 07:50:53","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-04 00:00:00","end_date":"2026-03-04 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:50:53","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-04","start_date":"2026-03-04 00:00:00","end_date":"2026-03-04 23:59:59","gross_sales":"30527.00","order_count":19}}
{"timestamp":"2026-03-09 07:50:58","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-04","start_date":"2026-03-04","start_time":"","end_date":"2026-03-04","end_time":"","available_cash":"14586","comments":"","gross_sales":30527,"online_card_payments":7183,"food_bills_total":3840,"expenses_paid":4866,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:50:58","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:50:58","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:50:58","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:50:58","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:50:58","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:50:58","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:50:58","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-04","start_date":"2026-03-04","start_time":null,"end_date":"2026-03-04","end_time":null,"available_cash":"14586","gross_sales":30527,"online_card_payments":7183,"food_bills_total":3840,"expenses_paid":4866,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 07:50:58","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-03-04 00:00:00","end_date":"2026-03-04 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:51:00","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:51:00","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:51:00","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:51:00","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:51:03","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-05"}}}
{"timestamp":"2026-03-09 07:51:03","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:51:03","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-05","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:51:03","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-05","start_date":"2026-03-05 00:00:00","end_date":"2026-03-05 23:59:59","gross_sales":"11578.00","order_count":11}}
{"timestamp":"2026-03-09 07:51:05","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-05","start_date":"2026-03-05"}}}
{"timestamp":"2026-03-09 07:51:05","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:51:05","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-05","branch_id":"1","start_date":"2026-03-05"}}}
{"timestamp":"2026-03-09 07:51:05","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-05","start_date":"2026-03-05 00:00:00","end_date":"2026-03-05 23:59:59","gross_sales":"11578.00","order_count":11}}
{"timestamp":"2026-03-09 07:51:06","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-05","start_date":"2026-03-05","end_date":"2026-03-05"}}}
{"timestamp":"2026-03-09 07:51:06","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:51:07","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-05","branch_id":"1","start_date":"2026-03-05","end_date":"2026-03-05"}}}
{"timestamp":"2026-03-09 07:51:07","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-05 00:00:00","end_date":"2026-03-05 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:51:07","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-05","start_date":"2026-03-05 00:00:00","end_date":"2026-03-05 23:59:59","gross_sales":"37413.00","order_count":20}}
{"timestamp":"2026-03-09 07:52:00","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-05","start_date":"2026-03-05","start_time":"","end_date":"2026-03-05","end_time":"","available_cash":"760","comments":"","gross_sales":37413,"online_card_payments":9079,"food_bills_total":5489,"expenses_paid":22085,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:52:00","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:52:00","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:52:00","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:52:00","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:52:00","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:52:00","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:52:00","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-05","start_date":"2026-03-05","start_time":null,"end_date":"2026-03-05","end_time":null,"available_cash":"760","gross_sales":37413,"online_card_payments":9079,"food_bills_total":5489,"expenses_paid":22085,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 07:52:00","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-03-05 00:00:00","end_date":"2026-03-05 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:52:02","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:52:02","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:52:02","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:52:02","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:52:05","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-06"}}}
{"timestamp":"2026-03-09 07:52:05","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:52:05","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-06","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:52:05","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-06","start_date":"2026-03-06 00:00:00","end_date":"2026-03-06 23:59:59","gross_sales":"71901.00","order_count":11}}
{"timestamp":"2026-03-09 07:52:07","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-06","start_date":"2026-03-06"}}}
{"timestamp":"2026-03-09 07:52:07","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:52:07","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-06","branch_id":"1","start_date":"2026-03-06"}}}
{"timestamp":"2026-03-09 07:52:07","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-06","start_date":"2026-03-06 00:00:00","end_date":"2026-03-06 23:59:59","gross_sales":"71901.00","order_count":11}}
{"timestamp":"2026-03-09 07:52:09","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-06","start_date":"2026-03-06","end_date":"2026-03-06"}}}
{"timestamp":"2026-03-09 07:52:09","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:52:09","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-06","branch_id":"1","start_date":"2026-03-06","end_date":"2026-03-06"}}}
{"timestamp":"2026-03-09 07:52:09","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-06 00:00:00","end_date":"2026-03-06 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:52:09","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-06","start_date":"2026-03-06 00:00:00","end_date":"2026-03-06 23:59:59","gross_sales":"123206.00","order_count":24}}
{"timestamp":"2026-03-09 07:52:36","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-06","start_date":"2026-03-06","start_time":"","end_date":"2026-03-06","end_time":"","available_cash":"6007","comments":"","gross_sales":123206,"online_card_payments":20874,"food_bills_total":9715,"expenses_paid":86610,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:52:36","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:52:36","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:52:36","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:52:36","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:52:36","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:52:36","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:52:36","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-06","start_date":"2026-03-06","start_time":null,"end_date":"2026-03-06","end_time":null,"available_cash":"6007","gross_sales":123206,"online_card_payments":20874,"food_bills_total":9715,"expenses_paid":86610,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 07:52:36","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-03-06 00:00:00","end_date":"2026-03-06 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:52:37","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:52:37","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:52:37","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:52:37","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:55:23","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:55:23","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:55:23","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:55:23","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:55:30","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-07"}}}
{"timestamp":"2026-03-09 07:55:30","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:55:30","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-07","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:55:30","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-07","start_date":"2026-03-07 00:00:00","end_date":"2026-03-07 23:59:59","gross_sales":"4854.00","order_count":7}}
{"timestamp":"2026-03-09 07:55:32","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-07","start_date":"2026-03-07"}}}
{"timestamp":"2026-03-09 07:55:32","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:55:32","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-07","branch_id":"1","start_date":"2026-03-07"}}}
{"timestamp":"2026-03-09 07:55:32","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-07","start_date":"2026-03-07 00:00:00","end_date":"2026-03-07 23:59:59","gross_sales":"4854.00","order_count":7}}
{"timestamp":"2026-03-09 07:55:34","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-07","start_date":"2026-03-07","end_date":"2026-03-07"}}}
{"timestamp":"2026-03-09 07:55:34","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:55:34","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-07","branch_id":"1","start_date":"2026-03-07","end_date":"2026-03-07"}}}
{"timestamp":"2026-03-09 07:55:34","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-07 00:00:00","end_date":"2026-03-07 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:55:34","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-07","start_date":"2026-03-07 00:00:00","end_date":"2026-03-07 23:59:59","gross_sales":"89707.00","order_count":31}}
{"timestamp":"2026-03-09 07:56:21","method":"store","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","closing_date":"2026-03-07","start_date":"2026-03-07","start_time":"","end_date":"2026-03-07","end_time":"","available_cash":"34182","comments":"","gross_sales":89707,"online_card_payments":25960,"food_bills_total":3875,"expenses_paid":25690.02999999999883584678173065185546875,"advance_payments":0,"daily_wages":0}}}
{"timestamp":"2026-03-09 07:56:21","method":"store","message":"Branch manager role","data":{"user_restaurant_id":1,"user_branch_id":1}}
{"timestamp":"2026-03-09 07:56:21","method":"store","message":"Determined restaurant_id and branch_id","data":{"restaurant_id":1,"branch_id":1}}
{"timestamp":"2026-03-09 07:56:21","method":"store","message":"Branch loaded","data":{"branch_id":1,"branch_restaurant_id":1}}
{"timestamp":"2026-03-09 07:56:21","method":"store","message":"Converted empty start_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:56:21","method":"store","message":"Converted empty end_time to null","data":{"original":""}}
{"timestamp":"2026-03-09 07:56:21","method":"store","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:56:21","method":"store","message":"Validation passed","data":{"validated":{"closing_date":"2026-03-07","start_date":"2026-03-07","start_time":null,"end_date":"2026-03-07","end_time":null,"available_cash":"34182","gross_sales":89707,"online_card_payments":25960,"food_bills_total":3875,"expenses_paid":25690.02999999999883584678173065185546875,"advance_payments":0,"daily_wages":0,"comments":""}}}
{"timestamp":"2026-03-09 07:56:21","method":"store","message":"Date\/time range validated","data":{"start_date":"2026-03-07 00:00:00","end_date":"2026-03-07 23:59:59","duration_hours":23}}
{"timestamp":"2026-03-09 07:56:39","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-09"}}}
{"timestamp":"2026-03-09 07:56:39","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:56:39","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-09","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:56:39","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-09","start_date":"2026-03-09 00:00:00","end_date":"2026-03-09 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-03-09 07:56:41","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-08"}}}
{"timestamp":"2026-03-09 07:56:41","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:56:41","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-08","branch_id":"1"}}}
{"timestamp":"2026-03-09 07:56:41","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-08","start_date":"2026-03-08 00:00:00","end_date":"2026-03-08 23:59:59","gross_sales":"9903.00","order_count":10}}
{"timestamp":"2026-03-09 07:56:43","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-08","start_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 07:56:43","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-03-09 07:56:43","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-08","branch_id":"1","start_date":"2026-03-08"}}}
{"timestamp":"2026-03-09 07:56:43","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-08","start_date":"2026-03-08 00:00:00","end_date":"2026-03-08 23:59:59","gross_sales":"9903.00","order_count":10}}
{"timestamp":"2026-03-10 07:02:10","method":"show","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","route_id":"3","method_id":"3"}}
{"timestamp":"2026-03-10 07:02:10","method":"show","message":"Report found","data":{"report_id":3,"report_branch_id":1,"report_restaurant_id":1}}
{"timestamp":"2026-03-10 07:02:10","method":"show","message":"Fetched report IDs from database","data":{"report_id":3,"db_branch_id":1,"db_restaurant_id":1,"model_branch_id":1,"model_restaurant_id":1}}
{"timestamp":"2026-03-10 07:02:10","method":"show","message":"Checking branch manager access","data":{"report_id":3,"report_branch_id":1,"user_branch_id":1,"model_branch_id":1}}
{"timestamp":"2026-03-10 07:02:10","method":"show","message":"Branch ID comparison","data":{"user_branch_id":1,"report_branch_id":1,"match":true}}
{"timestamp":"2026-03-10 07:02:10","method":"show","message":"Branch manager access granted","data":[]}
{"timestamp":"2026-03-10 07:02:10","method":"show","message":"Fetching related data","data":{"filter_branch_id":1,"start_date":"2026-01-08 00:00:00","end_date":"2026-01-09 23:59:59"}}
{"timestamp":"2026-03-10 07:02:10","method":"show","message":"Orders fetched","data":{"orders_count":50}}
{"timestamp":"2026-03-10 07:02:10","method":"show","message":"Response data prepared","data":{"orders_count":50,"expenses_count":0,"advance_payments_count":0,"daily_wages_count":0,"report_has_data":true,"report_keys":["id","restaurant_id","branch_id","closing_date","start_date","start_time","end_date","end_time","available_cash","gross_sales","online_card_payments","food_bills_total","advance_payments","expenses_paid","daily_wages","total_deductions","remaining_cash","difference","has_difference","comments","created_by","updated_by","created_at","updated_at","branch","restaurant","creator","updater"]}}
{"timestamp":"2026-04-08 06:24:42","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-04-08"}}}
{"timestamp":"2026-04-08 06:24:42","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:24:42","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-04-08","branch_id":"1"}}}
{"timestamp":"2026-04-08 06:24:42","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-04-08","start_date":"2026-04-08 00:00:00","end_date":"2026-04-08 23:59:59","gross_sales":0,"order_count":0}}
{"timestamp":"2026-04-08 06:24:49","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-08"}}}
{"timestamp":"2026-04-08 06:24:49","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:24:49","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-08","branch_id":"1"}}}
{"timestamp":"2026-04-08 06:24:49","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-08","start_date":"2026-03-08 00:00:00","end_date":"2026-03-08 23:59:59","gross_sales":"9903.00","order_count":10}}
{"timestamp":"2026-04-08 06:24:53","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-30"}}}
{"timestamp":"2026-04-08 06:24:53","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:24:53","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-30","branch_id":"1"}}}
{"timestamp":"2026-04-08 06:24:53","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-30","start_date":"2026-03-30 00:00:00","end_date":"2026-03-30 23:59:59","gross_sales":"7735.00","order_count":4}}
{"timestamp":"2026-04-08 06:24:59","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-30","start_date":"2026-03-08"}}}
{"timestamp":"2026-04-08 06:24:59","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:24:59","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-30","branch_id":"1","start_date":"2026-03-08"}}}
{"timestamp":"2026-04-08 06:24:59","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-30","start_date":"2026-03-30 00:00:00","end_date":"2026-03-30 23:59:59","gross_sales":"7735.00","order_count":4}}
{"timestamp":"2026-04-08 06:25:00","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-30","start_date":"2026-03-30"}}}
{"timestamp":"2026-04-08 06:25:00","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:25:00","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-30","branch_id":"1","start_date":"2026-03-30"}}}
{"timestamp":"2026-04-08 06:25:00","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":true,"date":"2026-03-30","start_date":"2026-03-30 00:00:00","end_date":"2026-03-30 23:59:59","gross_sales":"7735.00","order_count":4}}
{"timestamp":"2026-04-08 06:25:03","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-30","start_date":"2026-03-30","end_date":"2026-04-30"}}}
{"timestamp":"2026-04-08 06:25:03","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:25:03","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-30","branch_id":"1","start_date":"2026-03-30","end_date":"2026-04-30"}}}
{"timestamp":"2026-04-08 06:25:03","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-30 00:00:00","end_date":"2026-04-30 23:59:59","duration_hours":767}}
{"timestamp":"2026-04-08 06:25:03","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-30","start_date":"2026-03-30 00:00:00","end_date":"2026-04-30 23:59:59","gross_sales":"702651.78","order_count":195}}
{"timestamp":"2026-04-08 06:25:37","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-30","start_date":"2026-03-29","end_date":"2026-04-30"}}}
{"timestamp":"2026-04-08 06:25:37","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:25:37","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-30","branch_id":"1","start_date":"2026-03-29","end_date":"2026-04-30"}}}
{"timestamp":"2026-04-08 06:25:37","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-29 00:00:00","end_date":"2026-04-30 23:59:59","duration_hours":791}}
{"timestamp":"2026-04-08 06:25:37","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-30","start_date":"2026-03-29 00:00:00","end_date":"2026-04-30 23:59:59","gross_sales":"720001.78","order_count":201}}
{"timestamp":"2026-04-08 06:25:43","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-30","start_date":"2026-03-29","end_date":"2026-04-29"}}}
{"timestamp":"2026-04-08 06:25:43","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:25:43","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-30","branch_id":"1","start_date":"2026-03-29","end_date":"2026-04-29"}}}
{"timestamp":"2026-04-08 06:25:43","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-29 00:00:00","end_date":"2026-04-29 23:59:59","duration_hours":767}}
{"timestamp":"2026-04-08 06:25:43","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-30","start_date":"2026-03-29 00:00:00","end_date":"2026-04-29 23:59:59","gross_sales":"720001.78","order_count":201}}
{"timestamp":"2026-04-08 06:25:49","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-30","start_date":"2026-03-29","end_date":"2026-03-29"}}}
{"timestamp":"2026-04-08 06:25:49","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:25:49","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-30","branch_id":"1","start_date":"2026-03-29","end_date":"2026-03-29"}}}
{"timestamp":"2026-04-08 06:25:49","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-29 00:00:00","end_date":"2026-03-29 23:59:59","duration_hours":23}}
{"timestamp":"2026-04-08 06:25:49","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-30","start_date":"2026-03-29 00:00:00","end_date":"2026-03-29 23:59:59","gross_sales":"17350.00","order_count":6}}
{"timestamp":"2026-04-08 06:26:05","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-30","start_date":"2026-03-30","end_date":"2026-03-29"}}}
{"timestamp":"2026-04-08 06:26:05","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:26:05","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-30","branch_id":"1","start_date":"2026-03-30","end_date":"2026-03-29"}}}
{"timestamp":"2026-04-08 06:26:05","method":"calculateAmounts","message":"End date\/time must be after start date\/time","data":{"start_date":"2026-03-30 00:00:00","end_date":"2026-03-29 23:59:59"}}
{"timestamp":"2026-04-08 06:26:16","method":"calculateAmounts","message":"Method called","data":{"user_id":6,"user_role":"branch_manager","request_data":{"branch_id":"1","date":"2026-03-30","start_date":"2026-03-30","end_date":"2026-03-30"}}}
{"timestamp":"2026-04-08 06:26:16","method":"calculateAmounts","message":"After time field conversion","data":{"start_time":null,"end_time":null}}
{"timestamp":"2026-04-08 06:26:16","method":"calculateAmounts","message":"Validation passed","data":{"validated":{"date":"2026-03-30","branch_id":"1","start_date":"2026-03-30","end_date":"2026-03-30"}}}
{"timestamp":"2026-04-08 06:26:16","method":"calculateAmounts","message":"Date\/time range determined","data":{"start_date":"2026-03-30 00:00:00","end_date":"2026-03-30 23:59:59","duration_hours":23}}
{"timestamp":"2026-04-08 06:26:16","method":"calculateAmounts","message":"Gross sales calculation","data":{"branch_id":"1","use_orders_date":false,"date":"2026-03-30","start_date":"2026-03-30 00:00:00","end_date":"2026-03-30 23:59:59","gross_sales":"56646.00","order_count":17}}
