@extends('layouts.dash') @section('title') Cotisations @stop @section('title_card',"") @section('subtitle_card',"") @section('content')
Controles
{!! html()->select('employeur_id',$liste_employeur,$employeur_id) ->placeholder('Choisissez un employeur') ->attributes(['id' => 'employeur_id2','class' => 'form-control']) !!}
@if($employeur_id)
@foreach ($controles as $controle) @endforeach
Contrôle Agent1 Agent2 Validation Observations Pièces  
{!! $controle->id !!} {!! $controle->date_cont !!} {!! $controle->agent1 !!} {!! $controle->agent2 !!} {!! $controle->date_valid !!} {!! $controle->observations !!} {!! $controle->PJ !!} @if($user->can("COT_MAJ") || $user->HasRole("ADMINISTRATEUR"))  +    @endif @if($user->can("COT_VISU") || $user->HasRole("ADMINISTRATEUR"))   @endif
@if($user->can("COT_AJO") || $user->HasRole("ADMINISTRATEUR")) @endif @endif
@endsection @section('styles') @stop @section('scripts0') @stop @section('scripts') @endsection