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

Liste des missions



@if(Session::has('message'))
{{Session::get('message')}}
@endif @if(Session::has('message_error'))

{{Session::get('message_error')}}

@endif

Liste des missions locales

@if(Auth()->user()->roles()->whereIn('role_id', [1,12])->exists()) Générer une nouvelle mission locale @endif
@foreach($missions_locales as $key=>$mc) @endforeach
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
@stop @section('page-script') @stop