@extends('layouts.app') @section('title', 'Activités') @section('content')
| Code & Nom | Action | Actif | Ouvert | Actions |
|---|---|---|---|---|
| {{ $a->code }}:{{ $a->nom }} | {{ $a->action->nom ?? '-' }} | @if(Auth::user()->usergroup_id == 4) @else {{ $a->actif ? 'Oui' : 'Non' }} @endif | @if(Auth::user()->usergroup_id == 4) @else {{ $a->ouvert ? 'Ouvert' : 'Fermé' }} @endif | @if($usergroupId != 3 && $usergroupId != 4) @endif |