@lang('menu.deliveryExecutive')

@if(user_can('Create Staff Member')) @lang('modules.staff.addExecutive') @endif @php $executiveSiteUrl = route('delivery.login'); if (function_exists('module_enabled') && module_enabled('Subdomain') && restaurant()?->sub_domain) { $restaurantFromDomain = function_exists('getRestaurantBySubDomain') ? getRestaurantBySubDomain() : null; if (is_null($restaurantFromDomain)) { $executiveSiteUrl = request()->getScheme() . '://' . restaurant()->sub_domain . '/delivery/login'; } } @endphp @lang('app.export') @lang('menu.openExecutiveSite')
{{-- Add Executive: JS-only modal (no Livewire round-trip on open/close) --}}