@forelse ($restaurants as $item) @empty @endforelse
@lang('app.id') @lang('modules.settings.restaurantName') @lang('modules.settings.restaurantEmailAddress') @lang('modules.settings.package') @lang('app.status') @lang('app.action')
{{ $item->id ?? '--' }} App Logo
{{ $item->name }} @if(module_enabled('Subdomain')) @endif
{{ $item->branches_count }} @lang('modules.settings.branches') @if ($item->approval_status == 'Pending') Approval Pending @elseif ($item->approval_status == 'Rejected') Rejection Reason: {{ $item->rejection_reason }} @endif
{{ $item->email ?? '--' }} {{ $item?->package->package_name }} ({{ $item?->package_type }}) @lang('app.change') @if ($item->is_active == true) @lang('app.active') @else @lang('app.inactive') @endif @if ($item->approval_status == 'Pending') @lang('app.approve') @lang('app.reject') @endif @lang('app.update') @lang('app.delete')
@lang('messages.noRestaurantFound')
{{ $restaurants->links() }}
{{ __("modules.restaurant.editRestaurant") }} @if ($restaurant) @livewire('forms.edit-restaurant', ['restaurant' => $restaurant], key(str()->random(50))) @endif {{ __('app.close') }} @lang('modules.restaurant.deleteRestaurant')? @lang('modules.restaurant.deleteRestaurantMessage') {{ __('app.cancel') }} @if ($restaurant) {{ __('app.delete') }} @endif {{ __("modules.restaurant.updatePackage") }} @if ($restaurant) @livewire('forms.update-package', ['restaurant' => $restaurant], key(str()->random(50))) @endif {{ __('app.close') }} @lang('modules.restaurant.rejectionReason') {{ __('app.cancel') }} {{ __('Submit') }}