@include('layouts.partials.css_js_header')
{{-- Interface client--}} @if ( Auth::user()->role=='client') {{ Auth::user()->name }} @endif {{-- Interface prestataire--}} @if ( Auth::user()->role=='prestataire') {{ Auth::user()->name }}
{{ Session::get('pro_socialReason') }} {{ Session::get('pro_adress') }} @endif {{-- Interface daf--}} @if ( Auth::user()->role=='daf') {{ Auth::user()->name }}
@endif {{-- Interface technicien--}} @if ( Auth::user()->role=='technicien') {{ Auth::user()->name }}
@endif {{-- Interface sites--}} @if ( Auth::user()->role=='site') @if( count(Session::get('tab_sites_user'))>>1 ) {{ Auth::user()->name }} ( {{ count(Session::get('tab_sites_user'))}} sites ) @else {{ Session::get('libelles_sites_user')}} @endif @endif
{{-- MENU Interface clients--}} @if ( Auth::user()->role=='client')
{{ __('Tableau de bord') }}
{{ __('Interventions') }}
@if (Session::get('interClient_proQuoValidation')=='oui')
{{ __('Devis') }}
@endif @endif {{-- MENU Interface prestataire--}} @if ( Auth::user()->role=='prestataire')
{{ __('Liste des interventions') }}
{{ __('Calendrier des interventions') }}
{{ __('Demandes de devis') }}
@endif {{-- MENU Interface technicien--}} @if ( Auth::user()->role=='technicien')
{{ __('Liste des interventions') }}
{{ __('Calendrier des interventions') }}
@endif {{-- MENU Interface sites--}} @if ( Auth::user()->role=='site') @if(count(Session::get('tab_sites_user'))>>1 )
Mes sites
@foreach (Session::get('tab_sites_user') as $element)
{{ $element["sit_name"] }}
@endforeach
Statistiques
@else
Mon site
@endif
Interventions
{{ __('Calendrier des interventions') }}
@if (Session::get('interSite_proQuoValidation')=='oui')
{{ __('Devis en attente validation') }}
@endif @if (Session::get('controles_sites')=='oui')
Maintenance règlementaire
@endif @endif
Se déconnecter
{{ Auth::user()->name }}
{{ Auth::user()->email }}
{{ Auth::user()->role }}
@csrf {{ csrf_field() }}
{{ __("Se déconnecter") }}
@if(!empty($successMsg)) @endif @if(!empty($errorMsg)) @endif @if(session()->get('success')) @endif @if(session()->get('error')) @endif @if ($errors->any()) @endif
@yield('titre_page')
@yield('panel_boutons')
@yield('contenu')
@yield('modale') @include('layouts.partials.js_footer') @yield('js_footer') @stack('custom-scripts')