@extends('layouts.master') @section('content')
| 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 |