'Setup', 'slug' => 'setup', 'sections' => [ [ 'label' => 'Restaurant', 'settingName' => 'general', 'help_online' => ['restaurant-settings'], ], [ 'label' => 'Availability', 'slug' => 'availability', 'submenu' => [ ['label' => 'Shifts', 'settingName' => 'shifts', 'help_online' => ['shifts-general']], ['label' => 'Events', 'settingName' => 'events', 'help_online' => ['shifts-general']], ['label' => 'Closed Days', 'settingName' => 'closeddays', 'help_online' => ['settings-closed-days']], ] ], [ 'label' => 'Dashboard', 'settingName' => 'dashboard', ], ] ], [ 'label' => 'Revenue', 'slug' => 'revenue', 'sections' => [ /*[ 'label' => 'Pricing', 'slug' => 'pricing', 'hasAddon' => 'addon_pricing', 'submenu' => [ ['label' => 'Custom Table Pricing', 'settingName' => 'custom_table_pricing'], ] ],*/ [ 'label' => 'Payments', 'settingName' => 'payments', 'help_online' => [ 'payments-settings', 'payments-shifts', 'payments-frontend', 'payments-dashboard', 'payments-emails', 'payments-store-cards' ], ], [ // Sin 'hasAddon': la vista Menus sigue visible aunque addon_offers // este desactivado (se muestra como DEMO en el menu de settings). 'label' => 'Menus', 'settingName' => 'offers', ], [ // Sin 'hasAddon': la vista Gift Cards sigue visible aunque // addon_gift_cards este desactivado (se muestra como DEMO en el // menu de settings, igual que Menus). El bloqueo real es de // servidor: shortcode, AJAX de compra y canje exigen el addon // (alexr_gift_cards_enabled()). 'label' => 'Gift Cards', 'settingName' => 'gift_cards', ], [ 'hasAddon' => 'addon_experiences', 'label' => 'Experiences', 'settingName' => 'experiences', ], [ 'hasAddon' => 'addon_dynamic_pricing', 'label' => 'Dynamic Pricing', 'settingName' => 'dynamic_pricing', ], ], [ 'label' => 'Marketing', 'slug' => 'marketing', 'hasAddon' => 'addon_marketing', 'sections' => [ [ 'label' => 'Growth Engine', 'slug' => 'growth_engine', 'submenu' => [ ['label' => 'Winback 30/60/90', 'settingName' => 'winback'], ['label' => 'Birthday Campaigns', 'settingName' => 'birthday_campaigns'], ] ], [ 'label' => 'Loyalty', 'settingName' => 'loyalty', ], [ 'label' => 'Campaigns', 'settingName' => 'campaigns', ], ] ], ], [ 'label' => 'Operations', 'slug' => 'operations', 'sections' => [ [ 'label' => 'Floor Plan', 'settingName' => 'floor_plan', 'route' => 'floorplan', ], [ 'label' => 'Widget', 'slug' => 'widget', 'submenu' => [ ['label' => 'Reservation Form', 'settingName' => 'widgetform', 'help_online' => [ 'widget-create', 'widget-settings', 'widget-schedules', 'widget-available-slots', 'widget-front-end', 'widget-page-builder' ]], ['label' => 'Messages', 'settingName' => 'widgetmessage', 'help_online' => ['widget-messages']], ] ], [ 'label' => 'Tags', 'slug' => 'tags', 'submenu' => [ ['label' => 'Booking Tags', 'settingName' => 'booking_tags', 'help_online' => ['bookings-tags-general']], ['label' => 'Customer Tags', 'settingName' => 'customer_tags', 'help_online' => ['customers-tags-general']], ['label' => 'Table Tags', 'settingName' => 'table_tags', 'help_online' => ['table-tags-general']], ] ], [ 'label' => 'Automations', 'settingName' => 'automations', ], ] ], [ 'label' => 'Communications', 'slug' => 'communications', 'sections' => [ [ 'label' => 'Email/SMS', 'slug' => 'email', 'submenu' => [ ['label' => 'Configuration', 'settingName' => 'email_config'], ['label' => 'Emails', 'settingName' => 'email_templates', 'help_online' => ['settings-templates']], ['label' => 'Custom Emails', 'settingName' => 'email_custom'], ['label' => 'Email Reminders', 'settingName' => 'email_reminders', 'help_online' => ['settings-reminders']], ['label' => 'SMS', 'settingName' => 'sms_templates', 'help_online' => ['sms-templates']], ['label' => 'SMS Reminders', 'settingName' => 'sms_reminders', 'help_online' => ['sms-reminders']], ] ], [ 'label' => 'WhatsApp', 'slug' => 'whatsapp', 'hasAddon' => 'addon_whatsapp', 'submenu' => [ ['label' => 'Configuration', 'settingName' => 'whatsapp_config'], ['label' => 'Book Now Link', 'settingName' => 'whatsapp_book_now'], ['label' => 'Templates', 'settingName' => 'whatsapp_templates'], ['label' => 'Messages', 'settingName' => 'whatsapp_messages'], ['label' => 'Reminders', 'settingName' => 'whatsapp_reminders'], ['label' => 'Reconfirmations', 'settingName' => 'whatsapp_reconfirmations'], ['label' => 'Custom Messages', 'settingName' => 'whatsapp_custom_messages'], ['label' => 'Default Reply', 'settingName' => 'whatsapp_actions'], //['label' => 'Actions', 'settingName' => 'whatsapp_actions'], //['label' => 'Custom Actions', 'settingName' => 'whatsapp_custom_actions'], ] ], [ 'label' => 'Missed Call', 'slug' => 'missed_call', 'hasAddon' => 'addon_missed_call', //'hasAddon' => 'addon_whatsapp', 'submenu' => [ ['label' => 'Configuration', 'settingName' => 'missed_call_config'], ['label' => 'SMS Template', 'settingName' => 'missed_call_sms_template'], ['label' => 'WhatsApp Template', 'settingName' => 'missed_call_whatsapp_template'], ] ], ] ], [ 'label' => 'Integrations', 'slug' => 'integrations', 'sections' => [ [ 'label' => 'Social Channels', 'settingName' => 'social_channels', 'help_online' => 'social-channels', ], [ 'label' => 'Google Review', 'settingName' => 'google_review', ], [ 'label' => 'API Keys', 'settingName' => 'api_keys', ], [ 'label' => 'API Bot', 'settingName' => 'api_key_bots', ], ] ], [ 'label' => 'Modules', 'slug' => 'modules', 'sections' => [ [ 'label' => 'List of Modules', 'settingName' => 'addons', ], ] ], ];