@forelse ($interventions as $i)
@php
$client = $i['CLIENT'] ?? null;
$rs = $client['RAISON_SOCIALE'] ?? null;
$nomComplet = trim(($client['NOMFAMILLE'] ?? '') . ' ' . ($client['PRENOM'] ?? ''));
$displayName = $rs ?: $nomComplet;
$adresse1 = $client['ADRESSEP1'] ?? '';
$adresse2 = $client['ADRESSEP2'] ?? '';
$cp = $client['CPOSTALP'] ?? '';
$ville = $client['VILLEP'] ?? '';
@endphp
| {{ $i['IDINTERVENTION'] }} |
{{ $displayName }} |
{{ $adresse1 }}
@if ($adresse2)
{{ $adresse2 }}
@endif
{{ $cp }} {{ $ville }}
|
{{ $i['LIBINTER'] }} |
@include('admin.gestan.partials.badge-status', [
'statut' => $i['ST_INTER'] ?? null,
])
@if ($i['ST_FACT'] !== '')
@include('admin.gestan.partials.badge-status', [
'statut' => $i['ST_FACT'] ?? null,
])
@endif
| {{ $i['SECTEUR'] }} |
{{ $i['USCRE'] }}
{{ $i['DHCRE'] }}
|
|
@empty
|
Aucune intervention trouvée.
|
@endforelse