@extends('layouts.app') @section('morecss') @endsection @section('content') @if (Auth::user()->admin)
@endif @if (Auth::user()->assistant)

Connecté en tant qu'assistant

Demandes en cours

@endif @if (Auth::user()->prestataire)

Mes interventions programmées

    @foreach($demandes as $intervention)
  • {{$intervention->demande->libelle}} @if ($intervention->scheduled_at) programmée le {{\Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $intervention->scheduled_at)->isoFormat('LLLL')}} @endif
  • @endforeach
@endif @if (!(Auth::user()->admin || Auth::user()->assistant || Auth::user()->prestataire))

Faire une demande d'intervention

@if (count($demandes))

Mes demandes

@endif
@endif @if (count($demandes)) @endif
@endsection