@extends('layouts.master') @section('content')

Reparation des vehicules Legers au garage

@if(Auth()->user()->roles()->whereIn('role_id', [1,38])->exists()) @endif @if(Auth()->user()->roles()->whereIn('role_id', [1,8,38])->exists()) Créer un dossier @endif
@if(Session::has('message'))
{{Session::get('message')}}
@endif @if(Session::has('message_error'))
{{Session::get('message_error')}}
@endif
@foreach($reception_vehs as $key=>$rec) @endforeach
No Fiche Numero Vehicule Client Representant du client Date Entrée Date sortie Status Action
{{++$key}} @if(Auth()->user()->roles()->whereIn('role_id', [1,8,38])->exists()) {{$rec->numero_fiche}} @elseif(Auth()->user()->roles()->whereIn('role_id', [25])->exists()) {{$rec->numero_fiche}} @endif {{$rec->num_immatriculation}} {{$rec->name}} / {{$rec->telephone}} {{$rec->responsable_client}} / {{$rec->phone_responsable}} {{ $rec->date_entree }} {{ $rec->date_sortie }} {{ $rec->status_mvt_garage }} @if(Auth()->user()->roles()->whereIn('role_id', [38])->exists()) @if($rec->status_mvt_reception == 1) Receptionner Annuler @elseif($rec->status_mvt_reception == 5) Sortie véhicule @endif @elseif(Auth()->user()->roles()->whereIn('role_id', [1])->exists()) Receptionner @endif
@endsection @section('page-script') @stop