-- Table structure for table `menus`
CREATE TABLE `menus` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `menu_name` text DEFAULT NULL,
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `menus_branch_id_foreign` (`branch_id`),
  CONSTRAINT `menus_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `menus`
INSERT INTO `menus` VALUES
('1', '1', '{\"en\":\"Main Menu\"}', '0', '2025-09-17 06:04:57', '2025-09-17 06:04:57'),
('2', '3', '{\"en\":\"Main Menu\"}', '0', '2025-09-19 20:04:20', '2025-09-19 20:04:20'),
('3', '4', '{\"en\":\"Breakfast\"}', '0', '2025-09-20 12:58:54', '2025-09-20 12:58:54'),
('4', '5', '{\"en\":\"Vada pao\"}', '0', '2025-10-07 15:01:24', '2025-10-07 15:01:24'),
('6', '5', '{\"en\":\"Breakfast\"}', '0', '2025-10-24 14:47:12', '2025-10-24 14:47:12'),
('7', '5', '{\"en\":\"Lunch Menu\",\"fr\":\"Menu Du Dîner\",\"pa\":\"ਦੁਪਹਿਰ ਦੇ ਖਾਣੇ ਦਾ ਮੀਨੂ\"}', '0', '2025-10-25 12:49:38', '2025-10-25 12:50:34'),
('8', '5', '{\"en\":\"Starters\"}', '0', '2025-11-17 13:46:42', '2025-11-17 13:46:42'),
('9', '5', '{\"en\":\"Tandoor & Grill\"}', '0', '2025-11-17 13:46:42', '2025-11-17 13:46:42'),
('10', '5', '{\"en\":\"Asian Kitchen\"}', '0', '2025-11-17 13:46:42', '2025-11-17 13:46:42'),
('11', '5', '{\"en\":\"Main Course\"}', '0', '2025-11-17 13:46:42', '2025-11-17 13:46:42'),
('12', '5', '{\"en\":\"Desserts\"}', '0', '2025-11-17 13:46:42', '2025-11-17 13:46:42'),
('13', '5', '{\"en\":\"Beverages\"}', '0', '2025-11-17 13:46:42', '2025-11-17 13:46:42'),
('14', '27', '{\"en\":\"BreakFast\"}', '0', '2025-11-26 08:23:15', '2025-11-26 08:23:15'),
('15', '27', '{\"en\":\"Lunch\"}', '0', '2025-11-26 08:23:58', '2025-11-26 08:23:58'),
('17', '31', '{\"en\":\"Food\"}', '0', '2025-12-05 19:52:56', '2025-12-05 19:52:56');


-- Table structure for table `migrations`
CREATE TABLE `migrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(191) NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=304 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `migrations`
INSERT INTO `migrations` VALUES
('1', '0001_01_01_000000_create_users_table', '1'),
('2', '0001_01_01_000001_create_cache_table', '1'),
('3', '0001_01_01_000002_create_jobs_table', '1'),
('4', '2014_04_02_193005_create_translations_table', '1'),
('5', '2024_01_01_create_printers_table', '1'),
('6', '2024_03_13_000002_create_expense_categories_table', '1'),
('7', '2024_07_01_060651_add_two_factor_columns_to_users_table', '1'),
('8', '2024_07_01_060707_create_personal_access_tokens_table', '1'),
('9', '2024_07_02_064204_create_menus_table', '1'),
('10', '2024_07_12_070634_create_areas_table', '1'),
('11', '2024_07_16_103816_create_orders_table', '1'),
('12', '2024_07_21_083459_add_user_type_column', '1'),
('13', '2024_07_24_131631_create_payments_table', '1'),
('14', '2024_07_31_081306_add_email_otp_column', '1'),
('15', '2024_08_02_061808_create_countries_table', '1'),
('16', '2024_08_02_071637_create_restaurant_settings_table', '1'),
('17', '2024_08_04_104258_create_razorpay_payments_table', '1'),
('18', '2024_08_05_092258_create_stripe_payments_table', '1'),
('19', '2024_08_05_110157_create_payment_gateway_credentials_table', '1'),
('20', '2024_08_13_033139_create_global_settings_table', '1'),
('21', '2024_08_13_073129_update_settings_add_envato_key', '1'),
('22', '2024_08_13_073129_update_settings_add_support_key', '1'),
('23', '2024_08_14_073129_update_settings_add_email', '1'),
('24', '2024_08_14_073129_update_settings_add_last_verified_key', '1'),
('25', '2024_09_13_081726_create_modules_table', '1'),
('26', '2024_09_14_130619_create_permission_tables', '1'),
('27', '2024_09_27_071339_create_reservations_table', '1'),
('28', '2024_10_02_090924_create_email_settings_table', '1'),
('29', '2024_10_03_073837_create_notification_settings_table', '1'),
('30', '2024_10_11_100539_create_branches_table', '1'),
('31', '2024_10_14_121135_create_onboarding_steps_table', '1'),
('32', '2024_10_15_071238_add_restaurant_hash_column', '1'),
('33', '2024_10_15_071238_storage', '1'),
('34', '2024_10_15_100639_create_restaurant_payments_table', '1'),
('35', '2024_10_27_101326_create_packages_table', '1'),
('36', '2024_11_02_112920_create_language_settings_table', '1'),
('37', '2024_11_02_120314_create_flags_table', '1'),
('38', '2024_11_02_120314_email_settings_table', '1'),
('39', '2024_11_08_071617_add_customer_login_required_column', '1'),
('40', '2024_11_08_093032_create_superadmin_payment_gateways_table', '1'),
('41', '2024_11_08_133506_add_stripe_column_for_license', '1'),
('42', '2024_11_12_055119_create_delivery_executives_table', '1'),
('43', '2024_11_12_055632_add_order_types_column', '1'),
('44', '2024_11_12_060500_create_order_histories_table', '1'),
('45', '2024_11_12_060500_global_license_type_table', '1'),
('46', '2024_11_12_060500_global_purchase_on_table', '1'),
('47', '2024_11_12_060500_global_setting_timezone_table', '1'),
('48', '2024_11_17_052707_currency_position', '1'),
('49', '2024_11_17_052707_move_qr_code', '1'),
('50', '2024_11_19_113852_add_is_active_to_restaurants_table', '1'),
('51', '2024_11_20_114816_add_staff_welcome_email_notification', '1'),
('52', '2024_11_25_061322_create_pusher_settings_table', '1'),
('53', '2024_11_26_090216_create_global_currencies_table', '1'),
('54', '2024_12_03_085842_add_about_us_column', '1'),
('55', '2024_12_03_104817_add_currency_id_packages', '1'),
('56', '2024_12_04_080223_add_allow_customer_delivery_orders', '1'),
('57', '2024_12_04_115601_add_preparation_time_column', '1'),
('58', '2024_12_11_110000_create_tables_for_subscription_table', '1'),
('59', '2024_12_11_131225_add_disable_landing_site_columns', '1'),
('60', '2024_12_12_090840_create_waiter_requests_table', '1'),
('61', '2024_12_13_090840_add_domain_global_setting', '1'),
('62', '2024_12_16_080201_create_lifetime_subscriptions_for_paid_restaurants', '1'),
('63', '2024_12_23_124452_add_payment_enabled_columns_to_payment_settings_table', '1'),
('64', '2024_12_27_054246_add_table_reservation_default_status_to_restaurants_table', '1'),
('65', '2024_12_30_074018_create_split_orders_table', '1'),
('66', '2024_12_30_200942_create_restaurant_settings_table', '1'),
('67', '2025_01_03_050139_add_social_media_links_to_reataurants_table', '1'),
('68', '2025_01_03_093938_add_social_media_links_to_global_settings_table', '1'),
('69', '2025_01_06_111550_create_receipt_settings_table', '1'),
('70', '2025_01_09_073145_generate_qr_codes_for_existing_branches', '1'),
('71', '2025_01_09_115652_update_receipt_settings_for_existing_restaurants', '1'),
('72', '2025_01_10_064103_add_table_required_column_to_customer_settings_table', '1'),
('73', '2025_01_10_100552_insert_to_file_storage_settings_default_values', '1'),
('74', '2025_01_11_063817_add_default_currency_column', '1'),
('75', '2025_01_15_000000_create_cart_header_settings_table', '1'),
('76', '2025_01_15_000001_create_cart_header_images_table', '1'),
('77', '2025_01_16_125322_add_is_enabled_to_menu_items_table', '1'),
('78', '2025_01_16_131100_regenrate_qr_codes', '1'),
('79', '2025_01_20_000000_add_restaurant_id_to_roles', '1'),
('80', '2025_01_20_071544_add_branch_limit_to_packages_table', '1'),
('81', '2025_01_20_091630_update_item_type', '1'),
('82', '2025_01_20_125429_add_discount_columns_to_orders_table', '1'),
('83', '2025_01_21_064139_add_show_logo_text_column', '1'),
('84', '2025_01_21_064256_add_offline_payment', '1'),
('85', '2025_01_21_132218_fix_user_roles', '1'),
('86', '2025_01_22_114720_add_show_tax_to_receipt_setting', '1'),
('87', '2025_01_23_065746_create_modifier_groups_table', '1'),
('88', '2025_01_23_085333_create_restaurant_taxes_table', '1'),
('89', '2025_01_23_090554_create_modifier_options_table', '1'),
('90', '2025_01_23_094318_create_item_modifiers_table', '1'),
('91', '2025_01_23_121154_create_order_item_modifier_options_table', '1'),
('92', '2025_01_27_065822_add_balance_column_to_payment', '1'),
('93', '2025_01_28_111039_add_allow_dine_in_orders_to_restaurant', '1'),
('94', '2025_01_30_050755_add_yelp_icon_to_global_settings', '1'),
('95', '2025_01_30_055744_add_yelp_link_to_restaurants', '1'),
('96', '2025_01_30_100556_fix_package_price_length', '1'),
('97', '2025_01_30_104043_add_meta_data_to_global_settings', '1'),
('98', '2025_01_31_000001_create_predefined_amounts_table', '1'),
('99', '2025_02_03_062109_add_is_cash_payment_enabled_to_payment', '1'),
('100', '2025_02_04_140538_add_transaction_id_kot', '1'),
('101', '2025_02_15_121956_add_hide_new_orders_option_to_restaurant', '1'),
('102', '2025_02_17_052801_create_restaurant_charges_settings_table', '1'),
('103', '2025_02_17_093729_add_favicon_to_restaurant', '1'),
('104', '2025_02_19_091730_update_menu_name_to_json', '1'),
('105', '2025_02_20_095321_add_waiter_request_options_to_restaurant', '1'),
('106', '2025_02_21_051534_add_hash_to_global_settings_table', '1'),
('107', '2025_02_21_102116_add_column_to_settings', '1'),
('108', '2025_02_24_063827_add_payment_qr_to_receipt_settings', '1'),
('109', '2025_02_24_111946_add_permissions_to_customers', '1'),
('110', '2025_03_04_114535_add_is_enabled_to_restaurant_charges', '1'),
('111', '2025_03_10_055100_add_tip_column_to_orders_table', '1'),
('112', '2025_03_10_100727_add_is_pwa_intall_alert_show_column_in_restaurants_table', '1'),
('113', '2025_03_17_090450_add_meta_title_to_global_settings', '1'),
('114', '2025_03_18_044410_create_expenses_table', '1'),
('115', '2025_03_19_092459_create_custom_menus_table', '1'),
('116', '2025_03_19_103047_update_additional_modules', '1'),
('117', '2025_03_24_084350_add_show_payments_column_to_receipt_settings_table', '1'),
('118', '2025_04_01_050059_add_branch_id_to_expense_category', '1'),
('119', '2025_04_01_051356_add_branch_id_to_expenses', '1'),
('120', '2025_04_02_071911_update_kot_status_enum', '1'),
('121', '2025_04_07_112351_add_payment_recived_status_to_orders_table', '1'),
('122', '2025_04_08_063624_update_meta_keywords', '1'),
('123', '2025_04_10_065753_add_flutterwave_payment_gateway_columns_and_tables', '1'),
('124', '2025_04_15_084543_create_front_details_table', '1'),
('125', '2025_04_22_065157_create_front_reviews_setting_table', '1'),
('126', '2025_04_22_091055_create_branch_delivery_settings_table', '1'),
('127', '2025_04_22_091146_create_customer_addresses_table', '1'),
('128', '2025_04_22_091223_create_delivery_fee_tiers_table', '1'),
('129', '2025_04_22_091258_add_delivery_columns_to_orders_table', '1'),
('130', '2025_04_29_102014_add_landing_type_column_in_global_settings_table', '1'),
('131', '2025_04_29_114538_add_front_data_in_front_details_table', '1'),
('132', '2025_05_14_094039_update_printers_settings_columns_to_printers_table', '1'),
('133', '2025_05_15_071027_create_kot_places_table', '1'),
('134', '2025_05_23_124746_add_in_stock_column', '1'),
('135', '2025_05_26_105151_relocate_map_api_key_to_superadmin_settings', '1'),
('136', '2025_05_26_114443_modify_kot_places_table', '1'),
('137', '2025_05_30_081624_add_show_item_on_customer_site_to_menu_items', '1'),
('138', '2025_06_02_081928_add_session_driver_column_to_global_settings', '1'),
('139', '2025_06_02_112147_add_columns_to_superadmin_payment_gateways_table', '1'),
('140', '2025_06_02_112903_add_paypal_payment_column_to_payment_gateway_credentials', '1'),
('141', '2025_06_02_113108_create_paypal_payments_table', '1'),
('142', '2025_06_02_114326_add_paypal_payment_in_payment_method_to_payments', '1'),
('143', '2025_06_03_095923_add_status_column_kot_item', '1'),
('144', '2025_06_04_065130_add_columns_payfast_in_superadmin_payment_gateways_table', '1'),
('145', '2025_06_05_063256_add_sort_order_columns_in_menu_and_items', '1'),
('146', '2025_06_05_112055_create_kot_settings_table', '1'),
('147', '2025_06_06_050159_add_payfast_payment_column_to_payment_gateway_credentials', '1'),
('148', '2025_06_06_051204_create_payfast_payments_table', '1'),
('149', '2025_06_10_093131_change_delete_cascade_for_orders', '1'),
('150', '2025_06_11_061716_add_uuid_to_orders_table', '1'),
('151', '2025_06_11_062354_add_columns_paystack_in_superadmin_payment_gateways_table', '1'),
('152', '2025_06_13_112612_add_phone_to_users', '1'),
('153', '2025_06_13_113200_add_column_paystack_payments_to_payment_gateway_credentials', '1'),
('154', '2025_06_13_113240_create_paystack_payments_table', '1'),
('155', '2025_06_16_104533_add_note_columns_to_kot_items_and_order_items', '1'),
('156', '2025_06_18_112425_add_payment_gateways_to_restaurants_table', '1'),
('157', '2025_06_19_070518_add_position_to_custom_menus_table', '1'),
('158', '2025_06_20_060452_add_columns_to_branch_table', '1'),
('159', '2025_06_20_092521_add_others_type_to_payments_table', '1'),
('160', '2025_06_23_101041_create_kot_cancel_reasons_table', '1'),
('161', '2025_06_23_120021_update_kot_place_id_in_menu_items', '1'),
('162', '2025_06_24_092521_disable_printer', '1'),
('163', '2025_06_24_092811_add_column_cancel_kot_reason_to_kots_table', '1'),
('164', '2025_06_24_102830_update_enum_status_to_kots_table', '1'),
('165', '2025_06_25_094311_add_column_cancellation_reason_to_orders_table', '1'),
('166', '2025_06_26_060831_add_custom_delivery_options_to_restaurants_table', '1'),
('167', '2025_06_27_084541_insert_sample_kot_cancel_reasons_data', '1'),
('168', '2025_07_01_112529_create_print_jobs_table', '1'),
('169', '2025_07_01_133114_add_placed_via_column_orders_table', '1'),
('170', '2025_07_02_090709_create_order_types_table', '1'),
('171', '2025_07_02_105440_add_translations_columns_for_modifier_group', '1'),
('172', '2025_07_02_114040_add_unique_hash_to_branches_table', '1'),
('173', '2025_07_03_123829_update_kot_place_id_for_cloned_menu_items', '1'),
('174', '2025_07_04_064350_update_order_type_id_in_orders', '1'),
('175', '2025_07_04_081809_add_tax_mode_to_restaurants_table', '1'),
('176', '2025_07_04_131541_create_desktop_applications_table', '1'),
('177', '2025_07_07_070122_add_pusher_broadcast_to_pusher_settings_table', '1'),
('178', '2025_07_07_110131_create_menu_item_taxes_table', '1'),
('179', '2025_07_14_082950_add_columns_to_restaurants_table', '1'),
('180', '2025_07_14_124125_add_pick_up_date_range_in_restaurants_table', '1'),
('181', '2025_07_17_122331_create_order_number_settings', '1'),
('182', '2025_07_29_063129_modify_item_type_in-menus', '1'),
('183', '2025_07_29_082605_add_show_halal_and_veg_option_to_restaurants', '1'),
('184', '2025_07_30_125616_add_tax_mode_to_orders', '1'),
('185', '2025_08_01_114055_add_reservation_column_to_restaurants_table', '1'),
('186', '2025_08_04_131541_create_desktop_applications_update_table', '1'),
('187', '2025_08_05_081541_modify_split_orders_table_add_bank_transfer', '1'),
('188', '2025_08_06_065323_change_payment_method_to_string_in_payments_table', '1'),
('189', '2025_08_07_033322_add_column_disable_slot_minutes_to_restaurants_table', '1'),
('190', '2025_08_08_115502_add_variation_id_to_item_modifiers', '1'),
('191', '2025_08_12_133228_change_package_description_length', '1'),
('192', '2025_08_13_060315_rename_payfast_columns_in_superadmin_payment_gateways_table', '1'),
('193', '2025_08_13_110934_add_default_expense_categories_to_existing_branches', '1'),
('194', '2025_08_16_110310_add_slot_time_difference_to_reservations', '1'),
('195', '2025_08_19_071639_fix_tax_percent_to_unlimited_decimal', '1'),
('196', '2025_08_19_131541_create_desktop_applications_mac_update_table', '1'),
('197', '2025_08_20_000001_add_quantity_to_split_order_items', '1'),
('198', '2025_08_21_100452_add_html_content_print_job', '1'),
('199', '2025_08_25_050939_add_hide_menu_item_image_columns_to_restaurants_table', '1'),
('200', '2025_08_25_060934_add_xendit_payment_gateway_to_payment_gateway_credentials_table', '1'),
('201', '2025_08_25_061405_add_xendit_to_global_settings_table', '1'),
('202', '2025_08_25_061500_create_xendit_payments_table', '1'),
('203', '2025_08_25_062000_add_xendit_webhook_verification_tokens', '1'),
('204', '2025_01_15_000000_create_database_backups_table', '2'),
('205', '2025_01_15_000001_create_database_backup_settings_table', '2'),
('206', '2025_01_01_121040_inventory_global_settings', '3'),
('207', '2025_02_06_095827_create_invetory_module_table', '3'),
('208', '2025_02_12_create_purchase_orders_tables', '3'),
('209', '2025_03_02_181226_create_inventory_settings_table', '3'),
('210', '2025_03_05_100018_create_inventory_settings_table', '3'),
('211', '2025_03_19_113535_soft_delete_supplier', '3'),
('212', '2025_03_20_113535_permission_supplier', '3'),
('213', '2025_07_07_000000_add_variation_support_to_recipes_table', '3'),
('214', '2025_07_07_000001_add_modifier_option_support_to_recipes_table', '3'),
('215', '2025_07_07_000002_make_menu_item_id_nullable_in_recipes_table', '3'),
('216', '2025_01_01_121040_kitchen_global_settings', '4'),
('217', '2025_05_19_163251_add_permission_to_kot_places', '4'),
('218', '2025_06_12_094512_add_kitchen_place_id_to_kot', '4'),
('219', '2025_06_16_121348_update_kot_place_id_in_menu_items', '4'),
('220', '2023_10_09_114356_create_language_pack_settings_table', '5'),
('221', '2023_11_02_094141_language_pack_notify_update_global_settings', '5'),
('222', '2023_11_28_094141_language_license_type_update_global_settings', '5'),
('223', '2023_12_19_091940_purchased_on_language_setting_table', '5'),
('224', '2020_04_09_121040_subdomain_settings', '6'),
('225', '2024_11_01_000000_add_sub_domain_in_companies_table', '6'),
('226', '2025_09_11_094443_remove_phone_unique', '7'),
('227', '2025_09_15_100452_remove_extra_content_print_job', '7'),
('228', '2025_09_17_094034_create_cart_session_tables', '7'),
('229', '2025_08_01_164051_create_kiosk_setting_tables', '8'),
('230', '2025_09_26_164051_create_kiosk_tables', '8'),
('231', '2025_09_26_164052_create_kiosk_promos_tables', '8'),
('232', '2025_08_29_091315_add_phone_code_to_customers_table', '9'),
('233', '2025_09_02_085025_add_xendit_payment_column_to_superadmin_payment_gateways_table', '9'),
('234', '2025_09_02_113846_add_xendit_payments_column_to_packages_table', '9'),
('235', '2025_09_02_130000_create_otps_table', '9'),
('236', '2025_09_18_083624_add_table_lock_columns_and_settings', '9'),
('237', '2025_09_25_063220_add_xendit_webhook_token_to_superadmin_payment_gateways', '9'),
('238', '2025_09_26_115847_add_token_number_to_orders_table', '9'),
('239', '2025_09_26_115854_add_enable_token_number_to_order_types_table', '9'),
('240', '2025_10_07_070000_add_reference_id_to_payment_tables', '9'),
('241', '2025_10_07_094006_add_token_number_to_kots_table', '9'),
('242', '2025_10_07_094018_remove_token_number_from_orders_table', '9'),
('243', '2025_10_08_095954_add_columns_paddle_payment_keys_to_superadmin_payment_gateways', '9'),
('244', '2025_10_08_102000_add_paddle_client_token_columns_to_superadmin_payment_gateways', '9'),
('245', '2025_10_09_041734_add_enable_paddle_to_global_settings_table', '9'),
('246', '2025_10_09_065853_remove_payload_from_print_jobs', '9'),
('247', '2025_10_09_084200_add_package_id_to_restaurant_payments_table', '9'),
('248', '2025_10_09_091500_add_paddle_price_ids_to_packages_table', '9'),
('249', '2025_10_10_100000_add_paddle_webhook_secret_to_superadmin_payment_gateways', '9'),
('250', '2025_10_10_122321_add_privacy_policy_link_to_global_settings_table', '9'),
('251', '2025_10_14_071228_add_consent_fields_to_users_table', '9'),
('252', '2025_10_15_045419_sms_count_packages', '10'),
('253', '2023_10_17_073008_create_universal_bundle_settings_table', '11'),
('254', '2025_09_01_073008_create_global_settings_table', '12'),
('255', '2025_09_16_000001_create_cash_register_module', '12'),
('256', '2025_09_16_000001_create_cash_registers_tables', '12'),
('257', '2025_09_18_000002_add_approval_columns_to_cash_register_sessions', '12'),
('258', '2025_09_20_000003_create_denominations_table', '12'),
('259', '2025_09_26_043532_create_cash_register_settings_table', '12'),
('260', '2025_09_29_120001_add_order_id_to_cash_register_transactions_table', '12'),
('261', '2025_10_08_070529_add_open_register_permission_to_cash_register_module', '12'),
('262', '2025_10_08_080000_rename_cash_register_permissions', '12'),
('263', '2025_10_10_120000_drop_currency_from_denominations', '12'),
('264', '2025_10_08_164052_create_kiosks', '13'),
('265', '2025_09_29_095519_create_delivery_platforms_table', '14'),
('266', '2025_10_01_064424_create_menu_item_prices_table', '14'),
('267', '2025_10_14_000001_create_modifier_option_prices_table', '14'),
('268', '2025_10_17_074528_add_delivery_app_id_orders_table', '14'),
('269', '2025_08_25_062431_create_sms_settings_table', '15'),
('270', '2025_08_25_085421_create_sms_permissions_table', '15'),
('271', '2025_08_28_081001_create_sms_notification_settings_table', '15'),
('272', '2025_09_09_045430_create_sms_template_table', '15'),
('273', '2025_09_25_065936_create_sms_usage_logs_table', '15'),
('274', '2025_09_26_055517_add_columns_to_packages_table', '15'),
('275', '2025_07_07_000002_make_menu_item_id_nullable_in_recipes_table copy', '16'),
('276', '2025_09_11_000002_update_cascade_purchase_orders_table', '16'),
('277', '2025_09_23_062535_add_cancel_functionality_to_kot_items_table', '17'),
('278', '2025_10_14_105354_add_order_item_id_to_kot_items_table', '17'),
('279', '2025_10_27_065853_add_from_printer_type', '17'),
('280', '2025_10_28_065738_add_discount_permission_to_existing_roles', '17'),
('281', '2025_11_03_065853_add_from_printer_enum', '17'),
('282', '2025_01_16_000000_add_is_header_disabled_to_cart_header_settings_table', '18'),
('283', '2025_10_30_055800_add_qr_order_location_columns_to_restaurants_table', '18'),
('284', '2025_11_07_065319_add_disable_order_type_popup_to_restaurants_table', '18'),
('285', '2025_11_10_000000_add_show_customer_phone_to_receipt_settings_table', '18'),
('286', '2025_11_10_000001_add_show_payment_status_to_receipt_settings_table', '18'),
('287', '2025_11_10_100652_add_added_by_to_orders_table', '18'),
('288', '2025_09_18_051324_add_limit_columns_to_packages_table', '19'),
('289', '2025_10_28_081340_add_multipos_limit_to_packages_table', '19'),
('290', '2025_11_12_081126_create_table_epay_payments_table', '19'),
('291', '2025_11_13_060849_add_cancelled_by_to_orders_table', '19'),
('292', '2025_11_18_083606_add_modifier_option_prices_column_to_table', '19'),
('293', '2025_12_20_000000_add_cancelled_by_to_kot_items_table', '19'),
('294', '2025_01_01_073008_create_global_settings_table', '20'),
('295', '2025_01_15_000001_create_pos_machines_table', '20'),
('296', '2025_01_15_000002_add_pos_machine_id_to_orders_table', '20'),
('297', '2025_01_15_000003_add_pos_machine_id_to_register_sessions_table', '20'),
('298', '2025_01_15_000004_add_pos_machine_request_notification_setting', '20'),
('299', '2025_10_24_100001_create_multi_pos_module', '20'),
('300', '2025_11_07_093246_add_device_id_to_pos_machines_table', '20'),
('301', '2025_11_24_181400_call_activate_command_for_notification_settings', '20'),
('302', '2025_11_25_000000_create_purchase_order_payments_table', '21'),
('303', '2025_11_25_120001_add_description_photo_to_inventory_items_table', '21');


-- Table structure for table `model_has_permissions`
CREATE TABLE `model_has_permissions` (
  `permission_id` bigint(20) unsigned NOT NULL,
  `model_type` varchar(191) NOT NULL,
  `model_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`),
  CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `model_has_roles`
CREATE TABLE `model_has_roles` (
  `role_id` bigint(20) unsigned NOT NULL,
  `model_type` varchar(191) NOT NULL,
  `model_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`),
  CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `model_has_roles`
INSERT INTO `model_has_roles` VALUES
('1', 'App\\Models\\User', '1'),
('1', 'App\\Models\\User', '10'),
('1', 'App\\Models\\User', '18'),
('1', 'App\\Models\\User', '19'),
('1', 'App\\Models\\User', '20'),
('2', 'App\\Models\\User', '2'),
('4', 'App\\Models\\User', '3'),
('6', 'App\\Models\\User', '4'),
('8', 'App\\Models\\User', '5'),
('10', 'App\\Models\\User', '6'),
('14', 'App\\Models\\User', '7'),
('16', 'App\\Models\\User', '9'),
('22', 'App\\Models\\User', '12'),
('26', 'App\\Models\\User', '13'),
('30', 'App\\Models\\User', '14'),
('34', 'App\\Models\\User', '15'),
('38', 'App\\Models\\User', '16');


-- Table structure for table `modifier_group_translations`
CREATE TABLE `modifier_group_translations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `modifier_group_id` bigint(20) unsigned NOT NULL,
  `locale` varchar(191) NOT NULL,
  `name` varchar(191) DEFAULT NULL,
  `description` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `modifier_group_translations_modifier_group_id_locale_unique` (`modifier_group_id`,`locale`),
  KEY `modifier_group_translations_locale_index` (`locale`),
  CONSTRAINT `modifier_group_translations_modifier_group_id_foreign` FOREIGN KEY (`modifier_group_id`) REFERENCES `modifier_groups` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `modifier_group_translations`
INSERT INTO `modifier_group_translations` VALUES
('1', '1', 'en', 'Coffee', '');


-- Table structure for table `modifier_groups`
CREATE TABLE `modifier_groups` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `modifier_groups_branch_id_foreign` (`branch_id`),
  CONSTRAINT `modifier_groups_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `modifier_groups`
INSERT INTO `modifier_groups` VALUES
('1', 'Coffee', NULL, '5', '2025-10-24 14:50:33', '2025-10-24 14:50:33');


-- Table structure for table `modifier_option_prices`
CREATE TABLE `modifier_option_prices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `modifier_group_id` bigint(20) unsigned NOT NULL,
  `modifier_option_id` bigint(20) unsigned DEFAULT NULL,
  `order_type_id` bigint(20) unsigned DEFAULT NULL,
  `delivery_app_id` bigint(20) unsigned DEFAULT NULL,
  `calculated_price` decimal(16,2) NOT NULL,
  `override_price` decimal(16,2) DEFAULT NULL,
  `final_price` decimal(16,2) NOT NULL DEFAULT 0.00,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `modifier_option_prices_modifier_group_id_foreign` (`modifier_group_id`),
  KEY `modifier_option_prices_modifier_option_id_foreign` (`modifier_option_id`),
  KEY `modifier_option_prices_order_type_id_foreign` (`order_type_id`),
  KEY `modifier_option_prices_delivery_app_id_foreign` (`delivery_app_id`),
  CONSTRAINT `modifier_option_prices_delivery_app_id_foreign` FOREIGN KEY (`delivery_app_id`) REFERENCES `delivery_platforms` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `modifier_option_prices_modifier_group_id_foreign` FOREIGN KEY (`modifier_group_id`) REFERENCES `modifier_groups` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `modifier_option_prices_modifier_option_id_foreign` FOREIGN KEY (`modifier_option_id`) REFERENCES `modifier_options` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `modifier_option_prices_order_type_id_foreign` FOREIGN KEY (`order_type_id`) REFERENCES `order_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `modifier_option_prices`
INSERT INTO `modifier_option_prices` VALUES
('1', '1', '1', '13', NULL, '10.00', NULL, '10.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('2', '1', '1', '14', NULL, '10.00', NULL, '10.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('3', '1', '1', '15', NULL, '10.00', NULL, '10.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('4', '1', '1', '14', '1', '12.00', NULL, '12.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('5', '1', '2', '13', NULL, '25.00', NULL, '25.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('6', '1', '2', '14', NULL, '25.00', NULL, '25.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('7', '1', '2', '15', NULL, '25.00', NULL, '25.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('8', '1', '2', '14', '1', '30.00', NULL, '30.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33');


-- Table structure for table `modifier_options`
CREATE TABLE `modifier_options` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `modifier_group_id` bigint(20) unsigned NOT NULL,
  `name` text DEFAULT NULL,
  `price` decimal(16,2) NOT NULL,
  `is_available` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `is_preselected` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `modifier_options_modifier_group_id_foreign` (`modifier_group_id`),
  CONSTRAINT `modifier_options_modifier_group_id_foreign` FOREIGN KEY (`modifier_group_id`) REFERENCES `modifier_groups` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `modifier_options`
INSERT INTO `modifier_options` VALUES
('1', '1', '{\"en\":\"Small\",\"fr\":\"\"}', '10.00', '1', '0', '0', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('2', '1', '{\"en\":\"Large\",\"fr\":\"\"}', '25.00', '1', '1', '0', '2025-10-24 14:50:33', '2025-10-24 14:50:33');


-- Table structure for table `modules`
CREATE TABLE `modules` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `modules`
INSERT INTO `modules` VALUES
('1', 'Menu', NULL, NULL),
('2', 'Menu Item', NULL, NULL),
('3', 'Item Category', NULL, NULL),
('4', 'Area', NULL, NULL),
('5', 'Table', NULL, NULL),
('6', 'Reservation', NULL, NULL),
('7', 'KOT', NULL, NULL),
('8', 'Order', NULL, NULL),
('9', 'Customer', NULL, NULL),
('10', 'Staff', NULL, NULL),
('11', 'Payment', NULL, NULL),
('12', 'Report', NULL, NULL),
('13', 'Settings', NULL, NULL),
('14', 'Delivery Executive', NULL, NULL),
('15', 'Waiter Request', NULL, NULL),
('16', 'Expense', NULL, NULL),
('17', 'Inventory', '2025-09-17 05:48:09', '2025-09-17 05:48:09'),
('18', 'Kitchen', '2025-09-17 05:48:21', '2025-09-17 05:48:21'),
('19', 'Kiosk', '2025-09-28 12:08:47', '2025-09-28 12:08:47'),
('20', 'Cash Register', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('21', 'Sms', '2025-10-25 07:22:09', '2025-10-25 07:22:09'),
('22', 'MultiPOS', '2025-11-25 10:51:07', '2025-11-25 10:51:07');


-- Table structure for table `moneris_payments`
CREATE TABLE `moneris_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint(20) unsigned NOT NULL,
  `store_id` varchar(255) DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `moneris_ticket` varchar(255) DEFAULT NULL,
  `transaction_no` varchar(255) DEFAULT NULL,
  `order_no` varchar(255) DEFAULT NULL,
  `amount` decimal(10,2) NOT NULL,
  `payment_status` varchar(255) NOT NULL DEFAULT 'pending',
  `response_code` varchar(255) DEFAULT NULL,
  `message` text DEFAULT NULL,
  `full_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`full_response`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `moneris_payments_moneris_ticket_index` (`moneris_ticket`),
  KEY `moneris_payments_branch_id_index` (`branch_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `multi_pos_global_settings`
CREATE TABLE `multi_pos_global_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_code` varchar(191) DEFAULT NULL,
  `supported_until` timestamp NULL DEFAULT NULL,
  `purchased_on` timestamp NULL DEFAULT NULL,
  `license_type` varchar(20) DEFAULT NULL,
  `notify_update` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `multi_pos_global_settings`
INSERT INTO `multi_pos_global_settings` VALUES
('1', NULL, NULL, NULL, NULL, '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07');


-- Table structure for table `notification_settings`
CREATE TABLE `notification_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(191) NOT NULL,
  `send_email` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `notification_settings_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `notification_settings_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=160 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `notification_settings`
INSERT INTO `notification_settings` VALUES
('1', '1', 'order_received', '1', NULL, NULL),
('2', '1', 'reservation_confirmed', '1', NULL, NULL),
('3', '1', 'new_reservation', '1', NULL, NULL),
('4', '1', 'order_bill_sent', '1', NULL, NULL),
('5', '1', 'staff_welcome', '1', NULL, NULL),
('6', '2', 'order_received', '1', NULL, NULL),
('7', '2', 'reservation_confirmed', '1', NULL, NULL),
('8', '2', 'new_reservation', '1', NULL, NULL),
('9', '2', 'order_bill_sent', '1', NULL, NULL),
('10', '2', 'staff_welcome', '1', NULL, NULL),
('11', '3', 'order_received', '1', NULL, NULL),
('12', '3', 'reservation_confirmed', '1', NULL, NULL),
('13', '3', 'new_reservation', '1', NULL, NULL),
('14', '3', 'order_bill_sent', '1', NULL, NULL),
('15', '3', 'staff_welcome', '1', NULL, NULL),
('16', '4', 'order_received', '1', NULL, NULL),
('17', '4', 'reservation_confirmed', '1', NULL, NULL),
('18', '4', 'new_reservation', '1', NULL, NULL),
('19', '4', 'order_bill_sent', '1', NULL, NULL),
('20', '4', 'staff_welcome', '1', NULL, NULL),
('126', '26', 'order_received', '1', NULL, NULL),
('127', '26', 'reservation_confirmed', '1', NULL, NULL),
('128', '26', 'new_reservation', '1', NULL, NULL),
('129', '26', 'order_bill_sent', '1', NULL, NULL),
('130', '26', 'staff_welcome', '1', NULL, NULL),
('131', '27', 'order_received', '1', NULL, NULL),
('132', '27', 'reservation_confirmed', '1', NULL, NULL),
('133', '27', 'new_reservation', '1', NULL, NULL),
('134', '27', 'order_bill_sent', '1', NULL, NULL),
('135', '27', 'staff_welcome', '1', NULL, NULL),
('136', '28', 'order_received', '1', NULL, NULL),
('137', '28', 'reservation_confirmed', '1', NULL, NULL),
('138', '28', 'new_reservation', '1', NULL, NULL),
('139', '28', 'order_bill_sent', '1', NULL, NULL),
('140', '28', 'staff_welcome', '1', NULL, NULL),
('141', '29', 'order_received', '1', NULL, NULL),
('142', '29', 'reservation_confirmed', '1', NULL, NULL),
('143', '29', 'new_reservation', '1', NULL, NULL),
('144', '29', 'order_bill_sent', '1', NULL, NULL),
('145', '29', 'staff_welcome', '1', NULL, NULL),
('146', '30', 'order_received', '1', NULL, NULL),
('147', '30', 'reservation_confirmed', '1', NULL, NULL),
('148', '30', 'new_reservation', '1', NULL, NULL),
('149', '30', 'order_bill_sent', '1', NULL, NULL),
('150', '30', 'staff_welcome', '1', NULL, NULL),
('151', '1', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('152', '2', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('153', '3', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('154', '4', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('155', '26', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('156', '27', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('157', '28', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('158', '29', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('159', '30', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07');


-- Table structure for table `offline_payment_methods`
CREATE TABLE `offline_payment_methods` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `offline_payment_methods_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `offline_payment_methods_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `offline_plan_changes`
CREATE TABLE `offline_plan_changes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `package_id` bigint(20) unsigned NOT NULL,
  `package_type` varchar(191) NOT NULL,
  `amount` decimal(16,2) DEFAULT NULL,
  `pay_date` date DEFAULT NULL,
  `next_pay_date` date DEFAULT NULL,
  `invoice_id` bigint(20) unsigned DEFAULT NULL,
  `offline_method_id` bigint(20) unsigned DEFAULT NULL,
  `file_name` varchar(191) DEFAULT NULL,
  `status` enum('verified','pending','rejected') NOT NULL DEFAULT 'pending',
  `remark` text DEFAULT NULL,
  `description` mediumtext NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `xzodo_status` varchar(100) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `offline_plan_changes_restaurant_id_foreign` (`restaurant_id`),
  KEY `offline_plan_changes_package_id_foreign` (`package_id`),
  KEY `offline_plan_changes_invoice_id_foreign` (`invoice_id`),
  KEY `offline_plan_changes_offline_method_id_foreign` (`offline_method_id`),
  CONSTRAINT `offline_plan_changes_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `global_invoices` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `offline_plan_changes_offline_method_id_foreign` FOREIGN KEY (`offline_method_id`) REFERENCES `offline_payment_methods` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `offline_plan_changes_package_id_foreign` FOREIGN KEY (`package_id`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `offline_plan_changes_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `onboarding_steps`
CREATE TABLE `onboarding_steps` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned NOT NULL,
  `add_area_completed` tinyint(1) NOT NULL DEFAULT 0,
  `add_table_completed` tinyint(1) NOT NULL DEFAULT 0,
  `add_menu_completed` tinyint(1) NOT NULL DEFAULT 0,
  `add_menu_items_completed` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `onboarding_steps_branch_id_foreign` (`branch_id`),
  CONSTRAINT `onboarding_steps_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `onboarding_steps`
INSERT INTO `onboarding_steps` VALUES
('1', '1', '0', '0', '0', '0', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('2', '1', '0', '0', '0', '0', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('3', '2', '0', '0', '0', '0', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('4', '2', '0', '0', '0', '0', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('5', '3', '0', '0', '0', '0', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('6', '4', '1', '1', '1', '1', '2025-09-20 12:56:44', '2025-09-20 13:00:00'),
('7', '5', '1', '1', '1', '1', '2025-10-07 15:00:09', '2025-10-07 15:05:09'),
('29', '27', '1', '1', '0', '0', '2025-11-07 17:23:03', '2025-11-15 13:14:04'),
('30', '28', '0', '0', '0', '0', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('31', '29', '1', '1', '0', '0', '2025-11-12 14:15:50', '2025-11-12 14:20:17'),
('32', '30', '0', '0', '0', '0', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('33', '31', '0', '0', '0', '0', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `order_charges`
CREATE TABLE `order_charges` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint(20) unsigned NOT NULL,
  `charge_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `order_charges_order_id_foreign` (`order_id`),
  KEY `order_charges_charge_id_foreign` (`charge_id`),
  CONSTRAINT `order_charges_charge_id_foreign` FOREIGN KEY (`charge_id`) REFERENCES `restaurant_charges` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_charges_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `order_histories`
CREATE TABLE `order_histories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint(20) unsigned NOT NULL,
  `status` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_histories_order_id_foreign` (`order_id`),
  CONSTRAINT `order_histories_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `order_item_modifier_options`
CREATE TABLE `order_item_modifier_options` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_item_id` bigint(20) unsigned NOT NULL,
  `modifier_option_id` bigint(20) unsigned DEFAULT NULL,
  `modifier_option_name` text DEFAULT NULL,
  `modifier_option_price` decimal(10,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_item_modifier_options_order_item_id_foreign` (`order_item_id`),
  KEY `order_item_modifier_options_modifier_option_id_foreign` (`modifier_option_id`),
  CONSTRAINT `order_item_modifier_options_modifier_option_id_foreign` FOREIGN KEY (`modifier_option_id`) REFERENCES `modifier_options` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `order_item_modifier_options_order_item_id_foreign` FOREIGN KEY (`order_item_id`) REFERENCES `order_items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `order_item_modifier_options`
INSERT INTO `order_item_modifier_options` VALUES
('1', '64', '1', '{\"en\":\"Small\",\"fr\":\"\"}', '10.00', NULL, NULL),
('2', '75', '1', '{\"en\":\"Small\",\"fr\":\"\"}', '10.00', NULL, NULL),
('3', '76', '2', '{\"en\":\"Large\",\"fr\":\"\"}', '25.00', NULL, NULL);


-- Table structure for table `order_items`
CREATE TABLE `order_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `transaction_id` varchar(191) DEFAULT NULL,
  `menu_item_id` bigint(20) unsigned NOT NULL,
  `menu_item_variation_id` bigint(20) unsigned DEFAULT NULL,
  `note` text DEFAULT NULL,
  `quantity` int(11) NOT NULL,
  `price` decimal(16,2) NOT NULL,
  `amount` decimal(16,2) NOT NULL,
  `tax_amount` decimal(15,2) DEFAULT NULL,
  `tax_percentage` decimal(8,4) DEFAULT NULL,
  `tax_breakup` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tax_breakup`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_items_order_id_foreign` (`order_id`),
  KEY `order_items_menu_item_id_foreign` (`menu_item_id`),
  KEY `order_items_menu_item_variation_id_foreign` (`menu_item_variation_id`),
  KEY `order_items_branch_id_foreign` (`branch_id`),
  CONSTRAINT `order_items_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `order_items_menu_item_id_foreign` FOREIGN KEY (`menu_item_id`) REFERENCES `menu_items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_items_menu_item_variation_id_foreign` FOREIGN KEY (`menu_item_variation_id`) REFERENCES `menu_item_variations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_items_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=136 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `order_items`
INSERT INTO `order_items` VALUES
('3', '3', '1', NULL, '251', NULL, NULL, '1', '269.52', '269.52', NULL, NULL, NULL, '2025-09-20 12:27:12', '2025-09-20 12:27:12'),
('4', '3', '1', NULL, '252', NULL, NULL, '1', '183.50', '183.50', NULL, NULL, NULL, '2025-09-20 12:27:12', '2025-09-20 12:27:12'),
('5', '4', '2', NULL, '501', NULL, '', '1', '100.00', '100.00', NULL, NULL, NULL, '2025-09-20 13:00:18', '2025-09-20 13:00:18'),
('8', '5', '4', 'TXN_68e62861d3eb76.37324333_776395', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-08 09:01:22', '2025-10-08 09:01:22'),
('9', '5', '4', 'TXN_68e62861d3eb76.37324333_776395', '504', '6', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-08 09:01:22', '2025-10-08 09:01:22'),
('10', '5', '4', 'TXN_68e62861d3eb76.37324333_776395', '506', '10', '', '1', '500.00', '500.00', NULL, NULL, NULL, '2025-10-08 09:01:22', '2025-10-08 09:01:22'),
('11', '5', '5', 'TXN_68e63e3e517e69.31196617_301189', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-08 10:34:38', '2025-10-08 10:34:38'),
('12', '5', '6', NULL, '503', '2', NULL, '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-15 12:32:51', '2025-10-15 12:32:51'),
('13', '5', '7', NULL, '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-15 12:34:09', '2025-10-15 12:34:09'),
('14', '5', '8', 'KIOSK_TXN_68ef9521a16ec0.32691058', '503', NULL, NULL, '1', '0.00', '0.00', NULL, NULL, NULL, '2025-10-15 12:35:45', '2025-10-15 12:35:45'),
('15', '5', '8', 'KIOSK_TXN_68ef9521a16ec0.32691058', '504', NULL, NULL, '2', '0.00', '0.00', NULL, NULL, NULL, '2025-10-15 12:35:45', '2025-10-15 12:35:45'),
('16', '5', '9', 'KIOSK_TXN_68ef95b8481505.85338088', '503', '3', NULL, '2', '400.00', '800.00', NULL, NULL, NULL, '2025-10-15 12:38:16', '2025-10-15 12:38:16'),
('17', '5', '9', 'KIOSK_TXN_68ef95b8481505.85338088', '503', '2', NULL, '2', '250.00', '500.00', NULL, NULL, NULL, '2025-10-15 12:38:16', '2025-10-15 12:38:16'),
('18', '5', '10', NULL, '504', '4', NULL, '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-15 12:40:33', '2025-10-15 12:40:33'),
('19', '5', '11', 'TXN_68f0dec5bc7488.23372968_650415', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-16 12:02:13', '2025-10-16 12:02:13'),
('20', '5', '12', 'TXN_68f0e5e92bf222.61353201_589451', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-16 12:32:41', '2025-10-16 12:32:41'),
('21', '5', '13', 'TXN_68f0e7ed518392.11253318_184380', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-16 12:41:17', '2025-10-16 12:41:17'),
('22', '5', '14', 'TXN_68f0e98f88fcf0.97081858_196506', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-16 12:48:15', '2025-10-16 12:48:15'),
('24', '5', '16', 'TXN_68f0f1253d9812.85311588_548223', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 13:20:37', '2025-10-16 13:20:37'),
('25', '5', '17', 'TXN_68f0f342b770d2.44028867_382578', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 13:29:38', '2025-10-16 13:29:38'),
('26', '5', '18', 'TXN_68f0f92d3d7cb8.57476962_970704', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-16 13:54:53', '2025-10-16 13:54:53'),
('27', '5', '19', 'TXN_68f0f9a7428d31.03319738_156288', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 13:56:55', '2025-10-16 13:56:55'),
('28', '5', '20', 'TXN_68f0fa8b5df871.67446827_444391', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 14:00:43', '2025-10-16 14:00:43'),
('29', '5', '21', 'TXN_68f0ff436d7e31.26322864_733895', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 14:20:51', '2025-10-16 14:20:51'),
('30', '5', '22', 'TXN_68f11186a40d88.85359813_642469', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-16 15:38:46', '2025-10-16 15:38:46'),
('31', '5', '23', 'TXN_68f11493951c64.13647932_350258', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-16 15:51:47', '2025-10-16 15:51:47'),
('32', '5', '24', 'TXN_68f11df6b45478.84597662_879041', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 16:31:50', '2025-10-16 16:31:50'),
('33', '5', '25', 'TXN_68f11f5c936752.69173031_207616', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 16:37:48', '2025-10-16 16:37:48'),
('34', '5', '26', 'TXN_68f12534eac280.48739786_102422', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 17:02:45', '2025-10-16 17:02:45'),
('35', '3', '27', 'TXN_68f12d9ec2a981.97878175_856288', '251', NULL, '', '2', '269.52', '539.04', NULL, NULL, NULL, '2025-10-16 17:38:38', '2025-10-16 17:38:38'),
('36', '5', '28', 'TXN_68f12e35eb2419.11533676_187640', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-16 17:41:10', '2025-10-16 17:41:10'),
('37', '5', '28', 'TXN_68f12e35eb2419.11533676_187640', '505', '8', '', '1', '200.00', '200.00', NULL, NULL, NULL, '2025-10-16 17:41:10', '2025-10-16 17:41:10'),
('38', '5', '29', 'TXN_68f2d1c10efc73.86184169_610422', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-17 23:31:13', '2025-10-17 23:31:13'),
('39', '5', '29', 'TXN_68f2d1c10efc73.86184169_610422', '504', '6', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-17 23:31:13', '2025-10-17 23:31:13'),
('40', '5', '30', NULL, '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-17 23:40:44', '2025-10-17 23:40:44'),
('41', '5', '30', NULL, '505', '8', NULL, '1', '200.00', '200.00', NULL, NULL, NULL, '2025-10-17 23:40:44', '2025-10-17 23:40:44'),
('42', '5', '31', NULL, '505', '8', NULL, '1', '200.00', '200.00', NULL, NULL, NULL, '2025-10-17 23:42:52', '2025-10-17 23:42:52'),
('43', '5', '32', NULL, '507', NULL, '', '2', '60.00', '120.00', NULL, NULL, NULL, '2025-10-17 23:43:33', '2025-10-17 23:43:33'),
('44', '5', '33', 'TXN_68f2d4f8bb1f42.34426374_425498', '504', '5', '', '1', '210.00', '210.00', NULL, NULL, NULL, '2025-10-17 23:44:56', '2025-10-17 23:44:56'),
('45', '5', '35', NULL, '507', NULL, '', '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-17 23:48:25', '2025-10-17 23:48:25'),
('46', '5', '36', NULL, '503', '1', NULL, '3', '130.00', '390.00', NULL, NULL, NULL, '2025-10-17 23:49:05', '2025-10-17 23:49:05'),
('47', '5', '37', NULL, '505', '8', NULL, '1', '200.00', '200.00', NULL, NULL, NULL, '2025-10-17 23:51:30', '2025-10-17 23:51:30'),
('48', '5', '37', NULL, '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-17 23:51:30', '2025-10-17 23:51:30'),
('49', '5', '38', 'KIOSK_TXN_68f2d73349bab0.75415852', '503', '2', NULL, '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-17 23:54:27', '2025-10-17 23:54:27'),
('50', '5', '38', 'KIOSK_TXN_68f2d73349bab0.75415852', '504', '6', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-17 23:54:27', '2025-10-17 23:54:27'),
('51', '5', '39', NULL, '503', '1', NULL, '3', '130.00', '390.00', NULL, NULL, NULL, '2025-10-18 00:05:52', '2025-10-18 00:05:52'),
('52', '5', '40', NULL, '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-18 00:07:59', '2025-10-18 00:07:59'),
('53', '5', '41', NULL, '503', '1', NULL, '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-18 00:09:20', '2025-10-18 00:09:20'),
('54', '5', '42', NULL, '504', '5', NULL, '1', '210.00', '210.00', NULL, NULL, NULL, '2025-10-18 17:25:40', '2025-10-18 17:25:40'),
('55', '5', '43', 'KIOSK_TXN_68f3ce74859f57.71863120', '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-18 17:29:24', '2025-10-18 17:29:24'),
('56', '5', '44', NULL, '503', '3', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-18 17:45:50', '2025-10-18 17:45:50'),
('57', '5', '45', 'TXN_68f3dc48227c63.69436210_587956', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-18 18:28:24', '2025-10-18 18:28:24'),
('58', '5', '46', 'TXN_68fae377308866.64667514_242686', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 02:24:55', '2025-10-24 02:24:55'),
('59', '5', '47', 'TXN_68fae4436c6376.32408368_690123', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 02:28:19', '2025-10-24 02:28:19'),
('60', '5', '48', 'TXN_68fae4d68a5be2.70313865_172721', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 02:30:46', '2025-10-24 02:30:46'),
('61', '5', '49', 'TXN_68fae5a469e1f0.38965568_491018', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 02:34:12', '2025-10-24 02:34:12'),
('62', '5', '50', 'KIOSK_TXN_68fae6f37dcbb1.17912335', '503', '3', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 02:39:47', '2025-10-24 02:39:47'),
('63', '5', '51', 'TXN_68fb33264034c1.82188861_150016', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 08:04:54', '2025-10-24 08:04:54'),
('64', '5', '52', 'TXN_68fb936144c5c0.85366552_757268', '509', '13', '', '1', '20.00', '30.00', NULL, NULL, NULL, '2025-10-24 14:55:29', '2025-10-24 14:55:29'),
('65', '5', '54', NULL, '503', '3', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 15:12:01', '2025-10-24 15:12:01'),
('66', '5', '55', NULL, '503', '3', NULL, '2', '400.00', '800.00', NULL, NULL, NULL, '2025-10-24 15:17:55', '2025-10-24 15:17:55'),
('67', '5', '55', NULL, '505', '7', NULL, '2', '110.00', '220.00', NULL, NULL, NULL, '2025-10-24 15:17:55', '2025-10-24 15:17:55'),
('68', '5', '55', NULL, '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-24 15:17:55', '2025-10-24 15:17:55'),
('69', '5', '56', 'KIOSK_TXN_68fb990c30d636.60122123', '503', '3', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 15:19:40', '2025-10-24 15:19:40'),
('70', '5', '56', 'KIOSK_TXN_68fb990c30d636.60122123', '504', '5', NULL, '1', '210.00', '210.00', NULL, NULL, NULL, '2025-10-24 15:19:40', '2025-10-24 15:19:40'),
('71', '3', '57', 'TXN_68fc57f0399db1.50117952_364289', '252', NULL, '', '2', '183.50', '367.00', NULL, NULL, NULL, '2025-10-25 04:54:08', '2025-10-25 04:54:08'),
('72', '5', '58', 'TXN_68fc6d77230d03.96692444_378586', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-25 06:25:59', '2025-10-25 06:25:59'),
('73', '5', '59', 'TXN_68fc6e5acfbd48.90231901_253331', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-25 06:29:46', '2025-10-25 06:29:46'),
('74', '5', '60', 'TXN_68fc77830b1da2.56348875_457592', '504', '6', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-25 07:08:51', '2025-10-25 07:08:51'),
('75', '5', '60', 'TXN_68fc77830b1da2.56348875_457592', '509', '13', '', '1', '20.00', '30.00', NULL, NULL, NULL, '2025-10-25 07:08:51', '2025-10-25 07:08:51'),
('76', '5', '61', 'TXN_68fccb07228e12.18684759_803076', '510', '15', '', '1', '200.00', '205.00', NULL, NULL, NULL, '2025-10-25 13:05:11', '2025-10-25 13:05:11'),
('77', '5', '62', 'TXN_68fccb611eea08.93188830_842371', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-25 13:06:41', '2025-10-25 13:06:41'),
('78', '5', '63', NULL, '507', NULL, NULL, '3', '60.00', '180.00', NULL, NULL, NULL, '2025-10-25 13:22:55', '2025-10-25 13:22:55'),
('80', '5', '64', NULL, '504', '6', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-25 13:31:04', '2025-10-25 13:31:04'),
('81', '5', '65', 'TXN_68ff2e669fdda2.19244022_537360', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-27 08:33:42', '2025-10-27 08:33:42'),
('82', '5', '66', 'TXN_68ff3ee7afeeb1.84124161_154687', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-27 09:44:07', '2025-10-27 09:44:07'),
('83', '5', '67', 'TXN_6904cd1be4d188.53805857_163380', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-31 14:52:12', '2025-10-31 14:52:12'),
('84', '5', '68', 'TXN_690cb00a55da05.48803001_906465', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-11-06 14:26:18', '2025-11-06 14:26:18'),
('85', '5', '69', 'TXN_690efbfc54c7b5.77165461_252028', '510', '14', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-11-08 08:14:52', '2025-11-08 08:14:52'),
('86', '5', '70', 'TXN_6925767fc285f2.33668884_993165', '510', '14', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-11-25 09:27:27', '2025-11-25 09:27:27'),
('87', '3', '71', 'TXN_692586a92d46a5.98952834_872162', '252', NULL, '', '1', '183.50', '183.50', NULL, NULL, NULL, '2025-11-25 10:36:25', '2025-11-25 10:36:25'),
('88', '5', '72', NULL, '506', '9', NULL, '1', '300.00', '300.00', NULL, NULL, NULL, '2025-11-25 12:10:42', '2025-11-25 12:10:42'),
('92', '5', '76', 'TXN_6932ddefdc6243.09503516_260819', '506', '9', '', '1', '300.00', '300.00', NULL, NULL, NULL, '2025-12-05 13:28:15', '2025-12-05 13:28:15'),
('93', '5', '77', 'TXN_6932dee63ca6d1.81565417_268981', '506', '9', '', '1', '300.00', '300.00', NULL, NULL, NULL, '2025-12-05 13:32:22', '2025-12-05 13:32:22'),
('94', '5', '78', 'TXN_6932e1bc838794.33266014_816085', '506', '9', '', '1', '300.00', '300.00', NULL, NULL, NULL, '2025-12-05 13:44:28', '2025-12-05 13:44:28'),
('95', '5', '79', 'TXN_6932e1bcc15960.50076823_199125', '506', '9', '', '1', '300.00', '300.00', NULL, NULL, NULL, '2025-12-05 13:44:28', '2025-12-05 13:44:28'),
('97', '5', '81', 'TXN_6932e1ea993ab2.52034547_770551', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 13:45:14', '2025-12-05 13:45:14'),
('98', '5', '82', 'TXN_6932e3c7bd37c3.77506780_573790', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 13:53:11', '2025-12-05 13:53:11'),
('99', '5', '83', 'TXN_6932e3c8086be8.17034457_419098', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 13:53:12', '2025-12-05 13:53:12'),
('101', '5', '85', 'TXN_6932e43aa93f99.70125341_121227', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 13:55:06', '2025-12-05 13:55:06'),
('102', '5', '86', 'TXN_6932e54e363cc3.71918549_672572', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 13:59:42', '2025-12-05 13:59:42'),
('103', '5', '87', 'TXN_6932e75903bd25.69542716_485951', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 14:08:25', '2025-12-05 14:08:25'),
('104', '5', '88', 'TXN_6932e75941ecd8.86626353_840944', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 14:08:25', '2025-12-05 14:08:25'),
('105', '5', '89', 'TXN_6932e839295939.20248470_513786', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 14:12:09', '2025-12-05 14:12:09'),
('106', '5', '90', 'TXN_6932e91223ac85.62765883_529397', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 14:15:46', '2025-12-05 14:15:46'),
('107', '5', '91', 'TXN_6932e930a80770.71102940_641125', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-12-05 14:16:16', '2025-12-05 14:16:16'),
('108', '5', '92', 'TXN_6932ebafadfc47.36423330_330133', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-12-05 14:26:55', '2025-12-05 14:26:55'),
('109', '5', '93', 'TXN_6932ebff5f7142.07903884_241789', '550', NULL, '', '2', '375.00', '750.00', NULL, NULL, NULL, '2025-12-05 14:28:15', '2025-12-05 14:28:15'),
('110', '5', '94', 'TXN_6932ed348700a1.00568750_549817', '504', '5', '', '1', '210.00', '210.00', NULL, NULL, NULL, '2025-12-05 14:33:24', '2025-12-05 14:33:24'),
('111', '5', '95', 'TXN_6932ed931dab68.69062563_299605', '621', NULL, '', '1', '350.00', '350.00', NULL, NULL, NULL, '2025-12-05 14:34:59', '2025-12-05 14:34:59'),
('112', '5', '95', 'TXN_6932ed931dab68.69062563_299605', '631', NULL, '', '1', '50.00', '50.00', NULL, NULL, NULL, '2025-12-05 14:34:59', '2025-12-05 14:34:59'),
('113', '5', '96', 'TXN_6932f68edfdba3.02961654_626918', '552', NULL, '', '1', '375.00', '375.00', NULL, NULL, NULL, '2025-12-05 15:13:18', '2025-12-05 15:13:18'),
('114', '5', '97', 'TXN_6932f856ce0e08.41440604_534159', '552', NULL, '', '1', '375.00', '375.00', NULL, NULL, NULL, '2025-12-05 15:20:54', '2025-12-05 15:20:54'),
('115', '5', '98', 'TXN_6932f8571947e1.08012106_620541', '552', NULL, '', '1', '375.00', '375.00', NULL, NULL, NULL, '2025-12-05 15:20:55', '2025-12-05 15:20:55'),
('116', '5', '99', 'TXN_6932f877b24119.20091784_543037', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 15:21:27', '2025-12-05 15:21:27'),
('118', '5', '101', 'TXN_6932fb42046d82.32438552_190514', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-05 15:33:22', '2025-12-05 15:33:22'),
('119', '5', '102', 'TXN_6932fe62344de3.91701144_657477', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-12-05 15:46:42', '2025-12-05 15:46:42'),
('123', '31', '103', NULL, '730', NULL, NULL, '1', '7.99', '7.99', NULL, NULL, NULL, '2025-12-05 20:17:37', '2025-12-05 20:17:37'),
('124', '31', '103', NULL, '729', NULL, NULL, '1', '7.99', '7.99', NULL, NULL, NULL, '2025-12-05 20:17:37', '2025-12-05 20:17:37'),
('125', '31', '103', NULL, '731', NULL, NULL, '1', '8.49', '8.49', NULL, NULL, NULL, '2025-12-05 20:17:37', '2025-12-05 20:17:37'),
('127', '5', '105', 'TXN_6933d3c0863114.27345088_841267', '508', NULL, '', '1', '90.00', '90.00', NULL, NULL, NULL, '2025-12-06 06:57:04', '2025-12-06 06:57:04'),
('128', '5', '106', 'TXN_69356ebf48ce62.28860031_300199', '508', NULL, '', '1', '90.00', '90.00', NULL, NULL, NULL, '2025-12-07 12:10:39', '2025-12-07 12:10:39'),
('129', '5', '106', 'TXN_69356ebf48ce62.28860031_300199', '512', NULL, '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-12-07 12:10:39', '2025-12-07 12:10:39'),
('130', '5', '107', 'TXN_693571089715b0.09735579_106226', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-12-07 12:20:24', '2025-12-07 12:20:24'),
('132', '5', '109', 'TXN_693572940d33e4.96759398_811228', '504', '5', '', '1', '210.00', '210.00', NULL, NULL, NULL, '2025-12-07 12:27:00', '2025-12-07 12:27:00'),
('133', '5', '110', 'TXN_6935779a9af5f5.91508397_340569', '504', '5', '', '1', '210.00', '210.00', NULL, NULL, NULL, '2025-12-07 12:48:26', '2025-12-07 12:48:26'),
('134', '5', '111', 'TXN_69357a182a5757.46828756_724843', '504', '5', '', '1', '210.00', '210.00', NULL, NULL, NULL, '2025-12-07 12:59:04', '2025-12-07 12:59:04'),
('135', '5', '112', 'KIOSK_TXN_6939467dca55d0.49387041', '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-12-10 10:07:57', '2025-12-10 10:07:57');


-- Table structure for table `order_number_settings`
CREATE TABLE `order_number_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned NOT NULL,
  `enable_feature` tinyint(1) NOT NULL DEFAULT 0,
  `prefix` varchar(191) NOT NULL DEFAULT 'ORD',
  `digits` tinyint(3) unsigned NOT NULL DEFAULT 3,
  `separator` varchar(191) NOT NULL DEFAULT '-',
  `include_date` tinyint(1) NOT NULL DEFAULT 0,
  `show_year` tinyint(1) NOT NULL DEFAULT 0,
  `show_month` tinyint(1) NOT NULL DEFAULT 0,
  `show_day` tinyint(1) NOT NULL DEFAULT 0,
  `show_time` tinyint(1) NOT NULL DEFAULT 0,
  `reset_daily` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_number_settings_branch_id_foreign` (`branch_id`),
  CONSTRAINT `order_number_settings_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `order_places`
CREATE TABLE `order_places` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `printer_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `type` varchar(191) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_places_branch_id_foreign` (`branch_id`),
  KEY `order_places_printer_id_foreign` (`printer_id`),
  CONSTRAINT `order_places_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_places_printer_id_foreign` FOREIGN KEY (`printer_id`) REFERENCES `printers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `order_places`
INSERT INTO `order_places` VALUES
('1', NULL, '1', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('2', NULL, '2', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('3', NULL, '3', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('4', NULL, '4', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('5', NULL, '5', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('27', NULL, '27', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('28', NULL, '28', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('29', NULL, '29', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('30', NULL, '30', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('31', NULL, '31', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `order_taxes`
CREATE TABLE `order_taxes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint(20) unsigned NOT NULL,
  `tax_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `order_taxes_order_id_foreign` (`order_id`),
  KEY `order_taxes_tax_id_foreign` (`tax_id`),
  CONSTRAINT `order_taxes_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_taxes_tax_id_foreign` FOREIGN KEY (`tax_id`) REFERENCES `taxes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=211 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `order_taxes`
INSERT INTO `order_taxes` VALUES
('1', '3', '6'),
('2', '3', '7'),
('3', '4', '6'),
('4', '4', '7'),
('5', '5', '6'),
('6', '5', '7'),
('7', '6', '6'),
('8', '6', '7'),
('9', '7', '6'),
('10', '7', '7'),
('11', '8', '6'),
('12', '8', '7'),
('13', '9', '6'),
('14', '9', '7'),
('15', '10', '6'),
('16', '10', '7'),
('17', '11', '6'),
('18', '11', '7'),
('19', '12', '6'),
('20', '12', '7'),
('21', '13', '6'),
('22', '13', '7'),
('23', '14', '6'),
('24', '14', '7'),
('27', '16', '6'),
('28', '16', '7'),
('29', '17', '6'),
('30', '17', '7'),
('31', '18', '6'),
('32', '18', '7'),
('33', '19', '6'),
('34', '19', '7'),
('35', '20', '6'),
('36', '20', '7'),
('37', '21', '6'),
('38', '21', '7'),
('39', '22', '6'),
('40', '22', '7'),
('41', '23', '6'),
('42', '23', '7'),
('43', '24', '6'),
('44', '24', '7'),
('45', '25', '6'),
('46', '25', '7'),
('47', '26', '6'),
('48', '26', '7'),
('49', '28', '6'),
('50', '28', '7'),
('51', '29', '6'),
('52', '29', '7'),
('53', '30', '6'),
('54', '30', '7'),
('55', '31', '6'),
('56', '31', '7'),
('57', '32', '6'),
('58', '32', '7'),
('59', '33', '6'),
('60', '33', '7'),
('61', '35', '6'),
('62', '35', '7'),
('63', '36', '6'),
('64', '36', '7'),
('65', '37', '6'),
('66', '37', '7'),
('67', '38', '6'),
('68', '38', '7'),
('69', '39', '6'),
('70', '39', '7'),
('71', '40', '6'),
('72', '40', '7'),
('73', '41', '6'),
('74', '41', '7'),
('75', '42', '6'),
('76', '42', '7'),
('77', '43', '6'),
('78', '43', '7'),
('79', '44', '6'),
('80', '44', '7'),
('81', '45', '6'),
('82', '45', '7'),
('83', '46', '6'),
('84', '46', '7'),
('85', '47', '6'),
('86', '47', '7'),
('87', '48', '6'),
('88', '48', '7'),
('89', '49', '6'),
('90', '49', '7'),
('91', '50', '6'),
('92', '50', '7'),
('93', '51', '6'),
('94', '51', '7'),
('95', '52', '6'),
('96', '52', '7'),
('97', '54', '6'),
('98', '54', '7'),
('99', '55', '6'),
('100', '55', '7'),
('101', '56', '6'),
('102', '56', '7'),
('103', '58', '6'),
('104', '58', '7'),
('105', '59', '6'),
('106', '59', '7'),
('107', '60', '6'),
('108', '60', '7'),
('109', '61', '6'),
('110', '61', '7'),
('111', '62', '6'),
('112', '62', '7'),
('113', '63', '6'),
('114', '63', '7'),
('117', '64', '6'),
('118', '64', '7'),
('119', '65', '6'),
('120', '65', '7'),
('121', '66', '6'),
('122', '66', '7'),
('123', '67', '6'),
('124', '67', '7'),
('125', '68', '6'),
('126', '68', '7'),
('127', '69', '6'),
('128', '69', '7'),
('129', '70', '6'),
('130', '70', '7'),
('131', '72', '6'),
('132', '72', '7'),
('133', '73', '6'),
('134', '73', '7'),
('135', '74', '6'),
('136', '74', '7'),
('137', '75', '6'),
('138', '75', '7'),
('139', '76', '6'),
('140', '76', '7'),
('141', '77', '6'),
('142', '77', '7'),
('143', '78', '6'),
('144', '78', '7'),
('145', '79', '6'),
('146', '79', '7'),
('147', '80', '6'),
('148', '80', '7'),
('149', '81', '6'),
('150', '81', '7'),
('151', '82', '6'),
('152', '82', '7'),
('153', '83', '6'),
('154', '83', '7'),
('155', '84', '6'),
('156', '84', '7'),
('157', '85', '6'),
('158', '85', '7'),
('159', '86', '6'),
('160', '86', '7'),
('161', '87', '6'),
('162', '87', '7'),
('163', '88', '6'),
('164', '88', '7'),
('165', '89', '6'),
('166', '89', '7'),
('167', '90', '6'),
('168', '90', '7'),
('169', '91', '6'),
('170', '91', '7'),
('171', '92', '6'),
('172', '92', '7'),
('173', '93', '6'),
('174', '93', '7'),
('175', '94', '6'),
('176', '94', '7'),
('177', '95', '6'),
('178', '95', '7'),
('179', '96', '6'),
('180', '96', '7'),
('181', '97', '6'),
('182', '97', '7'),
('183', '98', '6'),
('184', '98', '7'),
('185', '99', '6'),
('186', '99', '7'),
('187', '100', '6'),
('188', '100', '7'),
('189', '101', '6'),
('190', '101', '7'),
('191', '102', '6'),
('192', '102', '7'),
('193', '104', '6'),
('194', '104', '7'),
('195', '105', '6'),
('196', '105', '7'),
('197', '106', '6'),
('198', '106', '7'),
('199', '107', '6'),
('200', '107', '7'),
('201', '108', '6'),
('202', '108', '7'),
('203', '109', '6'),
('204', '109', '7'),
('205', '110', '6'),
('206', '110', '7'),
('207', '111', '6'),
('208', '111', '7'),
('209', '112', '6'),
('210', '112', '7');


-- Table structure for table `order_types`
CREATE TABLE `order_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `order_type_name` varchar(191) NOT NULL,
  `slug` varchar(191) NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `enable_token_number` tinyint(1) NOT NULL DEFAULT 0,
  `type` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_types_branch_id_foreign` (`branch_id`),
  CONSTRAINT `order_types_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=94 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `order_types`
INSERT INTO `order_types` VALUES
('1', '1', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('2', '1', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('3', '1', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('4', '2', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('5', '2', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('6', '2', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('7', '3', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('8', '3', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('9', '3', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('10', '4', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('11', '4', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('12', '4', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('13', '5', 'Dine In', 'dine_in', '1', '1', '1', 'dine_in', '2025-10-07 15:00:09', '2025-10-17 23:46:48'),
('14', '5', 'Delivery', 'delivery', '1', '1', '1', 'delivery', '2025-10-07 15:00:09', '2025-10-17 23:46:48'),
('15', '5', 'Pickup', 'pickup', '1', '1', '1', 'pickup', '2025-10-07 15:00:09', '2025-10-17 23:46:48'),
('79', '27', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('80', '27', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('81', '27', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('82', '28', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('83', '28', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('84', '28', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('85', '29', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('86', '29', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('87', '29', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('88', '30', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('89', '30', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('90', '30', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('91', '31', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('92', '31', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('93', '31', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `orders`
CREATE TABLE `orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` char(36) DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `pos_machine_id` bigint(20) unsigned DEFAULT NULL,
  `order_number` varchar(191) NOT NULL,
  `formatted_order_number` varchar(191) DEFAULT NULL,
  `date_time` datetime NOT NULL,
  `table_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `number_of_pax` int(11) DEFAULT NULL,
  `waiter_id` bigint(20) unsigned DEFAULT NULL,
  `added_by` bigint(20) unsigned DEFAULT NULL,
  `cancelled_by` bigint(20) unsigned DEFAULT NULL,
  `status` enum('draft','kot','billed','paid','canceled','payment_due','ready','out_for_delivery','delivered','pending_verification') NOT NULL DEFAULT 'kot',
  `placed_via` enum('pos','shop','kiosk') DEFAULT NULL,
  `sub_total` decimal(16,2) NOT NULL,
  `tip_amount` decimal(16,2) DEFAULT 0.00,
  `total_tax_amount` decimal(16,2) DEFAULT 0.00,
  `tax_mode` varchar(191) DEFAULT NULL,
  `tip_note` text DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `amount_paid` decimal(16,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `order_type_id` bigint(20) unsigned DEFAULT NULL,
  `delivery_app_id` bigint(20) unsigned DEFAULT NULL,
  `custom_order_type_name` varchar(191) DEFAULT NULL,
  `order_type` varchar(191) DEFAULT NULL,
  `pickup_date` datetime DEFAULT NULL,
  `delivery_executive_id` bigint(20) unsigned DEFAULT NULL,
  `delivery_address` text DEFAULT NULL,
  `delivery_time` datetime DEFAULT NULL,
  `estimated_delivery_time` datetime DEFAULT NULL,
  `split_type` enum('even','custom','items') DEFAULT NULL,
  `discount_type` varchar(191) DEFAULT NULL,
  `discount_value` decimal(16,2) DEFAULT NULL,
  `discount_amount` decimal(16,2) DEFAULT NULL,
  `order_status` varchar(191) NOT NULL DEFAULT 'placed',
  `delivery_fee` decimal(8,2) NOT NULL DEFAULT 0.00,
  `customer_lat` decimal(10,7) DEFAULT NULL,
  `customer_lng` decimal(10,7) DEFAULT NULL,
  `is_within_radius` tinyint(1) NOT NULL DEFAULT 0,
  `delivery_started_at` timestamp NULL DEFAULT NULL,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `estimated_eta_min` int(11) DEFAULT NULL,
  `estimated_eta_max` int(11) DEFAULT NULL,
  `cancel_reason_id` bigint(20) unsigned DEFAULT NULL,
  `cancel_reason_text` varchar(191) DEFAULT NULL,
  `reservation_id` bigint(20) unsigned DEFAULT NULL,
  `kiosk_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `orders_uuid_unique` (`uuid`),
  KEY `orders_table_id_foreign` (`table_id`),
  KEY `orders_customer_id_foreign` (`customer_id`),
  KEY `orders_delivery_executive_id_foreign` (`delivery_executive_id`),
  KEY `orders_waiter_id_foreign` (`waiter_id`),
  KEY `orders_cancel_reason_id_foreign` (`cancel_reason_id`),
  KEY `idx_branch_date` (`branch_id`,`date_time`),
  KEY `orders_order_type_id_foreign` (`order_type_id`),
  KEY `orders_reservation_id_foreign` (`reservation_id`),
  KEY `orders_kiosk_id_foreign` (`kiosk_id`),
  KEY `orders_delivery_app_id_foreign` (`delivery_app_id`),
  KEY `orders_added_by_foreign` (`added_by`),
  KEY `orders_cancelled_by_foreign` (`cancelled_by`),
  KEY `orders_pos_machine_id_index` (`pos_machine_id`),
  CONSTRAINT `orders_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `orders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `orders_cancel_reason_id_foreign` FOREIGN KEY (`cancel_reason_id`) REFERENCES `kot_cancel_reasons` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `orders_cancelled_by_foreign` FOREIGN KEY (`cancelled_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `orders_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `orders_delivery_app_id_foreign` FOREIGN KEY (`delivery_app_id`) REFERENCES `delivery_platforms` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_delivery_executive_id_foreign` FOREIGN KEY (`delivery_executive_id`) REFERENCES `delivery_executives` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_kiosk_id_foreign` FOREIGN KEY (`kiosk_id`) REFERENCES `kiosks` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_order_type_id_foreign` FOREIGN KEY (`order_type_id`) REFERENCES `order_types` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_pos_machine_id_foreign` FOREIGN KEY (`pos_machine_id`) REFERENCES `pos_machines` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_reservation_id_foreign` FOREIGN KEY (`reservation_id`) REFERENCES `reservations` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_table_id_foreign` FOREIGN KEY (`table_id`) REFERENCES `tables` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `orders_waiter_id_foreign` FOREIGN KEY (`waiter_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=113 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `orders`
INSERT INTO `orders` VALUES
('1', '762ceab8-435f-4269-9e6e-c2b6120e1320', '3', NULL, '1', NULL, '2025-09-20 12:27:12', '1', NULL, '4', NULL, NULL, NULL, 'paid', 'shop', '453.02', '0.00', '0.00', 'order', NULL, '453.02', '906.04', '2025-09-20 12:25:05', '2025-09-20 12:27:46', '1', NULL, 'dine_in', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('2', 'fd9ca8d7-145d-4c7c-b94d-cecc98000c40', '4', NULL, '1', NULL, '2025-09-20 13:00:18', NULL, '1', '1', '6', NULL, NULL, 'paid', 'pos', '100.00', '0.00', '0.00', 'order', NULL, '100.00', '100.00', '2025-09-20 13:00:18', '2025-09-20 13:00:43', '10', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('3', '3f6e0bb4-e221-4bd6-b2e1-cb8d03ae49a1', '5', NULL, '1', NULL, '2025-10-07 15:13:31', '5', NULL, NULL, NULL, NULL, NULL, 'paid', 'shop', '4.00', '0.00', '0.00', 'order', NULL, '4.20', '4.20', '2025-10-07 15:13:31', '2025-10-07 15:41:42', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('4', '7ef53383-e964-451d-93e7-dc1a1a0d4e63', '5', NULL, '2', NULL, '2025-10-08 09:01:21', '5', NULL, NULL, NULL, NULL, NULL, 'paid', 'shop', '1150.00', '0.00', '0.00', 'order', NULL, '1207.50', '1207.50', '2025-10-08 09:01:21', '2025-10-08 09:02:13', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('5', '61f919bc-be4d-42c6-979f-e5f21a4386bb', '5', NULL, '3', NULL, '2025-10-08 10:34:38', '5', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-08 10:34:38', '2025-10-15 12:34:44', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('6', '6afee693-7983-4062-8925-16c8fa7345f7', '5', NULL, '4', NULL, '2025-10-15 12:32:50', NULL, '2', '1', '7', NULL, NULL, 'paid', 'pos', '250.00', '0.00', '12.50', 'order', NULL, '262.50', '262.50', '2025-10-15 12:32:50', '2025-10-15 12:33:11', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('7', '7732a0d7-ec82-42da-b462-64715964a20f', '5', NULL, '5', NULL, '2025-10-15 12:34:09', '6', '2', NULL, '7', NULL, NULL, 'billed', 'pos', '60.00', '0.00', '3.00', 'order', NULL, '63.00', '0.00', '2025-10-15 12:33:28', '2025-10-15 12:34:54', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('8', '41483780-3735-49c1-9627-4788069a5f1e', '5', NULL, '6', NULL, '2025-10-15 12:35:45', NULL, '3', NULL, NULL, NULL, NULL, 'paid', 'kiosk', '0.00', '0.00', '0.00', 'order', NULL, '0.00', '0.00', '2025-10-15 12:35:45', '2025-10-15 12:36:40', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('9', '7857a0d0-73f8-450d-9467-267ea3d54dfc', '5', NULL, '7', NULL, '2025-10-15 12:38:16', NULL, '3', NULL, NULL, NULL, NULL, 'paid', 'kiosk', '1300.00', '0.00', '65.00', 'order', NULL, '1365.00', '1365.00', '2025-10-15 12:38:16', '2025-10-15 12:39:27', '15', NULL, 'Pickup', 'pickup', '2025-10-15 12:38:16', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('10', 'b79da98c-3df3-4ae5-8cc5-e4515ccb80a3', '5', NULL, '8', NULL, '2025-10-15 12:40:33', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-15 12:40:33', '2025-10-15 12:40:41', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('11', 'c80069d5-545e-47ba-933a-6e314a69ee85', '5', NULL, '9', NULL, '2025-10-16 12:02:13', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '250.00', '0.00', '0.00', 'order', NULL, '262.50', '262.50', '2025-10-16 12:02:13', '2025-10-16 12:02:53', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('12', '0ff12223-648d-4064-ac56-0aba8d7ed0e9', '5', NULL, '10', NULL, '2025-10-16 12:32:40', '5', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-16 12:32:40', '2025-10-16 12:33:24', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('13', '0303dac8-6851-4308-ad5d-916d35bce5be', '5', NULL, '11', NULL, '2025-10-16 12:41:17', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-16 12:41:17', '2025-10-16 12:41:48', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('14', 'fb076413-f4ce-404e-a591-20b6d732db11', '5', NULL, '12', NULL, '2025-10-16 12:48:15', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '250.00', '0.00', '0.00', 'order', NULL, '262.50', '262.50', '2025-10-16 12:48:15', '2025-10-16 12:48:50', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('16', '9aa123e3-16b7-4efc-a5eb-c247c3c18c2d', '5', NULL, '13', NULL, '2025-10-16 13:20:37', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 13:20:37', '2025-10-16 13:21:02', '2', NULL, 'Delivery', 'delivery', NULL, NULL, 'wdqwdqw', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('17', 'd314afc3-5533-434b-a8f9-f9412c576c14', '5', NULL, '14', NULL, '2025-10-16 13:29:38', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 13:29:38', '2025-10-16 13:30:10', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('18', '98fbfe63-0951-4430-9c0e-6364970d2cf0', '5', NULL, '15', NULL, '2025-10-16 13:54:53', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-16 13:54:53', '2025-10-16 13:55:16', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('19', '69e3a24d-d936-4b62-8f74-485ffa9836fd', '5', NULL, '16', NULL, '2025-10-16 13:56:55', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 13:56:55', '2025-10-16 13:57:19', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('20', '40611183-a127-47e6-8e08-5b8328ad2414', '5', NULL, '17', NULL, '2025-10-16 14:00:43', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 14:00:43', '2025-10-16 14:01:17', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('21', 'dbbbfb94-daa1-4214-9a70-7dc487b88045', '5', NULL, '18', NULL, '2025-10-16 14:20:51', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 14:20:51', '2025-10-16 14:21:16', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('22', 'c29ff8ef-6cf1-42ef-9911-fe6cd63d49fc', '5', NULL, '19', NULL, '2025-10-16 15:38:46', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '250.00', '0.00', '0.00', 'order', NULL, '262.50', '262.50', '2025-10-16 15:38:46', '2025-10-16 15:40:44', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('23', '7b29bacd-154b-453d-8853-82b7cc9523e2', '5', NULL, '20', NULL, '2025-10-16 15:51:47', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-16 15:51:47', '2025-10-16 15:52:12', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('24', '6b6cba77-c145-4dbf-bbae-6f7a14029aba', '5', NULL, '21', NULL, '2025-10-16 16:31:50', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 16:31:50', '2025-10-16 16:32:18', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('25', 'f9e38759-bf59-404e-bf3d-a40bac6e190e', '5', NULL, '22', NULL, '2025-10-16 16:37:48', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 16:37:48', '2025-10-16 16:38:15', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('26', '010b9d43-fb18-4555-8fda-8bf8a08c34ba', '5', NULL, '23', NULL, '2025-10-16 17:02:44', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 17:02:44', '2025-10-17 23:44:13', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('27', 'b414f8cd-0c26-44d7-ad3b-6c94f2d075af', '3', NULL, '2', NULL, '2025-10-16 17:38:38', NULL, NULL, NULL, NULL, NULL, NULL, 'kot', 'shop', '539.04', '0.00', '0.00', 'order', NULL, '539.04', '0.00', '2025-10-16 17:38:38', '2025-10-16 17:38:38', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'placed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('28', '5721e123-d5f3-4171-ab0e-1ad400080e3b', '5', NULL, '24', NULL, '2025-10-16 17:41:09', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '450.00', '0.00', '0.00', 'order', NULL, '472.50', '472.50', '2025-10-16 17:41:09', '2025-10-17 23:42:21', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('29', 'ea8434e2-3a97-4f6a-aa8a-d2505a1f4cc7', '5', NULL, '25', NULL, '2025-10-17 23:31:12', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '650.00', '0.00', '0.00', 'order', NULL, '682.50', '682.50', '2025-10-17 23:31:12', '2025-10-17 23:33:43', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('30', '01674eb7-f492-405b-981b-6d62d66a0831', '5', NULL, '26', NULL, '2025-10-17 23:40:44', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '260.00', '0.00', '0.00', 'order', NULL, '220.50', '220.50', '2025-10-17 23:40:44', '2025-10-18 17:27:04', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, 'fixed', '50.00', '50.00', 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('31', '7c810f93-6a9d-466b-846f-4d9b1445f99d', '5', NULL, '27', NULL, '2025-10-17 23:42:52', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '200.00', '0.00', '0.00', 'order', NULL, '210.00', '210.00', '2025-10-17 23:42:52', '2025-10-18 17:27:15', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('32', 'de02c43c-fdb2-42d5-87be-0ed3074b01b7', '5', NULL, '28', NULL, '2025-10-17 23:43:33', NULL, NULL, NULL, '7', NULL, NULL, 'paid', 'pos', '120.00', '0.00', '6.00', 'order', NULL, '126.00', '126.00', '2025-10-17 23:43:33', '2025-10-17 23:43:54', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('33', '7008fc76-aa76-464b-91c5-ac1dd47db954', '5', NULL, '29', NULL, '2025-10-17 23:44:56', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '210.00', '0.00', '0.00', 'order', NULL, '220.50', '220.50', '2025-10-17 23:44:56', '2025-10-18 17:27:51', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('34', 'f4d33358-1dfc-493b-8d3c-94f1f6df24c5', '5', NULL, '30', NULL, '2025-10-17 23:47:25', NULL, NULL, '1', '7', NULL, NULL, 'kot', 'pos', '500.00', '0.00', '0.00', 'order', NULL, '525.00', '0.00', '2025-10-17 23:47:25', '2025-10-18 17:27:37', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('35', '9628cf55-045e-4f81-86bf-d6ccf39a6a13', '5', NULL, '31', NULL, '2025-10-17 23:48:25', NULL, NULL, '5', '7', NULL, NULL, 'paid', 'pos', '60.00', '0.00', '3.00', 'order', NULL, '63.00', '63.00', '2025-10-17 23:48:25', '2025-10-18 17:27:24', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('36', '96f35b0e-4034-48a0-9a8f-53e2e2f44d96', '5', NULL, '32', NULL, '2025-10-17 23:49:05', '5', NULL, NULL, '7', NULL, NULL, 'paid', 'pos', '390.00', '0.00', '0.00', 'order', NULL, '409.50', '409.50', '2025-10-17 23:49:05', '2025-10-17 23:50:31', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('37', 'd977165d-cdb0-46a2-b0f7-28700d22200f', '5', NULL, '33', NULL, '2025-10-17 23:51:30', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '260.00', '0.00', '0.00', 'order', NULL, '273.00', '273.00', '2025-10-17 23:51:30', '2025-10-17 23:52:10', '15', NULL, 'Pickup', 'pickup', '2025-10-18 05:22:00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('38', '8ac5f8d4-8676-4794-8d22-a62dab9ea688', '5', NULL, '34', NULL, '2025-10-17 23:54:27', NULL, '1', NULL, NULL, NULL, NULL, 'paid', 'kiosk', '650.00', '0.00', '32.50', 'order', NULL, '682.50', '682.50', '2025-10-17 23:54:27', '2025-10-17 23:55:21', '15', NULL, 'Pickup', 'pickup', '2025-10-17 23:54:27', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('39', '0a6646cd-6b26-429e-9190-d44c2a753044', '5', NULL, '35', NULL, '2025-10-18 00:05:52', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '390.00', '0.00', '0.00', 'order', NULL, '409.50', '409.50', '2025-10-18 00:05:52', '2025-10-18 00:06:04', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('40', '1b9b1a64-e1ee-45ce-8a0e-29c68fa6454b', '5', NULL, '36', NULL, '2025-10-18 00:07:59', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '60.00', '0.00', '0.00', 'order', NULL, '63.00', '63.00', '2025-10-18 00:07:59', '2025-10-18 00:08:11', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('41', 'dd821c0d-08ce-444b-89c9-ee6354ff36de', '5', NULL, '37', NULL, '2025-10-18 00:09:19', NULL, NULL, '1', '7', NULL, NULL, 'billed', 'pos', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '0.00', '2025-10-18 00:09:19', '2025-10-18 00:09:41', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('42', 'ebe39f55-e675-4571-872e-7734db1e6c84', '5', NULL, '38', NULL, '2025-10-18 17:25:40', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '210.00', '0.00', '0.00', 'order', NULL, '220.50', '220.50', '2025-10-18 17:25:40', '2025-10-18 17:26:21', '13', NULL, 'Dine In', 'pickup', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('43', 'e612968e-1f9d-4c68-8926-f4f905ea8059', '5', NULL, '39', NULL, '2025-10-18 17:29:24', NULL, '1', NULL, NULL, NULL, NULL, 'paid', 'kiosk', '60.00', '0.00', '3.00', 'order', NULL, '63.00', '63.00', '2025-10-18 17:29:24', '2025-10-18 17:30:16', '15', NULL, 'Pickup', 'pickup', '2025-10-18 17:29:24', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('44', 'fc1cf0d8-3ca0-4170-8184-369140f646dd', '5', NULL, '40', NULL, '2025-10-18 17:45:49', NULL, '1', '1', '9', NULL, NULL, 'paid', 'pos', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-18 17:45:49', '2025-10-18 18:00:04', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('45', '42380913-f0af-43ae-94c6-f9560094a2ce', '5', NULL, '41', NULL, '2025-10-18 18:28:23', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-18 18:28:23', '2025-10-18 18:28:48', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('46', 'f6feda77-15ee-4e5f-8455-fe2819b46d5c', '5', NULL, '42', NULL, '2025-10-24 02:24:55', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-24 02:24:55', '2025-10-24 02:25:51', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('47', '119605d1-3fc4-4794-a05b-0a1c7af52058', '5', NULL, '43', NULL, '2025-10-24 02:28:19', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-24 02:28:19', '2025-10-24 02:33:37', '14', NULL, 'Delivery', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('48', '7c79327a-4e99-4cc5-89f6-e0226ef69025', '5', NULL, '44', NULL, '2025-10-24 02:30:46', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-24 02:30:46', '2025-10-24 02:32:41', '14', NULL, 'Delivery', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('49', '980ded67-2307-4bdf-9786-038ee6fc8c0f', '5', NULL, '45', NULL, '2025-10-24 02:34:12', '5', '1', NULL, NULL, NULL, NULL, 'draft', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '0.00', '2025-10-24 02:34:12', '2025-10-24 02:34:12', '15', NULL, 'Pickup', 'pickup', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('50', '26d8dd01-8977-4baf-bc6c-e33890fad0b2', '5', NULL, '46', NULL, '2025-10-24 02:39:47', NULL, '1', NULL, '9', NULL, NULL, 'paid', 'kiosk', '400.00', '0.00', '20.00', 'order', NULL, '420.00', '420.00', '2025-10-24 02:39:47', '2025-10-24 02:40:25', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('51', '49cde4cd-35fe-41c1-b4d3-b3f98d1507cd', '5', NULL, '47', NULL, '2025-10-24 08:04:54', '5', '1', NULL, '9', NULL, NULL, 'paid', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-24 08:04:54', '2025-10-24 08:06:12', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('52', '58ada686-4a35-4354-8209-e9e1404fedab', '5', NULL, '48', NULL, '2025-10-24 14:55:29', '7', '1', NULL, '9', NULL, NULL, 'paid', 'shop', '30.00', '0.00', '0.00', 'order', NULL, '31.50', '31.50', '2025-10-24 14:55:29', '2025-10-24 14:58:49', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('53', '39d65ee4-80e6-45ed-88e9-29cf4e499506', '5', NULL, '49', NULL, '2025-10-24 15:03:18', '8', '1', '4', '9', NULL, NULL, 'kot', 'pos', '445.00', '0.00', '0.00', 'order', NULL, '420.53', '0.00', '2025-10-24 15:03:18', '2025-10-24 15:03:46', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, 'percent', '10.00', '44.50', 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, '3', NULL),
('54', '39b93d3a-1368-42bb-93ca-73d4becb94f0', '5', NULL, '50', NULL, '2025-10-24 15:12:01', '7', NULL, '1', '7', NULL, NULL, 'paid', 'pos', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-24 15:12:01', '2025-10-24 15:12:18', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('55', '09fe13b3-b96b-4d3a-8d29-ec8fc8be5ba1', '5', NULL, '51', NULL, '2025-10-24 15:17:55', NULL, '1', '1', '7', NULL, NULL, 'paid', 'pos', '1080.00', '0.00', '0.00', 'order', NULL, '1134.00', '1134.00', '2025-10-24 15:17:55', '2025-10-24 15:18:12', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('56', 'a718ec8f-6a90-4f72-9b9b-aa13d5cd237a', '5', NULL, '52', NULL, '2025-10-24 15:19:39', NULL, '1', NULL, NULL, NULL, NULL, 'paid', 'kiosk', '610.00', '0.00', '30.50', 'order', NULL, '640.50', '640.00', '2025-10-24 15:19:40', '2025-10-24 15:20:36', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('57', '78b323df-1217-432a-9807-20f959738394', '3', NULL, '3', NULL, '2025-10-25 04:54:08', NULL, NULL, NULL, NULL, NULL, NULL, 'kot', 'shop', '367.00', '0.00', '0.00', 'order', NULL, '367.00', '0.00', '2025-10-25 04:54:08', '2025-10-25 04:54:08', '8', NULL, 'Delivery', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'placed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('58', 'd7966150-e5ed-482c-9e6f-2269f7d9aa7c', '5', NULL, '53', NULL, '2025-10-25 06:25:58', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-25 06:25:58', '2025-10-25 06:26:39', '14', NULL, 'Delivery', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('59', '2ef9c4ed-09fa-4a1e-81fd-238dfd41b562', '5', NULL, '54', NULL, '2025-10-25 06:29:46', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-25 06:29:46', '2025-10-25 06:30:15', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('60', 'e2d051ef-9506-4229-ba84-5f18cf526270', '5', NULL, '55', NULL, '2025-10-25 07:08:50', '7', '1', NULL, '9', NULL, NULL, 'paid', 'shop', '430.00', '0.00', '0.00', 'order', NULL, '451.50', '451.50', '2025-10-25 07:08:50', '2025-10-25 07:11:14', '14', NULL, 'Delivery', 'delivery', NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('61', 'd1e8b2eb-5111-4fda-b097-d832cd37e46b', '5', NULL, '56', NULL, '2025-10-25 13:05:10', '9', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '205.00', '0.00', '0.00', 'order', NULL, '215.25', '215.25', '2025-10-25 13:05:10', '2025-10-25 13:23:49', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('62', 'e7c787e7-58f0-4e30-9eb3-4db1953d3831', '5', NULL, '57', NULL, '2025-10-25 13:06:40', '9', '1', NULL, NULL, NULL, NULL, 'draft', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '0.00', '2025-10-25 13:06:40', '2025-10-25 13:06:41', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('63', '254a2157-dfb7-41f0-8ac2-f802887dcc89', '5', NULL, '58', NULL, '2025-10-25 13:22:55', NULL, '1', '1', '7', NULL, NULL, 'paid', 'pos', '180.00', '0.00', '0.00', 'order', NULL, '189.00', '189.00', '2025-10-25 13:22:55', '2025-10-25 13:24:44', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, 'Bambagher, Ramnagar-244715, Uttarkhand', NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('64', '59394330-19f6-4582-87bb-1c6b4216d0c7', '5', NULL, '59', NULL, '2025-10-25 13:31:04', '9', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '400.00', '0.00', '20.00', 'order', NULL, '420.00', '420.00', '2025-10-25 13:30:33', '2025-10-25 13:31:24', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('65', 'a2fa2789-645a-4866-a77e-ae1d8a1c125b', '5', NULL, '60', NULL, '2025-10-27 08:33:42', '7', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-27 08:33:42', '2025-10-27 08:34:14', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('66', '001231db-778a-4520-a5fa-8f0de81e5d73', '5', NULL, '61', NULL, '2025-10-27 09:44:07', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-27 09:44:07', '2025-10-27 09:44:37', '14', NULL, 'Delivery', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('67', '1e709f54-2e9d-4a90-8a29-560c0248fe9e', '5', NULL, '62', NULL, '2025-10-31 14:52:11', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '250.00', '0.00', '0.00', 'order', NULL, '262.50', '262.50', '2025-10-31 14:52:11', '2025-10-31 14:53:05', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('68', '010b0d5b-1e58-45c4-89f2-4e0f041ab194', '5', NULL, '63', NULL, '2025-11-06 14:26:18', NULL, '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-11-06 14:26:18', '2025-11-06 14:26:59', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'wdqwdqw', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9403884', '80.8963691', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('69', '4c9d8d6d-5c72-4de3-a244-38b8c96e07cb', '5', NULL, '64', NULL, '2025-11-08 08:14:52', NULL, '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-11-08 08:14:52', '2025-11-08 08:15:20', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+36, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9407327', '80.8958455', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('70', '5a927adf-33b7-40f0-8b28-34232bea0132', '5', NULL, '65', NULL, '2025-11-25 09:27:27', NULL, '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-11-25 09:27:27', '2025-11-25 09:34:50', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+36, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'food_ready', '0.00', '26.9401214', '80.8947850', '1', NULL, NULL, '2', '3', NULL, NULL, NULL, NULL),
('71', 'cc9e4b28-737d-423e-a33a-613cc78a9d55', '3', NULL, '4', NULL, '2025-11-25 10:36:24', NULL, '1', NULL, NULL, NULL, NULL, 'kot', 'shop', '183.50', '0.00', '0.00', 'order', NULL, '183.50', '0.00', '2025-11-25 10:36:24', '2025-11-25 10:36:25', '8', NULL, 'Delivery', 'delivery', NULL, NULL, 'Bambagher, Ramnagar-244715, Uttarkhand', NULL, NULL, NULL, NULL, NULL, NULL, 'placed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('72', '30671b29-9a07-4707-a875-d102cf8b75e4', '5', '2', '66', NULL, '2025-11-25 12:10:42', NULL, NULL, '1', '7', '7', NULL, 'paid', 'pos', '300.00', '0.00', '15.00', 'order', NULL, '315.00', '315.00', '2025-11-25 12:10:42', '2025-11-25 12:11:15', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('73', '9c56e51a-720f-445f-ae0b-132c8b49f17f', '5', NULL, '67', NULL, '2025-12-05 08:56:32', '6', '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 08:56:32', '2025-12-05 08:56:32', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('74', '2347cdc5-dc3a-476a-8cda-3f19fee82b2d', '5', NULL, '68', NULL, '2025-12-05 12:43:42', '35', '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '90.00', '0.00', '0.00', 'order', NULL, '94.50', '0.00', '2025-12-05 12:43:42', '2025-12-05 12:43:42', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('75', 'd9b367a2-217a-4831-b515-b02a996a341b', '5', NULL, '69', NULL, '2025-12-05 13:03:11', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '300.00', '0.00', '0.00', 'order', NULL, '315.00', '0.00', '2025-12-05 13:03:11', '2025-12-05 13:03:11', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+243 Umang Front Lawn, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9345051', '80.9015179', '1', NULL, NULL, '8', '11', NULL, NULL, NULL, NULL),
('76', '047c9c45-60a0-4f13-87c8-594c25d7a623', '5', NULL, '70', NULL, '2025-12-05 13:28:15', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '300.00', '0.00', '0.00', 'order', NULL, '315.00', '0.00', '2025-12-05 13:28:15', '2025-12-05 13:28:15', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+243 Umang Front Lawn, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9345051', '80.9015179', '1', NULL, NULL, '8', '11', NULL, NULL, NULL, NULL),
('77', '95179755-0c21-487d-b894-c2040692de51', '5', NULL, '71', NULL, '2025-12-05 13:32:22', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '300.00', '0.00', '0.00', 'order', NULL, '315.00', '0.00', '2025-12-05 13:32:22', '2025-12-05 13:32:22', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+243 Umang Front Lawn, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9345051', '80.9015179', '1', NULL, NULL, '8', '11', NULL, NULL, NULL, NULL),
('78', 'fb9dda7a-ae30-4515-a3e2-1c53853595e5', '5', NULL, '72', NULL, '2025-12-05 13:44:28', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '300.00', '0.00', '0.00', 'order', NULL, '315.00', '0.00', '2025-12-05 13:44:28', '2025-12-05 13:44:28', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+243 Umang Front Lawn, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9345051', '80.9015179', '1', NULL, NULL, '8', '11', NULL, NULL, NULL, NULL),
('79', '4d10a251-ff7c-43cb-bd7c-8db306791b01', '5', NULL, '73', NULL, '2025-12-05 13:44:28', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '300.00', '0.00', '0.00', 'order', NULL, '315.00', '0.00', '2025-12-05 13:44:28', '2025-12-05 13:44:28', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+243 Umang Front Lawn, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9345051', '80.9015179', '1', NULL, NULL, '8', '11', NULL, NULL, NULL, NULL),
('80', '66c92fce-6165-40d5-9f8b-1a3b2349f369', '5', NULL, '73', NULL, '2025-12-05 13:44:59', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 13:44:59', '2025-12-05 13:44:59', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WWM2+HHW, Prabandh Nagar, Mubarakpur, Lucknow, Allu Nagar Diguria, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9367625', '80.9045219', '1', NULL, NULL, '6', '8', NULL, NULL, NULL, NULL),
('81', 'eaf946e7-776c-421d-a5f5-06b9ae5215eb', '5', NULL, '74', NULL, '2025-12-05 13:45:14', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 13:45:14', '2025-12-05 13:45:14', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WWM2+HHW, Prabandh Nagar, Mubarakpur, Lucknow, Allu Nagar Diguria, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9367625', '80.9045219', '1', NULL, NULL, '6', '8', NULL, NULL, NULL, NULL),
('82', '7162cdc3-da10-4ae7-80e5-350eb274d30d', '5', NULL, '75', NULL, '2025-12-05 13:53:11', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 13:53:11', '2025-12-05 13:53:11', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WWM2+HHW, Prabandh Nagar, Mubarakpur, Lucknow, Allu Nagar Diguria, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9367625', '80.9045219', '1', NULL, NULL, '6', '8', NULL, NULL, NULL, NULL),
('83', '7411b631-5cc0-421d-a126-739fc5776cac', '5', NULL, '76', NULL, '2025-12-05 13:53:11', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 13:53:11', '2025-12-05 13:53:12', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WWM2+HHW, Prabandh Nagar, Mubarakpur, Lucknow, Allu Nagar Diguria, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9367625', '80.9045219', '1', NULL, NULL, '6', '8', NULL, NULL, NULL, NULL),
('84', '516b8c25-d934-4450-9a4c-6029636192aa', '5', NULL, '76', NULL, '2025-12-05 13:53:54', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 13:53:54', '2025-12-05 13:53:54', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9400145', '80.8952951', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('85', 'e6adddf5-4549-4c12-a89e-64710aee99bd', '5', NULL, '77', NULL, '2025-12-05 13:55:06', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 13:55:06', '2025-12-05 13:55:06', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9400145', '80.8952951', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('86', '3a5f3016-4558-4559-a378-9228273331f6', '5', NULL, '78', NULL, '2025-12-05 13:59:41', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 13:59:41', '2025-12-05 13:59:42', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9400145', '80.8952951', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('87', 'f934b24a-f3b6-49f8-a234-1d4854191ed5', '5', NULL, '79', NULL, '2025-12-05 14:08:24', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 14:08:24', '2025-12-05 14:08:25', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9400145', '80.8952951', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('88', '58001d68-deec-49a7-afbe-4583d7d58d51', '5', NULL, '80', NULL, '2025-12-05 14:08:25', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 14:08:25', '2025-12-05 14:08:25', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9400145', '80.8952951', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('89', 'd809aa4a-e143-4799-b1c9-b268132dfd72', '5', NULL, '81', NULL, '2025-12-05 14:12:08', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 14:12:08', '2025-12-05 14:12:09', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+243 Umang Front Lawn, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9367625', '80.9045219', '1', NULL, NULL, '6', '8', NULL, NULL, NULL, NULL),
('90', '50369043-41cc-4dbb-ba26-c6a72ce4d709', '5', NULL, '82', NULL, '2025-12-05 14:15:45', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 14:15:45', '2025-12-05 14:15:46', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+243 Umang Front Lawn, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9367625', '80.9045219', '1', NULL, NULL, '6', '8', NULL, NULL, NULL, NULL),
('91', '566c7102-c5a6-4d6f-8a3d-6bbefa2eb11b', '5', NULL, '83', NULL, '2025-12-05 14:16:16', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '250.00', '0.00', '0.00', 'order', NULL, '262.50', '0.00', '2025-12-05 14:16:16', '2025-12-05 14:16:16', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9408093', '80.8961030', '1', NULL, NULL, '4', '6', NULL, NULL, NULL, NULL),
('92', 'e621dca2-0685-488e-952d-8dd8b67423b4', '5', NULL, '84', NULL, '2025-12-05 14:26:55', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '250.00', '0.00', '0.00', 'order', NULL, '262.50', '0.00', '2025-12-05 14:26:55', '2025-12-05 14:26:55', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9408093', '80.8961030', '1', NULL, NULL, '4', '6', NULL, NULL, NULL, NULL),
('93', 'f3a2eb0d-9622-4179-85b0-3aba72454bb6', '5', NULL, '85', NULL, '2025-12-05 14:28:15', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '750.00', '0.00', '0.00', 'order', NULL, '787.50', '0.00', '2025-12-05 14:28:15', '2025-12-05 14:28:15', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+36, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9400441', '80.8967897', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('94', '89ee38e4-2ac8-4bd4-a205-1a70468df2c8', '5', NULL, '86', NULL, '2025-12-05 14:33:24', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '210.00', '0.00', '0.00', 'order', NULL, '220.50', '0.00', '2025-12-05 14:33:24', '2025-12-05 14:33:24', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVQW+RQC, IIM Rd, Sadabahar Colony, Prabandh Nagar, Madiyanva, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9367625', '80.9046507', '1', NULL, NULL, '5', '7', NULL, NULL, NULL, NULL),
('95', 'c386b795-ea95-40a4-a28b-c0d918d7eeee', '5', NULL, '87', NULL, '2025-12-05 14:34:58', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '0.00', '2025-12-05 14:34:58', '2025-12-05 14:34:59', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WWP3+PV3, IIM Rd, Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9367625', '80.9045219', '1', NULL, NULL, '6', '8', NULL, NULL, NULL, NULL),
('96', '0babed71-24ac-4604-a4f8-30771183de22', '5', NULL, '88', NULL, '2025-12-05 15:13:18', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '375.00', '0.00', '0.00', 'order', NULL, '393.75', '0.00', '2025-12-05 15:13:18', '2025-12-05 15:13:18', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9444831', '80.8939833', '1', NULL, NULL, '5', '7', NULL, NULL, NULL, NULL),
('97', 'd6a69635-0a6c-40ed-9bbf-8deb51a219c1', '5', NULL, '89', NULL, '2025-12-05 15:20:54', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '375.00', '0.00', '0.00', 'order', NULL, '393.75', '0.00', '2025-12-05 15:20:54', '2025-12-05 15:20:54', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9444831', '80.8939833', '1', NULL, NULL, '5', '7', NULL, NULL, NULL, NULL),
('98', 'ad053cad-1048-4c67-a4e0-c65f536d6d24', '5', NULL, '90', NULL, '2025-12-05 15:20:54', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '375.00', '0.00', '0.00', 'order', NULL, '393.75', '0.00', '2025-12-05 15:20:54', '2025-12-05 15:20:55', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9444831', '80.8939833', '1', NULL, NULL, '5', '7', NULL, NULL, NULL, NULL),
('99', '71294ec8-8e4b-4a28-92a7-53d9ece9a32d', '5', NULL, '90', NULL, '2025-12-05 15:21:27', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 15:21:27', '2025-12-05 15:21:27', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVWV+277, Mubarakpur, Palhri, Lucknow, Uttar Pradesh 226201, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9407634', '80.8949100', '1', NULL, NULL, '3', '4', NULL, NULL, NULL, NULL),
('100', 'bd73bd99-f6d9-4e7f-abee-4dce9f928e74', '5', NULL, '91', NULL, '2025-12-05 15:30:36', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 15:30:36', '2025-12-05 15:30:36', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVWV+277, Mubarakpur, Palhri, Lucknow, Uttar Pradesh 226201, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9407634', '80.8949100', '1', NULL, NULL, '3', '4', NULL, NULL, NULL, NULL),
('101', '1ae32ff3-f7b0-450d-84be-17b1bf85103e', '5', NULL, '92', NULL, '2025-12-05 15:33:21', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-05 15:33:21', '2025-12-05 15:33:22', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVWV+277, Mubarakpur, Palhri, Lucknow, Uttar Pradesh 226201, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9407634', '80.8949100', '1', NULL, NULL, '3', '4', NULL, NULL, NULL, NULL),
('102', '7697e69c-0105-468a-b3d8-222705998868', '5', NULL, '93', NULL, '2025-12-05 15:46:41', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '0.00', '2025-12-05 15:46:41', '2025-12-05 15:46:42', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRV+893, Mubarakpur, Lucknow, Narharpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9405032', '80.8948585', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('103', 'dda478af-caf1-41cc-979f-26d8abe190c0', '31', NULL, '1', NULL, '2025-12-05 20:17:37', '144', NULL, NULL, NULL, '16', NULL, 'paid', 'shop', '24.47', '0.00', '0.00', 'order', NULL, '24.47', '24.47', '2025-12-05 20:16:30', '2025-12-05 20:18:28', '91', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', '29.3919838', '79.1290029', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('104', 'a1cfbcb2-62fb-4731-b0b5-ab97c28d0e04', '5', NULL, '94', NULL, '2025-12-06 06:53:12', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '90.00', '0.00', '0.00', 'order', NULL, '94.50', '0.00', '2025-12-06 06:53:12', '2025-12-06 06:53:12', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+243 Umang Front Lawn, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9405415', '80.8958455', '1', NULL, NULL, '0', '0', NULL, NULL, NULL, NULL),
('105', '7a1130dc-0d47-4f35-b74e-932198930642', '5', NULL, '95', NULL, '2025-12-06 06:57:04', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '90.00', '0.00', '0.00', 'order', NULL, '94.50', '0.00', '2025-12-06 06:57:04', '2025-12-06 06:57:04', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+36, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9398528', '80.8974334', '1', NULL, NULL, '3', '4', NULL, NULL, NULL, NULL),
('106', 'aea7dc61-cd8a-4f9a-9633-63b54199c10d', '5', NULL, '96', NULL, '2025-12-07 12:10:38', '35', '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '340.00', '0.00', '0.00', 'order', NULL, '357.00', '0.00', '2025-12-07 12:10:38', '2025-12-07 12:10:39', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('107', 'ff21f3d7-c30c-44d2-8361-31c84a6a8967', '5', NULL, '97', NULL, '2025-12-07 12:20:24', '11', '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-07 12:20:24', '2025-12-07 12:20:24', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('108', '6761fe91-fc7a-4f7a-979f-8b330c37dd56', '5', NULL, '98', NULL, '2025-12-07 12:23:42', '39', '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '0.00', '2025-12-07 12:23:42', '2025-12-07 12:23:42', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('109', '5de1d06c-8f76-49a5-a472-0f13b55be156', '5', NULL, '99', NULL, '2025-12-07 12:26:59', '6', '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '210.00', '0.00', '0.00', 'order', NULL, '220.50', '0.00', '2025-12-07 12:26:59', '2025-12-07 12:27:00', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('110', '44dde44c-272d-4fac-84cb-2a2afd7e7d8a', '5', NULL, '100', NULL, '2025-12-07 12:48:26', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '210.00', '0.00', '0.00', 'order', NULL, '220.50', '0.00', '2025-12-07 12:48:26', '2025-12-07 12:48:26', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVQW+RQC, IIM Rd, Sadabahar Colony, Prabandh Nagar, Madiyanva, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9367625', '80.9045219', '1', NULL, NULL, '6', '8', NULL, NULL, NULL, NULL),
('111', '7750ae19-c9fe-4ed8-a86a-604963f8b692', '5', NULL, '101', NULL, '2025-12-07 12:59:03', NULL, '2', NULL, NULL, NULL, NULL, 'kot', 'shop', '210.00', '0.00', '0.00', 'order', NULL, '220.50', '0.00', '2025-12-07 12:59:03', '2025-12-07 12:59:04', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'SIDBI Centre, Indian Institute Of Management–Lucknow (IIM–Lucknow), Prabandh Nagar, Mubarakpur, Lucknow, Mubarakpur, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9413066', '80.8952447', '1', NULL, NULL, '3', '4', NULL, NULL, NULL, NULL),
('112', '291fed9b-c7e5-40e3-b100-9301857d5706', '5', NULL, '102', NULL, '2025-12-10 10:07:57', NULL, '5', NULL, NULL, NULL, NULL, 'pending_verification', 'kiosk', '60.00', '0.00', '3.00', 'order', NULL, '63.00', '0.00', '2025-12-10 10:07:57', '2025-12-10 10:07:57', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5');


-- Table structure for table `otps`
CREATE TABLE `otps` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `identifier` varchar(191) NOT NULL,
  `token` varchar(191) NOT NULL,
  `type` varchar(191) NOT NULL DEFAULT 'login',
  `expires_at` timestamp NOT NULL,
  `used` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `otps_identifier_type_index` (`identifier`,`type`),
  KEY `otps_token_index` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `package_modules`
CREATE TABLE `package_modules` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `package_id` bigint(20) unsigned DEFAULT NULL,
  `module_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `package_modules_package_id_foreign` (`package_id`),
  KEY `package_modules_module_id_foreign` (`module_id`),
  CONSTRAINT `package_modules_module_id_foreign` FOREIGN KEY (`module_id`) REFERENCES `modules` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `package_modules_package_id_foreign` FOREIGN KEY (`package_id`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=185 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `package_modules`
INSERT INTO `package_modules` VALUES
('1', '1', '1', NULL, NULL),
('2', '1', '2', NULL, NULL),
('3', '1', '3', NULL, NULL),
('4', '1', '4', NULL, NULL),
('5', '1', '5', NULL, NULL),
('6', '1', '6', NULL, NULL),
('7', '1', '7', NULL, NULL),
('8', '1', '8', NULL, NULL),
('9', '1', '9', NULL, NULL),
('10', '1', '10', NULL, NULL),
('11', '1', '11', NULL, NULL),
('12', '1', '12', NULL, NULL),
('13', '1', '13', NULL, NULL),
('14', '1', '14', NULL, NULL),
('15', '1', '15', NULL, NULL),
('16', '1', '16', NULL, NULL),
('65', '2', '1', NULL, NULL),
('66', '2', '2', NULL, NULL),
('67', '2', '3', NULL, NULL),
('68', '2', '4', NULL, NULL),
('69', '2', '5', NULL, NULL),
('70', '2', '6', NULL, NULL),
('71', '2', '7', NULL, NULL),
('72', '2', '8', NULL, NULL),
('73', '2', '9', NULL, NULL),
('74', '2', '10', NULL, NULL),
('75', '2', '11', NULL, NULL),
('76', '2', '12', NULL, NULL),
('77', '2', '13', NULL, NULL),
('78', '2', '14', NULL, NULL),
('79', '2', '15', NULL, NULL),
('80', '2', '16', NULL, NULL),
('86', '6', '1', NULL, NULL),
('87', '6', '2', NULL, NULL),
('88', '6', '3', NULL, NULL),
('89', '6', '4', NULL, NULL),
('90', '6', '5', NULL, NULL),
('91', '6', '6', NULL, NULL),
('92', '6', '7', NULL, NULL),
('93', '6', '8', NULL, NULL),
('94', '6', '9', NULL, NULL),
('95', '6', '10', NULL, NULL),
('96', '6', '11', NULL, NULL),
('97', '6', '12', NULL, NULL),
('98', '6', '13', NULL, NULL),
('99', '6', '14', NULL, NULL),
('100', '6', '15', NULL, NULL),
('101', '6', '16', NULL, NULL),
('102', '6', '17', NULL, NULL),
('103', '6', '18', NULL, NULL),
('104', '6', '19', NULL, NULL),
('105', '6', '20', NULL, NULL),
('106', '6', '21', NULL, NULL),
('112', '1', '22', NULL, NULL),
('116', '2', '22', NULL, NULL),
('117', '6', '22', NULL, NULL),
('119', '8', '1', NULL, NULL),
('120', '8', '2', NULL, NULL),
('121', '8', '3', NULL, NULL),
('122', '8', '4', NULL, NULL),
('123', '8', '5', NULL, NULL),
('124', '8', '6', NULL, NULL),
('125', '8', '7', NULL, NULL),
('126', '8', '8', NULL, NULL),
('127', '8', '9', NULL, NULL),
('128', '8', '10', NULL, NULL),
('129', '8', '11', NULL, NULL),
('130', '8', '12', NULL, NULL),
('131', '8', '13', NULL, NULL),
('132', '8', '14', NULL, NULL),
('133', '8', '15', NULL, NULL),
('134', '8', '16', NULL, NULL),
('135', '8', '17', NULL, NULL),
('136', '8', '18', NULL, NULL),
('137', '8', '19', NULL, NULL),
('138', '8', '20', NULL, NULL),
('139', '8', '21', NULL, NULL),
('140', '8', '22', NULL, NULL),
('141', '9', '1', NULL, NULL),
('142', '9', '2', NULL, NULL),
('143', '9', '3', NULL, NULL),
('144', '9', '4', NULL, NULL),
('145', '9', '5', NULL, NULL),
('146', '9', '6', NULL, NULL),
('147', '9', '7', NULL, NULL),
('148', '9', '8', NULL, NULL),
('149', '9', '9', NULL, NULL),
('150', '9', '10', NULL, NULL),
('151', '9', '11', NULL, NULL),
('152', '9', '12', NULL, NULL),
('153', '9', '13', NULL, NULL),
('154', '9', '14', NULL, NULL),
('155', '9', '15', NULL, NULL),
('156', '9', '16', NULL, NULL),
('157', '9', '17', NULL, NULL),
('158', '9', '18', NULL, NULL),
('159', '9', '19', NULL, NULL),
('160', '9', '20', NULL, NULL),
('161', '9', '21', NULL, NULL),
('162', '9', '22', NULL, NULL),
('163', '10', '1', NULL, NULL),
('164', '10', '2', NULL, NULL),
('165', '10', '3', NULL, NULL),
('166', '10', '4', NULL, NULL),
('167', '10', '5', NULL, NULL),
('168', '10', '6', NULL, NULL),
('169', '10', '7', NULL, NULL),
('170', '10', '8', NULL, NULL),
('171', '10', '9', NULL, NULL),
('172', '10', '10', NULL, NULL),
('173', '10', '11', NULL, NULL),
('174', '10', '12', NULL, NULL),
('175', '10', '13', NULL, NULL),
('176', '10', '14', NULL, NULL),
('177', '10', '15', NULL, NULL),
('178', '10', '16', NULL, NULL),
('179', '10', '17', NULL, NULL),
('180', '10', '18', NULL, NULL),
('181', '10', '19', NULL, NULL),
('182', '10', '20', NULL, NULL),
('183', '10', '21', NULL, NULL),
('184', '10', '22', NULL, NULL);


-- Table structure for table `packages`
CREATE TABLE `packages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `package_name` varchar(191) NOT NULL,
  `price` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `currency_id` bigint(20) unsigned DEFAULT NULL,
  `description` text NOT NULL,
  `annual_price` decimal(16,2) DEFAULT NULL,
  `monthly_price` decimal(16,2) DEFAULT NULL,
  `monthly_status` varchar(191) DEFAULT '1',
  `annual_status` varchar(191) DEFAULT '1',
  `stripe_annual_plan_id` varchar(191) DEFAULT NULL,
  `stripe_monthly_plan_id` varchar(191) DEFAULT NULL,
  `razorpay_annual_plan_id` varchar(191) DEFAULT NULL,
  `razorpay_monthly_plan_id` varchar(191) DEFAULT NULL,
  `flutterwave_annual_plan_id` varchar(191) DEFAULT NULL,
  `flutterwave_monthly_plan_id` varchar(191) DEFAULT NULL,
  `paystack_annual_plan_id` varchar(191) DEFAULT NULL,
  `paystack_monthly_plan_id` varchar(191) DEFAULT NULL,
  `xendit_annual_plan_id` varchar(191) DEFAULT NULL,
  `xendit_monthly_plan_id` varchar(191) DEFAULT NULL,
  `paddle_annual_price_id` varchar(191) DEFAULT NULL,
  `paddle_monthly_price_id` varchar(191) DEFAULT NULL,
  `paddle_lifetime_price_id` varchar(191) DEFAULT NULL,
  `stripe_lifetime_plan_id` varchar(191) DEFAULT NULL,
  `razorpay_lifetime_plan_id` varchar(191) DEFAULT NULL,
  `billing_cycle` tinyint(3) unsigned DEFAULT NULL,
  `sort_order` int(10) unsigned DEFAULT NULL,
  `is_private` tinyint(1) NOT NULL DEFAULT 0,
  `is_free` tinyint(1) NOT NULL DEFAULT 0,
  `is_recommended` tinyint(1) NOT NULL DEFAULT 0,
  `package_type` varchar(191) NOT NULL DEFAULT 'standard',
  `trial_status` tinyint(1) DEFAULT NULL,
  `trial_days` int(11) DEFAULT NULL,
  `trial_notification_before_days` int(11) DEFAULT NULL,
  `trial_message` varchar(191) DEFAULT NULL,
  `additional_features` longtext DEFAULT NULL,
  `branch_limit` int(11) DEFAULT -1,
  `multipos_limit` int(11) DEFAULT -1,
  `menu_items_limit` int(11) NOT NULL DEFAULT -1,
  `order_limit` int(11) NOT NULL DEFAULT -1,
  `staff_limit` int(11) NOT NULL DEFAULT -1,
  `sms_count` int(11) NOT NULL DEFAULT 0,
  `carry_forward_sms` tinyint(1) NOT NULL DEFAULT 0,
  `countryID` int(11) NOT NULL DEFAULT 1000,
  PRIMARY KEY (`id`),
  KEY `packages_currency_id_foreign` (`currency_id`),
  CONSTRAINT `packages_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `global_currencies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `packages`
INSERT INTO `packages` VALUES
('1', 'Default', '0.00', '2025-09-17 05:36:43', '2025-11-25 08:40:03', '1', 'Its a default package and cannot be deleted', NULL, NULL, '0', '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '12', '1', '0', '1', '0', 'default', NULL, NULL, NULL, NULL, '[]', '-1', '-1', '-1', '-1', '-1', '0', '0', '103'),
('2', 'Trial Package', '0.00', '2025-09-17 05:36:43', '2025-09-17 05:36:43', '1', 'This is a trial package', NULL, NULL, '0', '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, '0', '1', '0', 'trial', '1', '30', '5', '30 Days Free Trial', '[\"Change Branch\",\"Export Report\",\"Table Reservation\",\"Payment Gateway Integration\",\"Theme Setting\",\"Customer Display\"]', '-1', '-1', '-1', '-1', '-1', '0', '0', '1000'),
('6', 'Starter Package', '0.00', '2025-11-07 17:30:21', '2025-12-02 11:47:54', '5', 'Best for small cafés / restaurants starting out\n', '490.00', '49.00', '1', '1', 'price_1SZs3XILSMCMpdPIIgIR91MN', 'price_1SZrAiILSMCMpdPIhx62Cl0N', 'prod_TWv3gtnakQ5r3J', 'prod_TWv3gtnakQ5r3J', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8', '0', '0', '0', 'standard', NULL, NULL, NULL, NULL, '[\"Change Branch\",\"Theme Setting\",\"Export Report\",\"Customer Display\",\"Table Reservation\",\"Payment Gateway Integration\"]', '-1', '-1', '-1', '-1', '-1', '-1', '0', '40'),
('8', 'Growth Package', '0.00', '2025-12-02 10:52:26', '2025-12-02 11:46:50', '5', 'For medium restaurants with dine-in + delivery needs\n', '990.00', '99.00', '1', '1', 'price_1SZs2VILSMCMpdPILojbSzs2', 'price_1SZrFvILSMCMpdPIuzwMdwAh', 'prod_TWv8mph5uea1iv', 'prod_TWv6ibxhRoE8ku', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '10', '0', '0', '0', 'standard', NULL, NULL, NULL, NULL, '[\"Change Branch\",\"Theme Setting\",\"Export Report\",\"Customer Display\",\"Table Reservation\",\"Payment Gateway Integration\"]', '0', '-1', '-1', '-1', '-1', '-1', '0', '40'),
('9', 'Premium Package', '0.00', '2025-12-02 11:03:59', '2025-12-02 11:46:02', '5', 'For multi-cuisine restaurants & bars\n', '1490.00', '149.00', '1', '1', 'price_1SZs1PILSMCMpdPIMDg9NjzB', 'price_1SZrMNILSMCMpdPIhIXtg2Uh', 'prod_TWvDJP95hq80lo', 'prod_TWvCJm82TJRFcY', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5', '0', '0', '1', 'standard', NULL, NULL, NULL, NULL, '[\"Payment Gateway Integration\",\"Table Reservation\",\"Export Report\",\"Customer Display\",\"Theme Setting\",\"Change Branch\"]', '-1', '-1', '-1', '-1', '-1', '-1', '0', '40'),
('10', 'Enterprise Package', '0.00', '2025-12-02 11:09:02', '2025-12-02 11:45:08', '5', 'For chains, franchises, and high-volume operations\n', '1990.00', '199.00', '1', '1', 'price_1SZrPhILSMCMpdPITyzBtaE2', 'price_1SZs0PILSMCMpdPIuFCfGgQ7', 'prod_TWvGoVHhHttOZ7', 'prod_TWvF8uBKVDqfhm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '6', '0', '0', '0', 'standard', NULL, NULL, NULL, NULL, '[\"Table Reservation\",\"Customer Display\",\"Export Report\",\"Change Branch\",\"Theme Setting\",\"Payment Gateway Integration\"]', '-1', '-1', '-1', '-1', '-1', '-1', '0', '40');


-- Table structure for table `password_reset_tokens`
CREATE TABLE `password_reset_tokens` (
  `email` varchar(191) NOT NULL,
  `token` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `payfast_payments`
CREATE TABLE `payfast_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `payfast_payment_id` varchar(191) DEFAULT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `payment_status` enum('pending','completed','failed') NOT NULL DEFAULT 'pending',
  `payment_date` timestamp NULL DEFAULT NULL,
  `payment_error_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payment_error_response`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payfast_payments_order_id_foreign` (`order_id`),
  CONSTRAINT `payfast_payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `payment_gateway_credentials`
CREATE TABLE `payment_gateway_credentials` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `razorpay_key` text DEFAULT NULL,
  `razorpay_secret` text DEFAULT NULL,
  `razorpay_status` tinyint(1) NOT NULL DEFAULT 0,
  `stripe_key` text DEFAULT NULL,
  `stripe_secret` text DEFAULT NULL,
  `stripe_status` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `is_dine_in_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_delivery_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_pickup_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_cash_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_qr_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_offline_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `offline_payment_detail` varchar(191) DEFAULT NULL,
  `qr_code_image` varchar(191) DEFAULT NULL,
  `flutterwave_status` tinyint(1) NOT NULL DEFAULT 0,
  `flutterwave_mode` enum('test','live') NOT NULL DEFAULT 'test',
  `test_flutterwave_key` varchar(191) DEFAULT NULL,
  `test_flutterwave_secret` varchar(191) DEFAULT NULL,
  `test_flutterwave_hash` varchar(191) DEFAULT NULL,
  `live_flutterwave_key` varchar(191) DEFAULT NULL,
  `live_flutterwave_secret` varchar(191) DEFAULT NULL,
  `live_flutterwave_hash` varchar(191) DEFAULT NULL,
  `flutterwave_webhook_secret_hash` varchar(191) DEFAULT NULL,
  `paypal_client_id` varchar(191) DEFAULT NULL,
  `paypal_secret` varchar(191) DEFAULT NULL,
  `paypal_status` tinyint(1) NOT NULL DEFAULT 0,
  `paypal_mode` enum('sandbox','live') NOT NULL DEFAULT 'sandbox',
  `sandbox_paypal_client_id` varchar(191) DEFAULT NULL,
  `sandbox_paypal_secret` varchar(191) DEFAULT NULL,
  `payfast_merchant_id` varchar(191) DEFAULT NULL,
  `payfast_merchant_key` varchar(191) DEFAULT NULL,
  `payfast_passphrase` varchar(191) DEFAULT NULL,
  `payfast_mode` enum('sandbox','live') NOT NULL DEFAULT 'sandbox',
  `payfast_status` tinyint(1) NOT NULL DEFAULT 0,
  `test_payfast_merchant_id` varchar(191) DEFAULT NULL,
  `test_payfast_merchant_key` varchar(191) DEFAULT NULL,
  `test_payfast_passphrase` varchar(191) DEFAULT NULL,
  `paystack_key` varchar(191) DEFAULT NULL,
  `paystack_secret` varchar(191) DEFAULT NULL,
  `paystack_merchant_email` varchar(191) DEFAULT NULL,
  `paystack_status` tinyint(1) NOT NULL DEFAULT 0,
  `paystack_mode` enum('sandbox','live') NOT NULL DEFAULT 'sandbox',
  `test_paystack_key` varchar(191) DEFAULT NULL,
  `test_paystack_secret` varchar(191) DEFAULT NULL,
  `test_paystack_merchant_email` varchar(191) DEFAULT NULL,
  `paystack_payment_url` varchar(191) DEFAULT 'https://api.paystack.co',
  `xendit_status` tinyint(1) NOT NULL DEFAULT 0,
  `moneris_status` tinyint(1) DEFAULT 0,
  `moneris_store_id` varchar(255) DEFAULT NULL,
  `moneris_api_token` varchar(255) DEFAULT NULL,
  `moneris_environment` varchar(255) DEFAULT 'test' COMMENT 'test or prod',
  `xendit_mode` enum('sandbox','live') NOT NULL DEFAULT 'sandbox',
  `test_xendit_public_key` varchar(191) DEFAULT NULL,
  `test_xendit_secret_key` varchar(191) DEFAULT NULL,
  `live_xendit_public_key` varchar(191) DEFAULT NULL,
  `live_xendit_secret_key` varchar(191) DEFAULT NULL,
  `test_xendit_webhook_token` varchar(191) DEFAULT NULL,
  `live_xendit_webhook_token` varchar(191) DEFAULT NULL,
  `epay_status` tinyint(1) NOT NULL DEFAULT 0,
  `epay_mode` enum('sandbox','live') NOT NULL DEFAULT 'sandbox',
  `epay_client_id` varchar(191) DEFAULT NULL,
  `epay_client_secret` varchar(191) DEFAULT NULL,
  `epay_terminal_id` varchar(191) DEFAULT NULL,
  `test_epay_client_id` varchar(191) DEFAULT NULL,
  `test_epay_client_secret` varchar(191) DEFAULT NULL,
  `test_epay_terminal_id` varchar(191) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_gateway_credentials_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `payment_gateway_credentials_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `payment_gateway_credentials`
INSERT INTO `payment_gateway_credentials` VALUES
('1', '1', NULL, NULL, '0', NULL, NULL, '0', '2025-09-17 05:36:43', '2025-09-17 05:36:43', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', '0', NULL, NULL, 'test', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('2', '1', NULL, NULL, '0', NULL, NULL, '0', '2025-09-17 05:36:44', '2025-09-17 05:36:44', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', '0', NULL, NULL, 'test', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('3', '2', NULL, NULL, '0', NULL, NULL, '0', '2025-09-17 10:02:45', '2025-09-20 12:28:22', '0', '0', '0', '1', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', '0', NULL, NULL, 'test', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('4', '3', NULL, NULL, '0', NULL, NULL, '0', '2025-09-20 12:56:44', '2025-09-20 12:56:44', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', '0', NULL, NULL, 'test', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('5', '4', 'eyJpdiI6Im9JQzA0dHRQSlFaamJLR01Wb212dUE9PSIsInZhbHVlIjoiSUZqSS8vcDFwRjA2NlZNRHM0UHNqWE9aUEhQV3F4WkZZbTJ1N0Eyek5yYz0iLCJtYWMiOiI5ZjJlOWRjYzhiOTYzZGU3OGQ3ODVlNWVmOTBiMjBiYjk0MzA1YmJiNTUwZmM4ZDE4MjM3NzBhNGNjNGI3NDU5IiwidGFnIjoiIn0=', 'eyJpdiI6ImpPalpWeVZCL1hYUC84QTF5aCtzeUE9PSIsInZhbHVlIjoiRE93eWFoQ2NVNExlMjk3SFBGVVJjOFZadDRXMlRqUVFjTWhEUndhTVNOYz0iLCJtYWMiOiIzMTU1ZDQ1Y2JhNTI1N2QzMmVkZTk0ZDgxZGMxYTYzYmFkNDdiOTliN2Q1MGI2NzBiNzRjMmUzMGY4YjIxYjVmIiwidGFnIjoiIn0=', '1', NULL, NULL, '0', '2025-10-07 15:00:09', '2025-12-06 06:51:34', '1', '1', '1', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', '1', 'monca12919', 'eyJpdiI6IlAxc3dpTUhxRldlcWJVODVpcldmamc9PSIsInZhbHVlIjoiYmF4Z3MxWk13OGtISlliS2taNlZBb2VsUm1UczI4TGNCaHFZU2lNajBlYz0iLCJtYWMiOiJlM2RlYjM0Njc1OTIwZTYzNGM2YzQxNTg4MzRhYzQyOTQ2OGZjMDgxMjNjOTM3ZmY1ODVlOWRkNjVjNTAzMmIwIiwidGFnIjoiIn0=', 'test', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('27', '26', NULL, NULL, '0', NULL, NULL, '0', '2025-11-07 17:23:03', '2025-11-07 17:23:03', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', '0', NULL, NULL, 'test', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('28', '27', NULL, NULL, '0', NULL, NULL, '0', '2025-11-08 10:32:26', '2025-11-08 10:32:26', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', '0', NULL, NULL, 'test', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('29', '28', NULL, NULL, '0', NULL, NULL, '0', '2025-11-12 14:15:50', '2025-11-12 14:15:50', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', '0', NULL, NULL, 'test', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('30', '29', NULL, NULL, '0', NULL, NULL, '0', '2025-11-13 15:41:43', '2025-11-13 15:41:43', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', '0', NULL, NULL, 'test', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('31', '30', NULL, NULL, '0', NULL, NULL, '0', '2025-11-15 07:46:25', '2025-11-15 07:46:25', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', '0', NULL, NULL, 'test', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL);


-- Table structure for table `payments`
CREATE TABLE `payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `payment_method` varchar(191) NOT NULL DEFAULT 'cash',
  `amount` decimal(16,2) NOT NULL,
  `balance` decimal(16,2) DEFAULT 0.00,
  `transaction_id` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payments_order_id_foreign` (`order_id`),
  KEY `payments_branch_id_foreign` (`branch_id`),
  CONSTRAINT `payments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `payments`
INSERT INTO `payments` VALUES
('1', '3', '1', 'cash', '453.02', '0.00', NULL, '2025-09-20 12:27:27', '2025-09-20 12:27:27'),
('2', '3', '1', 'card', '453.02', '0.00', NULL, '2025-09-20 12:27:46', '2025-09-20 12:27:46'),
('3', '4', '2', 'cash', '100.00', '0.00', NULL, '2025-09-20 13:00:23', '2025-09-20 13:00:23'),
('4', '5', '3', 'razorpay', '4.20', '0.00', 'pay_RQdFvyYfrbz90B', '2025-10-07 15:27:22', '2025-10-07 15:27:22'),
('5', '5', '4', 'razorpay', '1207.50', '0.00', 'pay_RQvDmpMUMiPPoz', '2025-10-08 09:01:47', '2025-10-08 09:01:47'),
('6', '5', '5', 'razorpay', '126.00', '0.00', 'pay_RQwocGZ0pLkBZU', '2025-10-08 10:35:27', '2025-10-08 10:35:27'),
('7', '5', '6', 'upi', '262.50', '0.00', NULL, '2025-10-15 12:33:02', '2025-10-15 12:33:02'),
('9', '5', '8', 'upi', '0.00', '0.00', NULL, '2025-10-15 12:36:19', '2025-10-15 12:36:19'),
('11', '5', '9', 'cash', '1365.00', '0.00', NULL, '2025-10-15 12:39:12', '2025-10-15 12:39:12'),
('12', '5', '10', 'cash', '126.00', '0.00', NULL, '2025-10-15 12:40:41', '2025-10-15 12:40:41'),
('13', '5', '11', 'razorpay', '262.50', '0.00', 'pay_RU8a2YLhBIHi68', '2025-10-16 12:02:53', '2025-10-16 12:02:53'),
('14', '5', '12', 'razorpay', '126.00', '0.00', 'pay_RU96EhIkc3IVzX', '2025-10-16 12:33:24', '2025-10-16 12:33:24'),
('15', '5', '13', 'razorpay', '126.00', '0.00', 'pay_RU9F8RuNHirFo6', '2025-10-16 12:41:49', '2025-10-16 12:41:49'),
('16', '5', '14', 'razorpay', '262.50', '0.00', 'pay_RU9MU5ib1JkTnn', '2025-10-16 12:48:50', '2025-10-16 12:48:50'),
('17', '5', '16', 'razorpay', '136.50', '0.00', 'pay_RU9ub1bUSMzfs0', '2025-10-16 13:21:02', '2025-10-16 13:21:02'),
('18', '5', '17', 'razorpay', '136.50', '0.00', 'pay_RUA4EIVkrFaSbP', '2025-10-16 13:30:10', '2025-10-16 13:30:10'),
('19', '5', '18', 'razorpay', '126.00', '0.00', 'pay_RUAUlBSDMxqJTC', '2025-10-16 13:55:16', '2025-10-16 13:55:16'),
('20', '5', '19', 'razorpay', '136.50', '0.00', 'pay_RUAWulQPNCTG7i', '2025-10-16 13:57:19', '2025-10-16 13:57:19'),
('21', '5', '20', 'razorpay', '136.50', '0.00', 'pay_RUAb7Ybhnyp6VA', '2025-10-16 14:01:18', '2025-10-16 14:01:18'),
('22', '5', '21', 'razorpay', '136.50', '0.00', 'pay_RUAwENCbQlEREv', '2025-10-16 14:21:17', '2025-10-16 14:21:17'),
('23', '5', '22', 'razorpay', '262.50', '0.00', 'pay_RUCI08zHu05Cru', '2025-10-16 15:40:44', '2025-10-16 15:40:44'),
('24', '5', '23', 'razorpay', '126.00', '0.00', 'pay_RUCUH901mTpl0v', '2025-10-16 15:52:12', '2025-10-16 15:52:12'),
('25', '5', '24', 'razorpay', '136.50', '0.00', 'pay_RUDAdHGRhRPEMR', '2025-10-16 16:32:18', '2025-10-16 16:32:18'),
('26', '5', '25', 'razorpay', '136.50', '0.00', 'pay_RUDGrlYPDDK0Fy', '2025-10-16 16:38:15', '2025-10-16 16:38:15'),
('27', '5', '26', 'razorpay', '136.50', '0.00', 'pay_RUDhEd02oZPOQz', '2025-10-16 17:03:10', '2025-10-16 17:03:10'),
('28', '5', '28', 'razorpay', '472.50', '0.00', 'pay_RUELrldqCYy71f', '2025-10-16 17:41:37', '2025-10-16 17:41:37'),
('29', '5', '29', 'upi', '682.50', '0.00', 'pay_RUiqllBt3UkVp2', '2025-10-17 23:31:40', '2025-10-17 23:34:02'),
('30', '5', '30', 'cash', '220.50', '0.00', NULL, '2025-10-17 23:41:41', '2025-10-17 23:41:41'),
('31', '5', '31', 'cash', '210.00', '0.00', NULL, '2025-10-17 23:43:03', '2025-10-17 23:43:03'),
('32', '5', '32', 'card', '126.00', '0.00', NULL, '2025-10-17 23:43:40', '2025-10-17 23:43:40'),
('33', '5', '33', 'razorpay', '220.50', '0.00', 'pay_RUj5ABMuzDkVft', '2025-10-17 23:45:18', '2025-10-17 23:45:18'),
('34', '5', '35', 'bank_transfer', '63.00', '0.00', NULL, '2025-10-17 23:48:31', '2025-10-17 23:48:31'),
('35', '5', '36', 'cash', '409.50', '0.00', NULL, '2025-10-17 23:49:24', '2025-10-17 23:49:24'),
('36', '5', '37', 'cash', '273.00', '0.00', NULL, '2025-10-17 23:51:44', '2025-10-17 23:51:44'),
('38', '5', '38', 'upi', '682.50', '0.00', NULL, '2025-10-17 23:55:07', '2025-10-17 23:55:07'),
('39', '5', '39', 'cash', '409.50', '0.00', NULL, '2025-10-18 00:06:01', '2025-10-18 00:06:01'),
('40', '5', '40', 'cash', '63.00', '0.00', NULL, '2025-10-18 00:08:07', '2025-10-18 00:08:07'),
('41', '5', '42', 'cash', '220.50', '0.00', NULL, '2025-10-18 17:25:48', '2025-10-18 17:25:48'),
('43', '5', '43', 'cash', '63.00', '0.00', NULL, '2025-10-18 17:30:08', '2025-10-18 17:30:08'),
('44', '5', '44', 'upi', '420.00', '0.00', NULL, '2025-10-18 17:45:59', '2025-10-18 17:55:28'),
('45', '5', '45', 'razorpay', '136.50', '0.00', 'pay_RV2DxCEAXulsv5', '2025-10-18 18:28:48', '2025-10-18 18:28:48'),
('46', '5', '46', 'razorpay', '420.00', '0.00', 'pay_RX913zygg3h1tF', '2025-10-24 02:25:28', '2025-10-24 02:25:28'),
('47', '5', '48', 'razorpay', '420.00', '0.00', 'pay_RX97xYO5XaJJUZ', '2025-10-24 02:32:05', '2025-10-24 02:32:05'),
('48', '5', '47', 'razorpay', '420.00', '0.00', 'pay_RX94TbbHbMhN5f', '2025-10-24 02:33:07', '2025-10-24 02:33:07'),
('50', '5', '50', 'upi', '420.00', '0.00', NULL, '2025-10-24 02:40:08', '2025-10-24 02:40:08'),
('51', '5', '51', 'razorpay', '420.00', '0.00', 'pay_RXEo8vcj53JFek', '2025-10-24 08:05:24', '2025-10-24 08:05:24'),
('52', '5', '52', 'razorpay', '31.50', '0.00', 'pay_RXLnlRuXkRmfab', '2025-10-24 14:55:53', '2025-10-24 14:55:53'),
('53', '5', '54', 'upi', '420.00', '0.00', NULL, '2025-10-24 15:12:10', '2025-10-24 15:12:10'),
('54', '5', '55', 'upi', '1134.00', '0.00', NULL, '2025-10-24 15:18:12', '2025-10-24 15:18:12'),
('56', '5', '56', 'card', '640.00', '0.00', NULL, '2025-10-24 15:20:25', '2025-10-24 15:20:25'),
('57', '5', '56', 'cash', '0.50', '0.00', NULL, '2025-10-24 15:20:25', '2025-10-24 15:20:32'),
('58', '5', '58', 'razorpay', '136.50', '0.00', 'pay_RXbevsxRjFumh3', '2025-10-25 06:26:39', '2025-10-25 06:26:39'),
('59', '5', '59', 'razorpay', '126.00', '0.00', 'pay_RXbihPYglMshJc', '2025-10-25 06:30:15', '2025-10-25 06:30:15'),
('60', '5', '60', 'razorpay', '451.50', '0.00', 'pay_RXcO2QUK3Vaicu', '2025-10-25 07:09:25', '2025-10-25 07:09:25'),
('61', '5', '61', 'razorpay', '215.25', '0.00', 'pay_RXiSNL3KI554tj', '2025-10-25 13:05:35', '2025-10-25 13:05:35'),
('62', '5', '63', 'card', '189.00', '0.00', NULL, '2025-10-25 13:23:04', '2025-10-25 13:23:04'),
('63', '5', '64', 'cash', '420.00', '0.00', NULL, '2025-10-25 13:31:10', '2025-10-25 13:31:10'),
('64', '5', '65', 'razorpay', '420.00', '0.00', 'pay_RYQtycnNPA3QC8', '2025-10-27 08:34:14', '2025-10-27 08:34:14'),
('65', '5', '66', 'razorpay', '136.50', '0.00', 'pay_RYS6Im4PwH5Ms3', '2025-10-27 09:44:37', '2025-10-27 09:44:37'),
('66', '5', '67', 'razorpay', '262.50', '0.00', 'pay_Ra7UGYjSkQuBI1', '2025-10-31 14:52:44', '2025-10-31 14:52:44'),
('67', '5', '68', 'razorpay', '136.50', '0.00', 'pay_RcUFltzY11hRkG', '2025-11-06 14:26:59', '2025-11-06 14:26:59'),
('68', '5', '69', 'razorpay', '126.00', '0.00', 'pay_RdAzRsFf5QdQv9', '2025-11-08 08:15:20', '2025-11-08 08:15:20'),
('69', '5', '70', 'razorpay', '126.00', '0.00', 'pay_RjvJLBitbRBmUL', '2025-11-25 09:28:04', '2025-11-25 09:28:04'),
('70', '5', '72', 'cash', '315.00', '0.00', NULL, '2025-11-25 12:10:49', '2025-11-25 12:10:49'),
('71', '31', '103', 'cash', '24.47', '0.00', NULL, '2025-12-05 20:17:43', '2025-12-05 20:17:43'),
('72', '5', '112', 'due', '63.00', '0.00', NULL, '2025-12-10 10:07:57', '2025-12-10 10:07:57');


-- Table structure for table `paypal_payments`
CREATE TABLE `paypal_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `paypal_payment_id` varchar(191) DEFAULT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `payment_status` enum('pending','completed','failed') NOT NULL DEFAULT 'pending',
  `payment_date` timestamp NULL DEFAULT NULL,
  `payment_error_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payment_error_response`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `paypal_payments_order_id_foreign` (`order_id`),
  CONSTRAINT `paypal_payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `paystack_payments`
CREATE TABLE `paystack_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `paystack_payment_id` varchar(191) DEFAULT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `payment_status` enum('pending','completed','failed') NOT NULL DEFAULT 'pending',
  `payment_date` timestamp NULL DEFAULT NULL,
  `payment_error_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payment_error_response`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `paystack_payments_order_id_foreign` (`order_id`),
  CONSTRAINT `paystack_payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `permissions`
CREATE TABLE `permissions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `guard_name` varchar(191) NOT NULL,
  `module_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`),
  KEY `permissions_module_id_foreign` (`module_id`),
  CONSTRAINT `permissions_module_id_foreign` FOREIGN KEY (`module_id`) REFERENCES `modules` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=93 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `permissions`
INSERT INTO `permissions` VALUES
('1', 'Create Menu', 'web', '1', NULL, NULL),
('2', 'Show Menu', 'web', '1', NULL, NULL),
('3', 'Update Menu', 'web', '1', NULL, NULL),
('4', 'Delete Menu', 'web', '1', NULL, NULL),
('5', 'Create Menu Item', 'web', '2', NULL, NULL),
('6', 'Show Menu Item', 'web', '2', NULL, NULL),
('7', 'Update Menu Item', 'web', '2', NULL, NULL),
('8', 'Delete Menu Item', 'web', '2', NULL, NULL),
('9', 'Create Item Category', 'web', '3', NULL, NULL),
('10', 'Show Item Category', 'web', '3', NULL, NULL),
('11', 'Update Item Category', 'web', '3', NULL, NULL),
('12', 'Delete Item Category', 'web', '3', NULL, NULL),
('13', 'Create Area', 'web', '4', NULL, NULL),
('14', 'Show Area', 'web', '4', NULL, NULL),
('15', 'Update Area', 'web', '4', NULL, NULL),
('16', 'Delete Area', 'web', '4', NULL, NULL),
('17', 'Create Table', 'web', '5', NULL, NULL),
('18', 'Show Table', 'web', '5', NULL, NULL),
('19', 'Update Table', 'web', '5', NULL, NULL),
('20', 'Delete Table', 'web', '5', NULL, NULL),
('21', 'Create Reservation', 'web', '6', NULL, NULL),
('22', 'Show Reservation', 'web', '6', NULL, NULL),
('23', 'Update Reservation', 'web', '6', NULL, NULL),
('24', 'Delete Reservation', 'web', '6', NULL, NULL),
('25', 'Manage KOT', 'web', '7', NULL, NULL),
('26', 'Create Order', 'web', '8', NULL, NULL),
('27', 'Show Order', 'web', '8', NULL, NULL),
('28', 'Update Order', 'web', '8', NULL, NULL),
('29', 'Delete Order', 'web', '8', NULL, NULL),
('30', 'Create Customer', 'web', '9', NULL, NULL),
('31', 'Show Customer', 'web', '9', NULL, NULL),
('32', 'Update Customer', 'web', '9', NULL, NULL),
('33', 'Delete Customer', 'web', '9', NULL, NULL),
('34', 'Create Staff Member', 'web', '10', NULL, NULL),
('35', 'Show Staff Member', 'web', '10', NULL, NULL),
('36', 'Update Staff Member', 'web', '10', NULL, NULL),
('37', 'Delete Staff Member', 'web', '10', NULL, NULL),
('38', 'Create Delivery Executive', 'web', '14', NULL, NULL),
('39', 'Show Delivery Executive', 'web', '14', NULL, NULL),
('40', 'Update Delivery Executive', 'web', '14', NULL, NULL),
('41', 'Delete Delivery Executive', 'web', '14', NULL, NULL),
('42', 'Show Payments', 'web', '11', NULL, NULL),
('43', 'Show Reports', 'web', '12', NULL, NULL),
('44', 'Manage Settings', 'web', '13', NULL, NULL),
('45', 'Manage Waiter Request', 'web', '15', NULL, NULL),
('46', 'Create Expense', 'web', '16', NULL, NULL),
('47', 'Show Expense', 'web', '16', NULL, NULL),
('48', 'Update Expense', 'web', '16', NULL, NULL),
('49', 'Delete Expense', 'web', '16', NULL, NULL),
('50', 'Create Expense Category', 'web', '16', NULL, NULL),
('51', 'Show Expense Category', 'web', '16', NULL, NULL),
('52', 'Update Expense Category', 'web', '16', NULL, NULL),
('53', 'Delete Expense Category', 'web', '16', NULL, NULL),
('54', 'Create Inventory Item', 'web', '17', NULL, NULL),
('55', 'Show Inventory Item', 'web', '17', NULL, NULL),
('56', 'Update Inventory Item', 'web', '17', NULL, NULL),
('57', 'Delete Inventory Item', 'web', '17', NULL, NULL),
('58', 'Create Inventory Movement', 'web', '17', NULL, NULL),
('59', 'Show Inventory Movement', 'web', '17', NULL, NULL),
('60', 'Update Inventory Movement', 'web', '17', NULL, NULL),
('61', 'Delete Inventory Movement', 'web', '17', NULL, NULL),
('62', 'Show Inventory Stock', 'web', '17', NULL, NULL),
('63', 'Create Unit', 'web', '17', NULL, NULL),
('64', 'Show Unit', 'web', '17', NULL, NULL),
('65', 'Update Unit', 'web', '17', NULL, NULL),
('66', 'Delete Unit', 'web', '17', NULL, NULL),
('67', 'Create Recipe', 'web', '17', NULL, NULL),
('68', 'Show Recipe', 'web', '17', NULL, NULL),
('69', 'Update Recipe', 'web', '17', NULL, NULL),
('70', 'Delete Recipe', 'web', '17', NULL, NULL),
('71', 'Create Purchase Order', 'web', '17', NULL, NULL),
('72', 'Show Purchase Order', 'web', '17', NULL, NULL),
('73', 'Update Purchase Order', 'web', '17', NULL, NULL),
('74', 'Delete Purchase Order', 'web', '17', NULL, NULL),
('75', 'Show Inventory Report', 'web', '17', NULL, NULL),
('76', 'Update Inventory Settings', 'web', '17', NULL, NULL),
('77', 'Show Supplier', 'web', '17', NULL, NULL),
('78', 'Create Supplier', 'web', '17', NULL, NULL),
('79', 'Update Supplier', 'web', '17', NULL, NULL),
('80', 'Delete Supplier', 'web', '17', NULL, NULL),
('81', 'Show Kitchen Place', 'web', '18', '2025-09-17 05:48:21', '2025-09-17 05:48:21'),
('82', 'Create Kitchen Place', 'web', '18', '2025-09-17 05:48:21', '2025-09-17 05:48:21'),
('83', 'Update Kitchen Place', 'web', '18', '2025-09-17 05:48:21', '2025-09-17 05:48:21'),
('84', 'Delete Kitchen Place', 'web', '18', '2025-09-17 05:48:21', '2025-09-17 05:48:21'),
('85', 'Manage Cash Register Settings', 'web', '20', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('86', 'View Cash Register Reports', 'web', '20', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('87', 'Manage Cash Denominations', 'web', '20', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('88', 'Approve Cash Register', 'web', '20', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('89', 'Open Cash Register', 'web', '20', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('90', 'Update Sms Settings', 'web', '21', NULL, NULL),
('91', 'Add Discount on POS', 'web', '8', '2025-11-06 14:08:51', '2025-11-06 14:08:51'),
('92', 'Manage MultiPOS Machines', 'web', '22', '2025-11-25 10:51:07', '2025-11-25 10:51:07');


-- Table structure for table `personal_access_tokens`
CREATE TABLE `personal_access_tokens` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `tokenable_type` varchar(191) NOT NULL,
  `tokenable_id` bigint(20) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `token` varchar(64) NOT NULL,
  `abilities` text DEFAULT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `pos_machines`
CREATE TABLE `pos_machines` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned NOT NULL,
  `alias` varchar(191) DEFAULT NULL,
  `public_id` varchar(191) NOT NULL,
  `token` varchar(191) NOT NULL,
  `device_id` varchar(191) DEFAULT NULL,
  `status` enum('pending','active','declined') NOT NULL DEFAULT 'pending',
  `last_seen_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pos_machines_public_id_unique` (`public_id`),
  UNIQUE KEY `pos_machines_token_unique` (`token`),
  KEY `pos_machines_created_by_foreign` (`created_by`),
  KEY `pos_machines_approved_by_foreign` (`approved_by`),
  KEY `pos_machines_branch_id_status_index` (`branch_id`,`status`),
  KEY `pos_machines_status_index` (`status`),
  KEY `pos_machines_device_id_branch_id_index` (`device_id`,`branch_id`),
  CONSTRAINT `pos_machines_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_machines_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pos_machines_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `pos_machines`
INSERT INTO `pos_machines` VALUES
('1', '5', 'Bar', '01KAXARK3TCYFMN15AQZNGBPBK', 'R1L1DVLCpgWcJc7aRRttlDDHME7kE9aNElkrO9kSryJfzsJ5t6T1rJdWvfWcX62A', 'BQv8kkHmNMs1F6m57uSm6zvLzohZaonOpff0G8wzhPPRmuAyyOSRxkWHoy6EiUVf', 'active', NULL, '7', '7', '2025-11-25 11:00:59', NULL, '2025-11-25 11:00:45', '2025-11-25 11:00:59'),
('2', '5', 'MESS ONE POS 1764069012', '01KAXB9WH98HYADWSH4QMEA9D0', 'r4ca0K7fP0xMq9CmI6eucmNS77M0MKXv1em7ei154dLnZAbwJF2QAHpIsweFDdth', 'EWEiBobeQaNxgndp7YdT7jGOqelad03SuRx4E3PnpSrLGPULHilUHR8hbjbyzb4G', 'active', NULL, '7', '7', '2025-11-25 12:09:12', NULL, '2025-11-25 11:10:12', '2025-11-25 12:09:12'),
('3', '31', 'q', '01KBFHXSP7CRV8QKWSRSS96D4T', 'fiI5GRkScxHGqQERFSYP4INuhBUDvYrVcUvF4JobpFHat3FrjSbyAXmYFApciksr', 'BQv8kkHmNMs1F6m57uSm6zvLzohZaonOpff0G8wzhPPRmuAyyOSRxkWHoy6EiUVf', 'active', NULL, '16', '16', '2025-12-02 12:52:20', NULL, '2025-12-02 12:52:15', '2025-12-02 12:52:20'),
('4', '5', 'MESS ONE POS 1765004552', '01KBS7GAGHZVGM97ER6XYNVJB9', 'B8pJA6OFvRLM3wqOgMCaiFSv4Q7EOaFKX7U84Im2p8VjKFR4gRQUBEK9H30cAmg6', 'qzND2YcWtqe6etNk34927IvZyYa2DCsBWU6DWdGGF4PlYHMtEJIrvL0YXZTPQXTg', 'active', NULL, '7', '7', '2025-12-06 07:02:39', NULL, '2025-12-06 07:02:32', '2025-12-06 07:02:39'),
('5', '5', 'MESS ONE POS 1765361607', '01KC3W0RWM3SAVQ2YV4P6N6C6K', 'CG1OqgKMGJVWZYGZSD91iNdV8NpY6Edz5221F4T8iEaDCKBH93lDv0Ph82Ld8163', 'L7G9Jtaed7t5smYtekVRPKP7mKIgBlUmebTbyp6JMJXcd5QMGoD6lDCviPo42AHc', 'active', NULL, '7', '7', '2025-12-10 10:13:37', NULL, '2025-12-10 10:13:27', '2025-12-10 10:13:37');


-- Table structure for table `predefined_amounts`
CREATE TABLE `predefined_amounts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `predefined_amounts_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `predefined_amounts_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=121 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `predefined_amounts`
INSERT INTO `predefined_amounts` VALUES
('1', '1', '50.00', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('2', '1', '100.00', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('3', '1', '500.00', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('4', '1', '1000.00', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('5', '2', '50.00', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('6', '2', '100.00', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('7', '2', '500.00', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('8', '2', '1000.00', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('9', '3', '50.00', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('10', '3', '100.00', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('11', '3', '500.00', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('12', '3', '1000.00', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('13', '4', '50.00', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('14', '4', '100.00', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('15', '4', '500.00', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('16', '4', '1000.00', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('101', '26', '50.00', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('102', '26', '100.00', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('103', '26', '500.00', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('104', '26', '1000.00', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('105', '27', '50.00', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('106', '27', '100.00', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('107', '27', '500.00', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('108', '27', '1000.00', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('109', '28', '50.00', '2025-11-12 14:15:50', '2025-11-12 14:15:50'),
('110', '28', '100.00', '2025-11-12 14:15:50', '2025-11-12 14:15:50'),
('111', '28', '500.00', '2025-11-12 14:15:50', '2025-11-12 14:15:50'),
('112', '28', '1000.00', '2025-11-12 14:15:50', '2025-11-12 14:15:50'),
('113', '29', '50.00', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('114', '29', '100.00', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('115', '29', '500.00', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('116', '29', '1000.00', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('117', '30', '50.00', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('118', '30', '100.00', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('119', '30', '500.00', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('120', '30', '1000.00', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `print_jobs`
CREATE TABLE `print_jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `printer_id` bigint(20) unsigned DEFAULT NULL,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `status` enum('done','failed','printing','pending') DEFAULT 'pending',
  `error` text DEFAULT NULL,
  `response_printer` varchar(191) DEFAULT NULL,
  `image_filename` varchar(191) DEFAULT NULL,
  `printed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `print_jobs_printer_id_foreign` (`printer_id`),
  KEY `print_jobs_restaurant_id_foreign` (`restaurant_id`),
  KEY `print_jobs_branch_id_foreign` (`branch_id`),
  CONSTRAINT `print_jobs_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `print_jobs_printer_id_foreign` FOREIGN KEY (`printer_id`) REFERENCES `printers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `print_jobs_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `print_jobs`
INSERT INTO `print_jobs` VALUES
('1', '5', '4', '5', 'pending', NULL, NULL, 'x-report-3.png', NULL, '2025-10-24 15:09:26', '2025-10-24 15:09:26'),
('2', '5', '4', '5', 'pending', NULL, NULL, 'x-report-3.png', NULL, '2025-10-24 15:09:29', '2025-10-24 15:09:29');


-- Table structure for table `printers`
CREATE TABLE `printers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `printing_choice` varchar(191) DEFAULT NULL,
  `print_type` enum('image','pdf') NOT NULL DEFAULT 'image',
  `kots` text DEFAULT NULL,
  `orders` text DEFAULT NULL,
  `print_format` varchar(191) DEFAULT NULL,
  `invoice_qr_code` int(11) DEFAULT NULL,
  `open_cash_drawer` enum('yes','no') DEFAULT NULL,
  `share_name` varchar(191) DEFAULT NULL,
  `type` enum('network','windows','linux','default') DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `printer_name` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `printers_restaurant_id_foreign` (`restaurant_id`),
  KEY `printers_branch_id_foreign` (`branch_id`),
  CONSTRAINT `printers_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `printers_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `printers`
INSERT INTO `printers` VALUES
('1', '1', '1', 'Default Thermal Printer', 'browserPopupPrint', 'image', '[1]', '[1]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('2', '1', '2', 'Default Thermal Printer', 'browserPopupPrint', 'image', '[2]', '[2]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('3', '2', '3', 'Default Thermal Printer', 'browserPopupPrint', 'image', '[3]', '[3]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('4', '3', '4', 'Default Thermal Printer', 'browserPopupPrint', 'image', '[4]', '[4]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('5', '4', '5', 'Default Thermal Printer', 'browserPopupPrint', 'image', '[5]', '[5]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('27', '26', '27', 'Default Printer', 'browserPopupPrint', 'image', '[28]', '[27]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('28', '27', '28', 'Default Printer', 'browserPopupPrint', 'image', '[29]', '[28]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('29', '28', '29', 'Default Printer', 'browserPopupPrint', 'image', '[30]', '[29]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('30', '29', '30', 'Default Printer', 'browserPopupPrint', 'image', '[31]', '[30]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('31', '30', '31', 'Default Printer', 'browserPopupPrint', 'image', '[32]', '[31]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `purchase_order_items`
CREATE TABLE `purchase_order_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_order_id` bigint(20) unsigned NOT NULL,
  `inventory_item_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(10,2) NOT NULL,
  `received_quantity` decimal(10,2) NOT NULL DEFAULT 0.00,
  `unit_price` decimal(10,2) NOT NULL,
  `subtotal` decimal(10,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purchase_order_items_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `purchase_order_items_inventory_item_id_foreign` (`inventory_item_id`),
  CONSTRAINT `purchase_order_items_inventory_item_id_foreign` FOREIGN KEY (`inventory_item_id`) REFERENCES `inventory_items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_order_items_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `purchase_order_payments`
CREATE TABLE `purchase_order_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_order_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `payment_method` varchar(191) DEFAULT NULL,
  `paid_at` date DEFAULT NULL,
  `reference` varchar(191) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purchase_order_payments_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `purchase_order_payments_branch_id_foreign` (`branch_id`),
  KEY `purchase_order_payments_created_by_foreign` (`created_by`),
  CONSTRAINT `purchase_order_payments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_order_payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `purchase_order_payments_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `purchase_orders`
CREATE TABLE `purchase_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `po_number` varchar(191) NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `supplier_id` bigint(20) unsigned NOT NULL,
  `order_date` date NOT NULL,
  `expected_delivery_date` date DEFAULT NULL,
  `total_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `status` enum('draft','sent','received','partially_received','cancelled') NOT NULL DEFAULT 'draft',
  `notes` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `purchase_orders_po_number_unique` (`po_number`),
  KEY `purchase_orders_branch_id_foreign` (`branch_id`),
  KEY `purchase_orders_supplier_id_foreign` (`supplier_id`),
  KEY `purchase_orders_created_by_foreign` (`created_by`),
  CONSTRAINT `purchase_orders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_orders_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_orders_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `pusher_settings`
CREATE TABLE `pusher_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `beamer_status` tinyint(1) NOT NULL DEFAULT 0,
  `instance_id` varchar(191) DEFAULT NULL,
  `beam_secret` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `pusher_broadcast` tinyint(1) NOT NULL DEFAULT 0,
  `pusher_app_id` varchar(191) DEFAULT NULL,
  `pusher_key` varchar(191) DEFAULT NULL,
  `pusher_secret` varchar(191) DEFAULT NULL,
  `pusher_cluster` varchar(191) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `pusher_settings`
INSERT INTO `pusher_settings` VALUES
('1', '1', 'd40201a7-4c2b-485d-b83e-b6df413123b9', '14A81FF2A4C0B8BAB9765B9499E25E4A635B35203593A1BF9E2FF0D177D88FC7', '2025-09-17 05:36:40', '2025-09-20 14:32:42', '1', '1700836', '74e36e339f0d30ae3742', 'e210d079d07f180d0b75', 'mt1'),
('2', '0', NULL, NULL, '2025-09-17 05:36:44', '2025-09-17 05:36:44', '0', NULL, NULL, NULL, NULL);


-- Table structure for table `razorpay_payments`
CREATE TABLE `razorpay_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint(20) unsigned NOT NULL,
  `payment_date` datetime DEFAULT NULL,
  `amount` decimal(16,2) DEFAULT NULL,
  `payment_status` enum('pending','requested','declined','completed') NOT NULL DEFAULT 'pending',
  `payment_error_response` text DEFAULT NULL,
  `razorpay_order_id` varchar(191) DEFAULT NULL,
  `razorpay_payment_id` varchar(191) DEFAULT NULL,
  `razorpay_signature` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `razorpay_payments_order_id_foreign` (`order_id`),
  CONSTRAINT `razorpay_payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `razorpay_payments`
INSERT INTO `razorpay_payments` VALUES
('1', '3', '2025-10-07 15:27:21', '4.20', 'completed', NULL, 'order_RQdEjK4mFoyb5X', 'pay_RQdFvyYfrbz90B', 'ab3a863408775751c5e84d3f76868ec971c2549f2446b5fa3621311bc12169bf', '2025-10-07 15:25:57', '2025-10-07 15:27:21'),
('2', '4', '2025-10-08 09:01:47', '1207.50', 'completed', NULL, 'order_RQvDdMEnjpcAar', 'pay_RQvDmpMUMiPPoz', '22ab9b169944f12675b46dcd8b13f54436eae52074b0aa7be217795fffa97a7c', '2025-10-08 09:01:24', '2025-10-08 09:01:47'),
('3', '5', '2025-10-08 10:35:27', '126.00', 'completed', NULL, 'order_RQwoDoAZZBXGHS', 'pay_RQwocGZ0pLkBZU', '81827097b034d78a88c62054e893f7ee7cd9b731a79ac938a0e8034f69ef5377', '2025-10-08 10:34:44', '2025-10-08 10:35:27'),
('4', '11', '2025-10-16 12:02:53', '262.50', 'completed', NULL, 'order_RU8ZgFDUHtuxgL', 'pay_RU8a2YLhBIHi68', 'cbf12e299953cedfa42184d82d7587e43669f299dc3a85fe1fa5b5e5004be924', '2025-10-16 12:02:18', '2025-10-16 12:02:53'),
('5', '11', NULL, '262.50', 'pending', NULL, 'order_RU8aGu6rma9yue', NULL, NULL, '2025-10-16 12:02:52', '2025-10-16 12:02:53'),
('6', '12', '2025-10-16 12:33:24', '126.00', 'completed', NULL, 'order_RU95r290ofCDqi', 'pay_RU96EhIkc3IVzX', '2c1b8e51ce2307805c05ca0306ada70654e157c82b5f0f4353e9f136b12aa4cb', '2025-10-16 12:32:45', '2025-10-16 12:33:24'),
('7', '12', NULL, '126.00', 'pending', NULL, 'order_RU96VhDVxnZRlv', NULL, NULL, '2025-10-16 12:33:23', '2025-10-16 12:33:24'),
('8', '13', '2025-10-16 12:41:48', '126.00', 'completed', NULL, 'order_RU9EtwR38RMeJT', 'pay_RU9F8RuNHirFo6', '9ae8d47dcfd4115cce91ca8c66e8444c22f30f2cbdbdd9f95eea60c6251f0ec6', '2025-10-16 12:41:20', '2025-10-16 12:41:48'),
('9', '13', NULL, '126.00', 'pending', NULL, 'order_RU9FOKnMNtqAwT', NULL, NULL, '2025-10-16 12:41:48', '2025-10-16 12:41:48'),
('10', '14', '2025-10-16 12:48:50', '262.50', 'completed', NULL, 'order_RU9MH7rS6fHal7', 'pay_RU9MU5ib1JkTnn', '2e87246a9b182883aa6cbe4fbbc499494f34c47314a8d61d3c746c5e855056f1', '2025-10-16 12:48:19', '2025-10-16 12:48:50'),
('11', '16', '2025-10-16 13:21:02', '136.50', 'completed', NULL, 'order_RU9uT8B8gLO9QH', 'pay_RU9ub1bUSMzfs0', '80b2172794e73668d3fbe22a4e9aa44c88a164ad5294d8f29bbc6a443a98973e', '2025-10-16 13:20:39', '2025-10-16 13:21:02'),
('12', '17', '2025-10-16 13:30:10', '136.50', 'completed', NULL, 'order_RUA44x2L6DrVj6', 'pay_RUA4EIVkrFaSbP', '192d53a4214085f62db6940a14e7c88bbe4896c23b08e2acf705343c35a29e4d', '2025-10-16 13:29:47', '2025-10-16 13:30:10'),
('13', '17', NULL, '136.50', 'pending', NULL, 'order_RUA4TduMY0NapO', NULL, NULL, '2025-10-16 13:30:09', '2025-10-16 13:30:10'),
('14', '18', '2025-10-16 13:55:16', '126.00', 'completed', NULL, 'order_RUAUe10RDgdiX0', 'pay_RUAUlBSDMxqJTC', 'f163d9a021eb30c66282784f261c6239ee5c9e0e14b1037e5a7671380f11ea11', '2025-10-16 13:54:55', '2025-10-16 13:55:16'),
('15', '19', '2025-10-16 13:57:19', '136.50', 'completed', NULL, 'order_RUAWnRnZAitO5K', 'pay_RUAWulQPNCTG7i', '85af424b781f99b156a6649c9ab98b7f643be140baef6bd5f62fc44c9e827b44', '2025-10-16 13:56:58', '2025-10-16 13:57:19'),
('16', '20', '2025-10-16 14:01:17', '136.50', 'completed', NULL, 'order_RUAaoXIyWj6Pnj', 'pay_RUAb7Ybhnyp6VA', '2034863bb1307002ae4393bd6976c9daac62a8efb17fbee0d810c42a82667c3b', '2025-10-16 14:00:46', '2025-10-16 14:01:17'),
('17', '21', '2025-10-16 14:21:16', '136.50', 'completed', NULL, 'order_RUAw5XJg7FTmuA', 'pay_RUAwENCbQlEREv', '0668c433240c3d45d321893b3fa414bd2028b060e4224add33301eee6ecccdc8', '2025-10-16 14:20:54', '2025-10-16 14:21:16'),
('18', '22', '2025-10-16 15:40:44', '262.50', 'completed', NULL, 'order_RUCGOxOyxUxNvZ', 'pay_RUCI08zHu05Cru', 'e15c4b58cc62691d740e9b50011766ec3882250e99a66cf6b78c52ba1146d7c6', '2025-10-16 15:38:48', '2025-10-16 15:40:44'),
('19', '23', '2025-10-16 15:52:12', '126.00', 'completed', NULL, 'order_RUCU8C4Z2ZqojV', 'pay_RUCUH901mTpl0v', '335ea0a08988e95a9c2370397c987848411a3f437931af063e8f39d448d107f1', '2025-10-16 15:51:49', '2025-10-16 15:52:12'),
('20', '24', '2025-10-16 16:32:18', '136.50', 'completed', NULL, 'order_RUDATpmB7WN6xY', 'pay_RUDAdHGRhRPEMR', 'abf62034aa8c9bfa456835fc9a9b3bb031e0eb53dcc479c3b5361ee6a0c8fb5b', '2025-10-16 16:31:54', '2025-10-16 16:32:18'),
('21', '25', '2025-10-16 16:38:15', '136.50', 'completed', NULL, 'order_RUDGjP4LohHskh', 'pay_RUDGrlYPDDK0Fy', '664ecbacf5a0960ec6bc40b049b391792044eb42ec01007564e9b4e629ab9c30', '2025-10-16 16:37:50', '2025-10-16 16:38:15'),
('22', '26', '2025-10-16 17:03:09', '136.50', 'completed', NULL, 'order_RUDh6ggkDpG8ct', 'pay_RUDhEd02oZPOQz', 'b0f7210312fb43b664a7497f5af0bf158e9ab622b478b579ebe208ef7eb87688', '2025-10-16 17:02:48', '2025-10-16 17:03:09'),
('23', '28', '2025-10-16 17:41:36', '472.50', 'completed', NULL, 'order_RUELgaBQ9IIvqw', 'pay_RUELrldqCYy71f', 'bded028be187bc97db9e15840b0a6aa05901457a378c09ca502b95fe42bc067e', '2025-10-16 17:41:12', '2025-10-16 17:41:36'),
('24', '29', '2025-10-17 23:31:40', '682.50', 'completed', NULL, 'order_RUiqZ1lWvsuTay', 'pay_RUiqllBt3UkVp2', '8f6c28ff48c1ec6f7f85e18ef1f2bfff14393f19db26564f8e05683c7120ad99', '2025-10-17 23:31:15', '2025-10-17 23:31:40'),
('25', '33', '2025-10-17 23:45:18', '220.50', 'completed', NULL, 'order_RUj53Izsqgh4ZR', 'pay_RUj5ABMuzDkVft', 'df49725b5e976019c5d1aa8dd1611fe4542f4007133ee230053391bae6c6804f', '2025-10-17 23:44:58', '2025-10-17 23:45:18'),
('26', '45', '2025-10-18 18:28:48', '136.50', 'completed', NULL, 'order_RV2DoDSYF7JI2k', 'pay_RV2DxCEAXulsv5', '16e15a6f0da7f172b51ae0f14c0a4e6188f6a5c65b13e2e5c92cb96a038bb674', '2025-10-18 18:28:26', '2025-10-18 18:28:48'),
('27', '46', '2025-10-24 02:25:28', '420.00', 'completed', NULL, 'order_RX90nIKa4rcCPW', 'pay_RX913zygg3h1tF', '7f896bab839f80ee7607adcad12c701126901eda0f16ca5afaf699fb478c1cb2', '2025-10-24 02:24:58', '2025-10-24 02:25:28'),
('28', '47', '2025-10-24 02:33:07', '420.00', 'completed', NULL, 'order_RX94MQTaiKEBkp', 'pay_RX94TbbHbMhN5f', '06f166e964c8329bd5bef8de3fdf79dcabd5ef6fc2dcab7260a55c9d35614268', '2025-10-24 02:28:21', '2025-10-24 02:33:07'),
('29', '48', '2025-10-24 02:32:05', '420.00', 'completed', NULL, 'order_RX97sM6vUJm3oD', 'pay_RX97xYO5XaJJUZ', 'cb9e634ad62850629b5e617c186c4a03fc91a8c9608b77ff4d54d64f660daba4', '2025-10-24 02:31:41', '2025-10-24 02:32:05'),
('30', '49', NULL, '420.00', 'pending', NULL, 'order_RX9ArA9HPXxlgb', NULL, NULL, '2025-10-24 02:34:30', '2025-10-24 02:34:31'),
('31', '51', '2025-10-24 08:05:24', '420.00', 'completed', NULL, 'order_RXEnwXmCxf6uU3', 'pay_RXEo8vcj53JFek', '2c397cf545e4fc63b470686efdbc7d963a3a355940ccab076ff3099d57eb9391', '2025-10-24 08:04:58', '2025-10-24 08:05:24'),
('32', '52', '2025-10-24 14:55:53', '31.50', 'completed', NULL, 'order_RXLne0sIyctfut', 'pay_RXLnlRuXkRmfab', 'c04424aaa6aa0ba41e7bbef081c2996b98b04502596df2c8828ab836ebbae81b', '2025-10-24 14:55:32', '2025-10-24 14:55:53'),
('33', '58', '2025-10-25 06:26:39', '136.50', 'completed', NULL, 'order_RXbeY7hiWwAJJK', 'pay_RXbevsxRjFumh3', '58ba2ef3dd000beb4e17e54d3cfc948dd2a6130d8cb5260354307ad5de76d4fb', '2025-10-25 06:26:01', '2025-10-25 06:26:39'),
('34', '59', '2025-10-25 06:30:15', '126.00', 'completed', NULL, 'order_RXbiZPU3u2i48x', 'pay_RXbihPYglMshJc', '247a7855ef5bea1fec0ceff653d4c9e6d43426bb98c08a55b3c84c88337b8679', '2025-10-25 06:29:50', '2025-10-25 06:30:15'),
('35', '59', NULL, '126.00', 'pending', NULL, 'order_RXbizDuTKBWXAv', NULL, NULL, '2025-10-25 06:30:14', '2025-10-25 06:30:15'),
('36', '60', '2025-10-25 07:09:25', '451.50', 'completed', NULL, 'order_RXcNpG4FzZt3w6', 'pay_RXcO2QUK3Vaicu', '6607741d668bac6aba2680935e6135a3698208e912998271a8bc238108a5cbd0', '2025-10-25 07:08:53', '2025-10-25 07:09:25'),
('37', '61', '2025-10-25 13:05:35', '215.25', 'completed', NULL, 'order_RXiSF3FS6svoJe', 'pay_RXiSNL3KI554tj', '189f87e1b6e1aebbb406c67dbfe548ea1230c9f4c1fd2ff2f2c321d195ddbe17', '2025-10-25 13:05:13', '2025-10-25 13:05:35'),
('38', '62', NULL, '420.00', 'pending', NULL, 'order_RXiTnagcOa85kR', NULL, NULL, '2025-10-25 13:06:43', '2025-10-25 13:06:44'),
('39', '65', '2025-10-27 08:34:14', '420.00', 'completed', NULL, 'order_RYQtheU6Vzhk9c', 'pay_RYQtycnNPA3QC8', '33e3162f4b2721afd96da96a9227107bce34a94ce9fa7fcc8fb5bba9f07120d4', '2025-10-27 08:33:44', '2025-10-27 08:34:14'),
('40', '66', '2025-10-27 09:44:37', '136.50', 'completed', NULL, 'order_RYS65xUEvFXZLz', 'pay_RYS6Im4PwH5Ms3', '0ef28361bf1a834964f56177ebc934169c01e14ff727d13017f9db3b491abda4', '2025-10-27 09:44:10', '2025-10-27 09:44:37'),
('41', '67', '2025-10-31 14:52:43', '262.50', 'completed', NULL, 'order_Ra7U11LtBWtAri', 'pay_Ra7UGYjSkQuBI1', 'fe3d0be68e2104cd916509b14998ef0ece0b6c983108875ac17eb6bbafdeae4a', '2025-10-31 14:52:15', '2025-10-31 14:52:43'),
('42', '68', '2025-11-06 14:26:59', '136.50', 'completed', NULL, 'order_RcUFOOLzjdiIXx', 'pay_RcUFltzY11hRkG', '94df31a53e0205e41dd6d973ceb9220e7f97c83be03aab7e01e15f867033c5c8', '2025-11-06 14:26:21', '2025-11-06 14:26:59'),
('43', '69', '2025-11-08 08:15:20', '126.00', 'completed', NULL, 'order_RdAzGZUHLcfCc3', 'pay_RdAzRsFf5QdQv9', '60c37a8c08a283b5160dc2b7d178a9880dc64f986ca5954c018d82c531e266f2', '2025-11-08 08:14:55', '2025-11-08 08:15:20'),
('44', '70', '2025-11-25 09:28:04', '126.00', 'completed', NULL, 'order_RjvIzl9fO5dvt4', 'pay_RjvJLBitbRBmUL', '627890cb01b3713cea8f489519eaf99e51476dc4faf3af49f4e34a4ddd11bd61', '2025-11-25 09:27:31', '2025-11-25 09:28:04'),
('45', '93', NULL, '787.50', 'pending', NULL, 'order_RnxlvS37oFmHDj', NULL, NULL, '2025-12-05 14:28:17', '2025-12-05 14:28:19'),
('46', '93', NULL, '787.50', 'pending', NULL, 'order_Rnxm7HMQ59VcLS', NULL, NULL, '2025-12-05 14:28:29', '2025-12-05 14:28:30'),
('47', '93', NULL, '787.50', 'pending', NULL, 'order_Rnxm8PI1cmIxrB', NULL, NULL, '2025-12-05 14:28:30', '2025-12-05 14:28:31'),
('48', '95', NULL, '420.00', 'pending', NULL, 'order_Rnxt33EzidYxYb', NULL, NULL, '2025-12-05 14:35:03', '2025-12-05 14:35:04');


-- Table structure for table `receipt_settings`
CREATE TABLE `receipt_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `show_customer_name` tinyint(1) NOT NULL DEFAULT 0,
  `show_customer_address` tinyint(1) NOT NULL DEFAULT 0,
  `show_customer_phone` tinyint(1) NOT NULL DEFAULT 0,
  `show_table_number` tinyint(1) NOT NULL DEFAULT 0,
  `payment_qr_code` varchar(191) DEFAULT NULL,
  `show_payment_qr_code` tinyint(1) NOT NULL DEFAULT 0,
  `show_waiter` tinyint(1) NOT NULL DEFAULT 0,
  `show_total_guest` tinyint(1) NOT NULL DEFAULT 0,
  `show_restaurant_logo` tinyint(1) NOT NULL DEFAULT 0,
  `show_tax` tinyint(1) NOT NULL DEFAULT 0,
  `show_payment_details` tinyint(1) NOT NULL DEFAULT 1,
  `show_payment_status` tinyint(1) NOT NULL DEFAULT 0,
  `show_order_type` tinyint(1) DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipt_settings_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `receipt_settings_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `receipt_settings`
INSERT INTO `receipt_settings` VALUES
('1', '1', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('2', '2', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('3', '3', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '1', '1', '0', '0', '2025-09-20 12:56:44', '2025-09-20 13:01:44'),
('4', '4', '1', '1', '0', '1', NULL, '0', '1', '1', '1', '1', '1', '0', '1', '2025-10-07 15:00:09', '2025-10-18 17:38:44'),
('26', '26', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('27', '27', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('28', '28', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-11-12 14:15:50', '2025-11-12 14:15:50'),
('29', '29', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('30', '30', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `recipes`
CREATE TABLE `recipes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `menu_item_id` bigint(20) unsigned DEFAULT NULL,
  `menu_item_variation_id` bigint(20) unsigned DEFAULT NULL,
  `modifier_option_id` bigint(20) unsigned DEFAULT NULL,
  `inventory_item_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(16,2) NOT NULL DEFAULT 0.00,
  `unit_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `recipes_menu_item_id_foreign` (`menu_item_id`),
  KEY `recipes_inventory_item_id_foreign` (`inventory_item_id`),
  KEY `recipes_unit_id_foreign` (`unit_id`),
  KEY `recipes_menu_item_variation_id_foreign` (`menu_item_variation_id`),
  KEY `recipes_modifier_option_id_foreign` (`modifier_option_id`),
  CONSTRAINT `recipes_inventory_item_id_foreign` FOREIGN KEY (`inventory_item_id`) REFERENCES `inventory_items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recipes_menu_item_id_foreign` FOREIGN KEY (`menu_item_id`) REFERENCES `menu_items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recipes_menu_item_variation_id_foreign` FOREIGN KEY (`menu_item_variation_id`) REFERENCES `menu_item_variations` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recipes_modifier_option_id_foreign` FOREIGN KEY (`modifier_option_id`) REFERENCES `modifier_options` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recipes_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `recipes`
INSERT INTO `recipes` VALUES
('3', '503', '1', NULL, '1', '1.00', '41', '2025-10-18 17:42:32', '2025-10-18 17:42:32'),
('4', '503', '1', NULL, '2', '5.00', '45', '2025-10-18 17:42:32', '2025-10-18 17:42:32'),
('5', '503', '2', NULL, '1', '2.00', '41', '2025-10-18 17:43:01', '2025-10-18 17:43:01'),
('6', '503', '2', NULL, '2', '7.00', '45', '2025-10-18 17:43:01', '2025-10-18 17:43:01'),
('7', '503', '3', NULL, '2', '15.00', '45', '2025-10-18 17:43:27', '2025-10-18 17:43:27'),
('8', '503', '3', NULL, '1', '3.00', '41', '2025-10-18 17:43:27', '2025-10-18 17:43:27');


-- Table structure for table `reservation_settings`
CREATE TABLE `reservation_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `day_of_week` enum('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday') NOT NULL,
  `time_slot_start` time NOT NULL,
  `time_slot_end` time NOT NULL,
  `time_slot_difference` int(11) NOT NULL,
  `slot_type` enum('Breakfast','Lunch','Dinner') NOT NULL,
  `available` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `reservation_settings_branch_id_foreign` (`branch_id`),
  CONSTRAINT `reservation_settings_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=673 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `reservation_settings`
INSERT INTO `reservation_settings` VALUES
('1', '1', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('2', '1', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('3', '1', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('4', '1', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('5', '1', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('6', '1', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('7', '1', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('8', '1', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('9', '1', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('10', '1', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('11', '1', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('12', '1', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('13', '1', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('14', '1', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('15', '1', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('16', '1', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('17', '1', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('18', '1', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('19', '1', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('20', '1', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('21', '1', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('22', '2', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('23', '2', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('24', '2', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('25', '2', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('26', '2', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('27', '2', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('28', '2', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('29', '2', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('30', '2', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('31', '2', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('32', '2', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('33', '2', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('34', '2', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('35', '2', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('36', '2', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('37', '2', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('38', '2', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('39', '2', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('40', '2', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('41', '2', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('42', '2', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('43', '1', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('44', '1', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('45', '1', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('46', '1', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('47', '1', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('48', '1', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('49', '1', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('50', '1', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('51', '1', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('52', '1', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('53', '1', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('54', '1', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('55', '1', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('56', '1', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('57', '1', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('58', '1', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('59', '1', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('60', '1', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('61', '1', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('62', '1', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('63', '1', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('64', '3', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('65', '3', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('66', '3', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('67', '3', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('68', '3', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('69', '3', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('70', '3', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('71', '3', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('72', '3', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('73', '3', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('74', '3', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('75', '3', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('76', '3', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('77', '3', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('78', '3', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('79', '3', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('80', '3', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('81', '3', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('82', '3', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('83', '3', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('84', '3', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('85', '4', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('86', '4', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('87', '4', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('88', '4', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('89', '4', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('90', '4', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('91', '4', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('92', '4', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('93', '4', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('94', '4', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('95', '4', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('96', '4', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('97', '4', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('98', '4', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('99', '4', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('100', '4', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('101', '4', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('102', '4', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('103', '4', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('104', '4', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('105', '4', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('106', '5', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('107', '5', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('108', '5', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('109', '5', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('110', '5', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('111', '5', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('112', '5', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('113', '5', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('114', '5', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('115', '5', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('116', '5', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('117', '5', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('118', '5', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('119', '5', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('120', '5', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('121', '5', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('122', '5', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('123', '5', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('124', '5', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('125', '5', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('126', '5', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('568', '27', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('569', '27', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('570', '27', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('571', '27', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('572', '27', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('573', '27', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('574', '27', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('575', '27', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('576', '27', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('577', '27', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('578', '27', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('579', '27', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('580', '27', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('581', '27', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('582', '27', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('583', '27', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('584', '27', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('585', '27', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('586', '27', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('587', '27', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('588', '27', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('589', '28', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('590', '28', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('591', '28', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('592', '28', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('593', '28', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('594', '28', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('595', '28', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('596', '28', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('597', '28', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('598', '28', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('599', '28', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('600', '28', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('601', '28', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('602', '28', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('603', '28', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('604', '28', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('605', '28', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('606', '28', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('607', '28', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('608', '28', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('609', '28', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('610', '29', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('611', '29', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('612', '29', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('613', '29', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('614', '29', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('615', '29', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('616', '29', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('617', '29', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('618', '29', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('619', '29', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('620', '29', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('621', '29', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('622', '29', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('623', '29', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('624', '29', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('625', '29', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('626', '29', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('627', '29', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('628', '29', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('629', '29', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('630', '29', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('631', '30', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('632', '30', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('633', '30', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('634', '30', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('635', '30', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('636', '30', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('637', '30', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('638', '30', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('639', '30', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('640', '30', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('641', '30', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('642', '30', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('643', '30', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('644', '30', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('645', '30', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('646', '30', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('647', '30', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('648', '30', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('649', '30', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('650', '30', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('651', '30', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('652', '31', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('653', '31', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('654', '31', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('655', '31', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('656', '31', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('657', '31', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('658', '31', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('659', '31', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('660', '31', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('661', '31', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('662', '31', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('663', '31', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('664', '31', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('665', '31', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('666', '31', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('667', '31', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('668', '31', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('669', '31', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('670', '31', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('671', '31', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('672', '31', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `reservations`
CREATE TABLE `reservations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `table_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `reservation_date_time` datetime NOT NULL,
  `party_size` int(11) NOT NULL,
  `special_requests` text DEFAULT NULL,
  `reservation_status` enum('Pending','Confirmed','Checked_In','Cancelled','No_Show') NOT NULL DEFAULT 'Confirmed',
  `reservation_slot_type` enum('Breakfast','Lunch','Dinner') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `slot_time_difference` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `reservations_table_id_foreign` (`table_id`),
  KEY `reservations_customer_id_foreign` (`customer_id`),
  KEY `reservations_branch_id_foreign` (`branch_id`),
  CONSTRAINT `reservations_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `reservations_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `reservations_table_id_foreign` FOREIGN KEY (`table_id`) REFERENCES `tables` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `reservations`
INSERT INTO `reservations` VALUES
('1', '5', NULL, '1', '2025-10-19 18:00:00', '4', NULL, 'Confirmed', 'Dinner', '2025-10-18 18:29:22', '2025-10-18 18:29:22', NULL),
('2', '5', NULL, '1', '2025-10-19 08:00:00', '1', NULL, 'Confirmed', 'Breakfast', '2025-10-18 18:57:06', '2025-10-18 18:57:06', NULL),
('3', '5', '8', '1', '2025-10-24 20:00:00', '4', 'Candle Light Dinner', 'Checked_In', 'Dinner', '2025-10-24 15:00:11', '2025-10-24 15:00:44', NULL);


-- Table structure for table `restaurant_charges`
CREATE TABLE `restaurant_charges` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `charge_name` varchar(191) NOT NULL,
  `charge_type` enum('percent','fixed') NOT NULL DEFAULT 'fixed',
  `charge_value` decimal(16,2) DEFAULT NULL,
  `order_types` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT 'Supported order types: DineIn, Delivery, PickUp' CHECK (json_valid(`order_types`)),
  `is_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `restaurant_charges_restaurant_id_foreign` (`restaurant_id`),
  KEY `restaurant_charges_charge_name_index` (`charge_name`),
  CONSTRAINT `restaurant_charges_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `restaurant_payments`
CREATE TABLE `restaurant_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(16,2) NOT NULL,
  `status` enum('pending','paid','failed') NOT NULL DEFAULT 'pending',
  `payment_source` enum('official_site','app_sumo') NOT NULL DEFAULT 'official_site',
  `razorpay_order_id` varchar(191) DEFAULT NULL,
  `razorpay_payment_id` varchar(191) DEFAULT NULL,
  `razorpay_signature` varchar(191) DEFAULT NULL,
  `transaction_id` varchar(191) DEFAULT NULL,
  `reference_id` varchar(191) DEFAULT NULL,
  `payment_date_time` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `stripe_payment_intent` varchar(191) DEFAULT NULL,
  `stripe_session_id` text DEFAULT NULL,
  `package_id` bigint(20) unsigned DEFAULT NULL,
  `package_type` varchar(191) DEFAULT NULL,
  `currency_id` varchar(191) DEFAULT NULL,
  `flutterwave_transaction_id` varchar(191) DEFAULT NULL,
  `flutterwave_payment_ref` varchar(191) DEFAULT NULL,
  `paypal_payment_id` varchar(191) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `restaurant_payments_restaurant_id_foreign` (`restaurant_id`),
  KEY `restaurant_payments_package_id_foreign` (`package_id`),
  CONSTRAINT `restaurant_payments_package_id_foreign` FOREIGN KEY (`package_id`) REFERENCES `packages` (`id`) ON DELETE CASCADE,
  CONSTRAINT `restaurant_payments_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `restaurant_payments`
INSERT INTO `restaurant_payments` VALUES
('1', '26', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-07 17:30:56', '2025-11-07 17:30:56', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('2', '26', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-07 17:31:19', '2025-11-07 17:31:19', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('3', '26', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-08 07:40:02', '2025-11-08 07:40:02', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('4', '26', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-08 07:40:04', '2025-11-08 07:40:04', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('5', '27', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-08 10:33:13', '2025-11-08 10:33:13', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('6', '28', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:11:22', '2025-12-02 11:11:22', NULL, NULL, '10', 'monthly', '5', NULL, NULL, NULL),
('7', '28', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:11:45', '2025-12-02 11:11:45', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('8', '28', '1990.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:12:26', '2025-12-02 11:12:26', NULL, NULL, '10', 'annual', '5', NULL, NULL, NULL),
('9', '30', '99.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:22:04', '2025-12-02 11:22:04', NULL, NULL, '8', 'monthly', '5', NULL, NULL, NULL),
('10', '30', '1990.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:22:37', '2025-12-02 11:22:37', NULL, NULL, '10', 'annual', '5', NULL, NULL, NULL),
('11', '30', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:28:34', '2025-12-02 11:28:34', NULL, NULL, '10', 'monthly', '5', NULL, NULL, NULL),
('12', '2', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:31:50', '2025-12-02 11:31:50', NULL, NULL, '10', 'monthly', '5', NULL, NULL, NULL),
('13', '2', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:32:31', '2025-12-02 11:32:31', NULL, NULL, '10', 'monthly', '5', NULL, NULL, NULL),
('14', '30', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:38:21', '2025-12-02 11:38:21', NULL, NULL, '10', 'monthly', '5', NULL, NULL, NULL),
('15', '30', '1990.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:41:41', '2025-12-02 11:41:43', NULL, 'cs_live_a1josShXBAS2EeXWJbJgyU8EraTX1ggHCWdS7DfZ1sfbhWHBAl1igKOz36', '10', 'annual', '5', NULL, NULL, NULL),
('16', '30', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:48:42', '2025-12-02 11:48:43', NULL, 'cs_live_a1LVInwmOgKBO0dxS0CSrwwrUZnP1DyIL2Tbm4ttqd7jdXSagcELvkCrTc', '10', 'monthly', '5', NULL, NULL, NULL);


-- Table structure for table `restaurant_taxes`
CREATE TABLE `restaurant_taxes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned NOT NULL,
  `tax_id` varchar(191) DEFAULT NULL,
  `tax_name` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `restaurant_taxes_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `restaurant_taxes_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `restaurant_taxes`
INSERT INTO `restaurant_taxes` VALUES
('1', '3', '1234', 'HST', '2025-09-20 13:01:44', '2025-09-20 13:01:44');


-- Table structure for table `restaurants`
CREATE TABLE `restaurants` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `sub_domain` varchar(191) DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `hash` varchar(191) DEFAULT NULL,
  `address` varchar(191) DEFAULT NULL,
  `phone_number` varchar(191) DEFAULT NULL,
  `phone_code` varchar(191) DEFAULT NULL,
  `email` varchar(191) DEFAULT NULL,
  `timezone` varchar(191) NOT NULL,
  `theme_hex` varchar(191) NOT NULL,
  `theme_rgb` varchar(191) NOT NULL,
  `logo` varchar(191) DEFAULT NULL,
  `country_id` bigint(20) unsigned NOT NULL,
  `hide_new_orders` tinyint(1) NOT NULL DEFAULT 0,
  `hide_new_reservations` tinyint(1) NOT NULL DEFAULT 0,
  `hide_new_waiter_request` tinyint(1) NOT NULL DEFAULT 0,
  `currency_id` bigint(20) unsigned DEFAULT NULL,
  `license_type` enum('free','paid') NOT NULL DEFAULT 'free',
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `customer_login_required` tinyint(1) NOT NULL DEFAULT 0,
  `about_us` longtext DEFAULT NULL,
  `allow_customer_delivery_orders` tinyint(1) NOT NULL DEFAULT 1,
  `allow_customer_pickup_orders` tinyint(1) NOT NULL DEFAULT 1,
  `pickup_days_range` int(11) DEFAULT 7,
  `allow_customer_orders` tinyint(1) NOT NULL DEFAULT 1,
  `allow_dine_in_orders` tinyint(1) NOT NULL DEFAULT 1,
  `show_veg` tinyint(1) NOT NULL DEFAULT 1,
  `show_halal` tinyint(1) NOT NULL DEFAULT 0,
  `package_id` bigint(20) unsigned DEFAULT NULL,
  `package_type` varchar(191) DEFAULT NULL,
  `status` enum('active','inactive','license_expired') NOT NULL DEFAULT 'active',
  `license_expire_on` datetime DEFAULT NULL,
  `count_sms` int(11) NOT NULL DEFAULT 0,
  `total_sms` int(11) NOT NULL DEFAULT -1,
  `trial_ends_at` datetime DEFAULT NULL,
  `license_updated_at` datetime DEFAULT NULL,
  `subscription_updated_at` datetime DEFAULT NULL,
  `stripe_id` varchar(191) DEFAULT NULL,
  `pm_type` varchar(191) DEFAULT NULL,
  `pm_last_four` varchar(4) DEFAULT NULL,
  `is_waiter_request_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `default_table_reservation_status` varchar(191) NOT NULL DEFAULT 'Confirmed',
  `disable_slot_minutes` int(11) NOT NULL DEFAULT 30,
  `approval_status` enum('Pending','Approved','Rejected') NOT NULL DEFAULT 'Approved',
  `rejection_reason` text DEFAULT NULL,
  `facebook_link` varchar(255) DEFAULT NULL,
  `instagram_link` varchar(255) DEFAULT NULL,
  `twitter_link` varchar(255) DEFAULT NULL,
  `yelp_link` varchar(255) DEFAULT NULL,
  `table_required` tinyint(1) NOT NULL DEFAULT 0,
  `show_logo_text` tinyint(1) NOT NULL DEFAULT 1,
  `meta_keyword` text DEFAULT NULL,
  `meta_description` longtext DEFAULT NULL,
  `upload_fav_icon_android_chrome_192` varchar(191) DEFAULT NULL,
  `upload_fav_icon_android_chrome_512` varchar(191) DEFAULT NULL,
  `upload_fav_icon_apple_touch_icon` varchar(191) DEFAULT NULL,
  `upload_favicon_16` varchar(191) DEFAULT NULL,
  `upload_favicon_32` varchar(191) DEFAULT NULL,
  `favicon` varchar(191) DEFAULT NULL,
  `is_waiter_request_enabled_on_desktop` tinyint(1) NOT NULL DEFAULT 1,
  `is_waiter_request_enabled_on_mobile` tinyint(1) NOT NULL DEFAULT 1,
  `is_waiter_request_enabled_open_by_qr` tinyint(1) NOT NULL DEFAULT 0,
  `webmanifest` varchar(191) DEFAULT NULL,
  `enable_tip_shop` tinyint(1) NOT NULL DEFAULT 1,
  `enable_tip_pos` tinyint(1) NOT NULL DEFAULT 1,
  `is_pwa_install_alert_show` tinyint(1) NOT NULL DEFAULT 0,
  `auto_confirm_orders` tinyint(1) NOT NULL DEFAULT 0,
  `restrict_qr_order_by_location` tinyint(1) NOT NULL DEFAULT 0,
  `qr_order_radius_meters` int(10) unsigned DEFAULT NULL,
  `show_order_type_options` tinyint(1) NOT NULL DEFAULT 1,
  `disable_order_type_popup` tinyint(1) NOT NULL DEFAULT 0,
  `default_order_type_id` bigint(20) unsigned DEFAULT NULL,
  `hide_menu_item_image_on_pos` tinyint(1) NOT NULL DEFAULT 0,
  `hide_menu_item_image_on_customer_site` tinyint(1) NOT NULL DEFAULT 0,
  `tax_mode` enum('order','item') NOT NULL DEFAULT 'order',
  `tax_inclusive` tinyint(1) NOT NULL DEFAULT 0,
  `customer_site_language` varchar(191) DEFAULT NULL,
  `enable_admin_reservation` tinyint(1) NOT NULL DEFAULT 1,
  `enable_customer_reservation` tinyint(1) NOT NULL DEFAULT 1,
  `minimum_party_size` int(11) NOT NULL DEFAULT 1,
  `table_lock_timeout_minutes` int(11) NOT NULL DEFAULT 10,
  PRIMARY KEY (`id`),
  KEY `restaurant_settings_country_id_foreign` (`country_id`),
  KEY `restaurant_settings_currency_id_foreign` (`currency_id`),
  KEY `restaurants_package_id_foreign` (`package_id`),
  KEY `restaurants_default_order_type_id_foreign` (`default_order_type_id`),
  CONSTRAINT `restaurant_settings_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`) ON DELETE CASCADE,
  CONSTRAINT `restaurant_settings_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `restaurants_default_order_type_id_foreign` FOREIGN KEY (`default_order_type_id`) REFERENCES `order_types` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `restaurants_package_id_foreign` FOREIGN KEY (`package_id`) REFERENCES `packages` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `restaurants`
INSERT INTO `restaurants` VALUES
('1', 'demo.ewiidine.ca', 'Demo Restaurant', 'demo-restaurant', '56355 Matilde Hollow Apt. 268\nEast Novella, ID 87158', '+12158702241', NULL, 'demo.restaurant@example.com', 'America/New_York', '#4F46E5', '79, 70, 229', NULL, '40', '0', '0', '0', '1', 'free', '1', '2025-09-17 05:36:43', '2025-10-17 00:00:03', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '1', '1', 'monthly', 'license_expired', '2025-11-17 00:00:00', '0', '-1', '2025-10-17 05:36:43', '2025-09-17 05:36:43', '2025-09-17 05:36:43', NULL, NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, 'https://www.facebook.com/', 'https://www.instagram.com/', 'https://www.twitter.com/', NULL, '1', '1', NULL, NULL, 'android-chrome-192x192.png', 'android-chrome-512x512.png', 'apple-touch-icon.png', 'favicon-16x16.png', 'favicon-32x32.png', 'favicon.ico', '1', '1', '1', NULL, '1', '1', '1', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('2', 'shaan-e-punjab.ewiidine.ca', 'Shaan-E-Punjab', 'shaan-e-punjab', 'Kosi Road', '8077708564', '91', 'agarwalanmol301@gmail.com', 'America/Toronto', '#4F46E5', '79, 70, 229', NULL, '40', '0', '0', '0', '9', 'free', '1', '2025-09-17 10:02:45', '2025-12-02 11:31:52', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '8', 'annual', 'active', '2027-01-02 00:00:00', '0', '-1', NULL, '2025-09-17 10:02:45', '2025-09-17 10:02:45', 'cus_TWvfsDs8vVXcfa', NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('3', 'louisiana.ewiidine.ca', 'Louisiana Restaurant', 'louisiana-restaurant', '1250 Boul René Lévesque O Bur 2200 Montreal,Québec H3B 4W8Canada\n', '5148158188', '1', 'mario.nicolas1210@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '40', '0', '0', '0', '14', 'free', '1', '2025-09-20 12:56:44', '2025-10-20 00:00:03', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '1', 'monthly', 'license_expired', '2025-11-20 00:00:00', '0', '-1', '2025-10-20 12:56:44', '2025-09-20 12:56:44', '2025-09-20 12:56:44', NULL, NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('4', 'iim-lucknow.ewiidine.ca', 'IIML MESS', 'iiml-mess', 'IIM L MESS', '8840974810', '91', 'madh321@gmail.com', 'Asia/Kolkata', '#059669', '5, 150, 105', 'fe8a6d219504148863cf356c9b23c71a.jpeg', '103', '0', '0', '0', '16', 'free', '1', '2025-10-07 15:00:09', '2025-12-06 06:57:36', '1', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '1', '8', 'monthly', 'active', '2026-02-02 00:00:00', '0', '-1', NULL, '2025-10-07 15:00:09', '2025-10-07 15:00:09', NULL, NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, NULL, 'android-chrome-192x192.png', 'android-chrome-512x512.png', 'apple-touch-icon.png', 'favicon-16x16.png', 'favicon-32x32.png', 'favicon.ico', '1', '1', '1', NULL, '1', '1', '1', '1', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('26', 'sweet.ewiidine.ca', 'sindi sweet', 'sindi-sweet', 'sector 7', '7018146782', '91', 'singhdrivingchd@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '103', '0', '0', '0', '126', 'free', '1', '2025-11-07 17:23:03', '2025-12-08 00:00:04', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '1', 'monthly', 'license_expired', '2026-01-08 00:00:04', '0', '-1', '2025-12-07 17:23:03', '2025-11-08 07:45:45', '2025-11-08 07:45:45', 'cus_TNeoYpoQw3ldbQ', NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('27', 'anmoldhaba.ewiidine.ca', 'Anmol Da Dhaba', 'anmol-da-dhaba', 'ssss', '7017844175', '91', 'agarwalanmol01@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '103', '0', '0', '0', '134', 'free', '1', '2025-11-08 10:32:26', '2025-12-09 00:00:04', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '1', 'monthly', 'license_expired', '2026-01-09 00:00:04', '0', '-1', '2025-12-08 10:32:26', '2025-11-08 10:35:55', '2025-11-08 10:35:55', 'cus_TNvIKTw26JwFxU', NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('28', 'sagar121.ewiidine.ca', 'Sagar Da Dhaba', 'sagar-da-dhaba', 'ssss', '9917382214', '91', 'dfq121@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '40', '0', '0', '0', '139', 'free', '1', '2025-11-12 14:15:50', '2025-12-12 00:00:04', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '1', 'monthly', 'license_expired', '2026-01-12 00:00:00', '0', '-1', '2025-12-12 14:15:50', '2025-11-12 14:15:50', '2025-11-12 14:15:50', 'cus_TWvLKpyp20iEwE', NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('29', 'gopal.ewiidine.ca', 'Gopal Sweets', 'gopal-sweets', 'as', '5656565665', '91', 'golpalsweet@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '103', '0', '0', '0', '144', 'free', '1', '2025-11-13 15:41:43', '2025-11-13 15:43:17', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '6', 'monthly', 'active', '2025-12-13 00:00:00', '0', '-1', '2025-12-13 15:41:43', '2025-11-13 15:43:17', '2025-11-13 15:43:17', NULL, NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('30', 'testing.ewiidine.ca', 'Testing E Dhaba', 'testing-e-dhaba', 'tttttt', '1233333232', '91', 'testing@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '40', '0', '0', '0', '149', 'free', '1', '2025-11-15 07:46:25', '2025-12-02 11:22:06', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '6', 'monthly', 'active', '2025-12-15 07:50:26', '0', '-1', '2025-12-15 07:46:25', '2025-11-15 07:50:28', '2025-11-15 07:50:28', 'cus_TWvVLALedwBh6G', NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10');


