@extends('layouts.master') @section('content')
{{Session::get('message_error')}}
@endif| No | Reference | Date de création | Fait par | Action |
|---|---|---|---|---|
| {{++$key}} | @if($mc->stat_ended==0) {{$mc->reference_mc}} @elseif(Auth()->user()->roles()->whereIn('role_id', [1, 13])->exists()) {{$mc->reference_mc}} @else {{$mc->reference_mc}} @endif | {{date('d-m-Y', strtotime($mc->created_at))}} | {{$mc->name}} | @if($mc->stat_ended==0) @if(Auth()->user()->roles()->whereIn('role_id', [1, 12])->exists()) Block @else En cours... @endif @else Blocked @endif |
| No | Reference | Trajet | Type mission | Date debut | date fin | VS | Pulling | Semi | VR | Description charroi | Description general | Action |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{++$key}} | @if(Auth()->user()->roles()->whereIn('role_id', [1,2,12,29])->exists()) {{$voy->reference_voy}} @else {{$voy->reference_voy}} @endif | {{$voy->trajet}} | {{$voy->nom_type_m}} | {{$voy->date_depart}} | {{$voy->date_fin_mission}} | {{$voy->nbre_veh_souhaite}} | {{$voy->nbre_veh_pulling}} | {{$voy->nbre_veh_semi}} | {{$voy->nbre_veh_reel}} | {{$voy->description_charroi}} | {{$voy->description_general}} | @if($voy->stat_ended==0) @if(Auth()->user()->roles()->whereIn('role_id', [1, 12])->exists()) Block @else En cours... @endif @else Blocked @endif |