@yield('styles')
@if(Session::get('orderCounter'))
{{ Session::get('orderCounter') }}
@endif
@if((Auth::user()->unreadNotifications)->count() != 0)
{{ (Auth::user()->unreadNotifications)->count() }}
@endif
{{ (Auth::user()->unreadNotifications)->count() }} Notification(s)
@forelse(Auth::user()->unreadNotifications as $notification)
{{ $notification->data['name'] }}
@empty
Aucune Notification
@endforelse
Marqué comme lue(s)
@if(count(config('panel.available_languages', [])) > 1)
{{ strtoupper(app()->getLocale()) }}
@foreach(config('panel.available_languages') as $langLocale => $langName)
{{ strtoupper($langLocale) }} ({{ $langName }})
@endforeach
@endif @include('partials.menu')
@if(session('message'))
{{ session('message') }}
@endif @if($errors->count() > 0)
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif @yield('content')
{{ csrf_field() }}
@if(Auth::user()->roles[0]->title == 'Admin' ||Auth::user()->roles[0]->title == 'Direction') @endif @if(Auth::user()->roles[0]->title == 'Commerciale') @endif @if(Session::has('success')) @endif @if(Session::has('infos')) @endif @if(Session::has('warning')) @endif @if(Session::has('error')) @endif @yield('scripts')