@extends('layouts.base') @section('content') @section('breadcrumb') @endsection
@if(session('status')) @endif

Dénonciations

Gérez toutes vos dénonciations pour chaque application

@if($applications->isEmpty())
Vous n'avez accès à aucune application pour le moment.
@else @foreach($applications as $application)
{{ $application->name }}
{{ $application->denonciations->count() }} dénonciation{{ $application->denonciations->count() > 1 ? 's' : '' }} @if(auth()->user()->isRole('ROLE_SUPPORT')) Nouvelle dénonciation @endif
@if($application->denonciations->isEmpty())
Aucune dénonciation créée pour cette application.
@else
@foreach($application->denonciations as $denonciation) @endforeach
Client Email Téléphone Programme Conseiller Validée Date de création Actions
{{ $denonciation->client_lastname }} {{ $denonciation->client_firstname }}
@if($denonciation->client_email) {{ $denonciation->client_email }} @else - @endif {{ $denonciation->client_phone ?: '-' }} @if($denonciation->program)
{{ $denonciation->program->name }}
@else - @endif
@if($denonciation->conseiller)
{{ $denonciation->conseiller->firstname }} {{ $denonciation->conseiller->lastname }}
@else - @endif
@if($denonciation->is_validated) Oui @else Non @endif @if($denonciation->created_at) {{ \Carbon\Carbon::parse($denonciation->created_at)->format('d/m/Y à H:i') }} @else - @endif
@endif
@endforeach @endif
@endsection