@extends('admin.layouts.netgescon') @section('title', 'Diagnostica FE / PDF') @section('breadcrumb') SuperAdmin / Diagnostica FE / PDF @endsection @section('content')
Controlli rapidi per individuare record con PDF mancanti, file non presenti su storage, o path duplicati.
| ID | Stabile | Fornitore | Data / Numero | Totale | Problemi | Azioni | |
|---|---|---|---|---|---|---|---|
| #{{ $r['id'] }} | {{ $r['stabile_id'] ?: '-' }} |
{{ $r['fornitore'] !== '' ? $r['fornitore'] : '-' }}
@if($r['sdi_file'] !== '')
SDI: {{ $r['sdi_file'] }}
@endif
|
{{ $r['data'] ?: '-' }}
{{ $r['numero'] !== '' ? $r['numero'] : '-' }}
|
{{ number_format((float) $r['totale'], 2, ',', '.') }} € |
@foreach($r['issues'] as $i)
@php($cls = match($i['type']) {
'danger' => 'netgescon-badge netgescon-badge-danger',
'warning' => 'netgescon-badge',
default => 'netgescon-badge'
})
{{ $i['label'] }}
@endforeach
@if(count($r['issues']) === 0)
OK
@endif
@if($r['pdf_path'] !== '')
{{ $r['pdf_path'] }}
@endif
|
@if($r['pdf_path'] === '') — @else @if($r['pdf_exists']) Presente @else Assente @endif @endif | |
| Nessun problema trovato nel campione (o nessuna FE presente). | |||||||