@extends('layouts.app', ['title' => __('Restaurants')]) @section('admin_title') {{__('Restaurants')}} @endsection @section('content') @include('restorants.partials.modals')

{{ __('Restaurants') }}

{{ __('Add Restaurant') }} @if(auth()->user()->hasRole('admin') && config('settings.enable_import_csv')) @endif
@include('partials.flash')
@foreach ($restorants as $restorant) @endforeach
{{ __('Name') }} {{ __('Logo') }} {{ __('Owner') }} {{ __('Owner email') }} {{ __('Creation Date') }} {{ __('Active') }}
{{ $restorant->name }} icon }} width="50px" height="50px"> {{ $restorant->user?$restorant->user->name:__('Deleted') }} {{ $restorant->user?$restorant->user->email:__('Deleted') }} {{ $restorant->created_at->format(config('settings.datetime_display_format')) }} @if($restorant->active == 1) {{ __('Active') }} @else {{ __('Not active') }} @endif
@include('layouts.footers.auth')
@endsection