|
@@ -26,10 +26,6 @@
|
|
|
border-collapse: collapse;
|
|
border-collapse: collapse;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /*.table-content tr td{border: solid 1px #333; padding: 10px 0;}*/
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- /*.table-content td{border:1px solid #000; text-align: center;padding: 4px;}*/
|
|
|
|
|
.tr-title td {
|
|
.tr-title td {
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
@@ -78,80 +74,10 @@
|
|
|
</style>
|
|
</style>
|
|
|
|
|
|
|
|
<body>
|
|
<body>
|
|
|
|
|
+ <x-verbale.intestazione.index :data="$data" />
|
|
|
|
|
|
|
|
- <table width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td style='width:50%'>
|
|
|
|
|
- <h2>
|
|
|
|
|
- COPIA
|
|
|
|
|
- </h2>
|
|
|
|
|
- Protocollo n. {{ @$data['record']->protocollo_num }} / {{ @$data['record']->protocollo_anno }}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td style='width:50%'>
|
|
|
|
|
- <p>Si rilascia il presente atto composto da n.{{ @$data['total_pages'] }} pagine in carta libera per uso
|
|
|
|
|
- consentito</p>
|
|
|
|
|
- <h3>Comm. coor. Francesco Marozza</h3>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
-
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td valign="top" align="center">
|
|
|
|
|
- <h1>COMUNE DI FRASCATI</h1>
|
|
|
|
|
- <h2>CORPO DI POLIZIA LOCALE</h2>
|
|
|
|
|
- <h3>UFFICIO POLIZIA STRADALE E INFORTUNISTICA</h3>
|
|
|
|
|
- <h3>
|
|
|
|
|
- VIA ANGELO CELLI 23A1 – 00044 FRASCATI<br>
|
|
|
|
|
- TEL. 06.9416491 – FAX 06.94010040<br>
|
|
|
|
|
- PEC: polizialocalefrascati@legalmail.it
|
|
|
|
|
- </h3>
|
|
|
|
|
-
|
|
|
|
|
- <img src="{{ public_path() }}/images/logo_pdf.png" width="250">
|
|
|
|
|
-
|
|
|
|
|
- <h2>RAPPORTO</h2>
|
|
|
|
|
-
|
|
|
|
|
- <p>
|
|
|
|
|
- <h3>
|
|
|
|
|
- <b>
|
|
|
|
|
- RAPPORTO TECNICO DESCRITTIVO DELL’INCIDENTE STRADALE<br>
|
|
|
|
|
- VERIFICATOSI IN DATA
|
|
|
|
|
- {{ @$data['record']->verificatosi_in_data ? date('d/m/Y', strtotime($data['record']->verificatosi_in_data)) : '' }}
|
|
|
|
|
- ALLE ORE
|
|
|
|
|
- {{ @$data['record']->verificatosi_in_data_ora }}:{{ @$data['record']->verificatosi_in_data_minuti }}<br>
|
|
|
|
|
- IN
|
|
|
|
|
- @if ($data['record']->localita)
|
|
|
|
|
- {{ @$data['record']->localita->title }}
|
|
|
|
|
- @endif
|
|
|
|
|
- <br>
|
|
|
|
|
- @if ($data['record']->indirizzo)
|
|
|
|
|
- {{ @$data['record']->indirizzo->TOPONIMO }}
|
|
|
|
|
- {{ @$data['record']->indirizzo->DESCRIZIONE }}<br>
|
|
|
|
|
- @endif
|
|
|
|
|
- IN PROSSIMITA' DEL CIVICO: {{ @$data['record']->prossimita_civico }}<br>
|
|
|
|
|
- @if ($data['record']->incidente_con_danni_a_cose)
|
|
|
|
|
- INCIDENTE CON: DANNI A COSE<br>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($data['record']->incidente_con_feriti)
|
|
|
|
|
- INCIDENTE CON: FERITI<br>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($data['record']->incidente_con_feriti_lesioni_lievi)
|
|
|
|
|
- INCIDENTE CON: FERITI LESIONI LIEVI<br>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($data['record']->incidente_con_feriti_lesioni_gravi)
|
|
|
|
|
- INCIDENTE CON: FERITI LESIONI GRAVI<br>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($data['record']->incidente_mortale)
|
|
|
|
|
- INCIDENTE CON: MORTALE<br>
|
|
|
|
|
- @endif
|
|
|
|
|
- </b>
|
|
|
|
|
- </h3>
|
|
|
|
|
- </p>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
|
|
+ <x-verbale.header.header :data="$data" />
|
|
|
|
|
|
|
|
- <p></p>
|
|
|
|
|
<p></p>
|
|
<p></p>
|
|
|
<p align="center">
|
|
<p align="center">
|
|
|
Verbale redatto con sistemi meccanizzati ed archiviato in formato elettronico da personale autorizzato dal
|
|
Verbale redatto con sistemi meccanizzati ed archiviato in formato elettronico da personale autorizzato dal
|
|
@@ -162,316 +88,18 @@
|
|
|
|
|
|
|
|
<x-verbale.accertatori.index :record="$data['record']" />
|
|
<x-verbale.accertatori.index :record="$data['record']" />
|
|
|
|
|
|
|
|
- @if (!empty($data['parti_coinvolte']))
|
|
|
|
|
- {{-- Vehicles Section --}}
|
|
|
|
|
- @php
|
|
|
|
|
- $vehicles = collect($data['parti_coinvolte'])->filter(function ($item) {
|
|
|
|
|
- return $item->conducente_o_pedone == 2;
|
|
|
|
|
- });
|
|
|
|
|
- @endphp
|
|
|
|
|
-
|
|
|
|
|
- @if ($vehicles->count() > 0)
|
|
|
|
|
- <table width="100%" class="table-title">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <h2>VEICOLI COINVOLTI</h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th width="30%" align="left">VEICOLO</th>
|
|
|
|
|
- <th width="35%" align="left">TARGA</th>
|
|
|
|
|
- <th width="35%" align="center">CONDUCENTE</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
- <tbody>
|
|
|
|
|
- @foreach ($vehicles as $veicolo)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="30%" align="left">
|
|
|
|
|
- {{ $veicolo->veicolo_data->marca->name ?? '' }}
|
|
|
|
|
- {{ $veicolo->veicolo_data->modello->name ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="35%" align="left">
|
|
|
|
|
- {{ $veicolo->veicolo_data->targa ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="35%" align="center">
|
|
|
|
|
- {{ $veicolo->anagrafica_data->lastname ?? '' }}
|
|
|
|
|
- {{ $veicolo->anagrafica_data->firstname ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- </tbody>
|
|
|
|
|
- </table>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- {{-- Pedestrians Section --}}
|
|
|
|
|
- @php
|
|
|
|
|
- $pedestrians = collect($data['parti_coinvolte'])->filter(function ($item) {
|
|
|
|
|
- return $item->conducente_o_pedone == 1;
|
|
|
|
|
- });
|
|
|
|
|
- @endphp
|
|
|
|
|
-
|
|
|
|
|
- @if ($pedestrians->count() > 0)
|
|
|
|
|
- <table width="100%" class="table-title">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <h2>PEDONI COINVOLTI</h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th align="cenetr">NOME</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
- <tbody>
|
|
|
|
|
- @foreach ($pedestrians as $pedone)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ $pedone->anagrafica_data->lastname ?? '' }}
|
|
|
|
|
- {{ $pedone->anagrafica_data->firstname ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- </tbody>
|
|
|
|
|
- </table>
|
|
|
|
|
- @endif
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->rilievi_id > 0)
|
|
|
|
|
- <table width="100%" class="table-title">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <h2>RILIEVI</h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
-
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$data['record']->rilievo->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (isset($data['tipo_urto']))
|
|
|
|
|
- <table width="100%" class="table-title">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <h2>TIPOLOGIA D'URTO</h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
-
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- @foreach ($data['tipo_urto'] as $tipo_urto)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$tipo_urto->tipo_urto->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @if ($data['record']->tipo_urto_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$data['record']->tipo_urto_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- </table>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- <!--
|
|
|
|
|
- <div class="page-break"></div>
|
|
|
|
|
- -->
|
|
|
|
|
-
|
|
|
|
|
- <table width="100%" class="table-title">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <h2>SEGNALAZIONE</h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
-
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- @if ($data['record']->segnalazione_data != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- SEGNALAZIONE DEL {{ date('d/m/Y', strtotime($data['record']->segnalazione_data)) }}
|
|
|
|
|
- DELLE {{ @$data['record']->segnalazione_ora }}:{{ @$data['record']->segnalazione_minuti }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- A MEZZO
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
-
|
|
|
|
|
- @foreach ($data['tipo_segnalazione'] as $tipo_segnalazione)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$tipo_segnalazione->tipo_segnalazione->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @if ($data['record']->segnalazione_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$data['record']->segnalazione_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- PERVENUTA DA
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['segnalazione_pervenuta_da'] as $segnalazione_pervenuta_da)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$segnalazione_pervenuta_da->segnalazione_pervenuta_da->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
-
|
|
|
|
|
- @if (sizeof($data['ausilio_altri_enti']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- AUSILIO ALTRI ENTI
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
-
|
|
|
|
|
- @foreach ($data['ausilio_altri_enti'] as $ausilio_altri_enti)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$ausilio_altri_enti->ausilio_altri_enti->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @if ($data['record']->ausilio_altri_enti_motivo != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$data['record']->ausilio_altri_enti_motivo }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($data['record']->ausilio_altri_enti_ora_intervento != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- ORA INTERVENTO :
|
|
|
|
|
- {{ @$data['record']->ausilio_altri_enti_ora_intervento }}:{{ @$data['record']->ausilio_altri_enti_minuti_intervento }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @endif
|
|
|
|
|
- </table>
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- @if (sizeof($data['materiale_recuperato']) > 0)
|
|
|
|
|
-
|
|
|
|
|
- <table width="100%" class="">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <h2>
|
|
|
|
|
- RIPRISTINO POST INCIDENTE
|
|
|
|
|
- </h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
|
|
+ <x-verbale.veicoli.index :data="$data" />
|
|
|
|
|
|
|
|
- @if ($data['record']->ditta_intervenuta != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- DITTA INTERVENUTA : {{ @$data['record']->ditta_intervenuta }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($data['record']->ripristino_ora_chiamata != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- ORA CHIAMATA :
|
|
|
|
|
- {{ @$data['record']->ripristino_ora_chiamata }}:{{ @$data['record']->ripristino_minuti_chiamata }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($data['record']->ripristino_ora_arrivo != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- ORA ARRIVO :
|
|
|
|
|
- {{ @$data['record']->ripristino_ora_arrivo }}:{{ @$data['record']->ripristino_minuti_arrivo }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ <x-verbale.pedoni.index :data="$data" />
|
|
|
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- MATERIALE RECUPERATO
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['materiale_recuperato'] as $materiale_recuperato)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$materiale_recuperato->materiale_recuperato->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @if ($data['record']->ausilio_altri_enti_motivo != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$data['record']->ausilio_altri_enti_motivo }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ <x-verbale.rilievi.index :data="$data" />
|
|
|
|
|
|
|
|
- @if ($data['record']->danni_cose_diverse_da_veicoli != '')
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- DANNI A COSE DIVERSI DA VEICOLI
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$data['record']->danni_cose_diverse_da_veicoli }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ <x-verbale.tipo-urto.index :data="$data" />
|
|
|
|
|
|
|
|
- </table>
|
|
|
|
|
|
|
+ <x-verbale.segnalazione.index :data="$data" />
|
|
|
|
|
|
|
|
|
|
+ @if (count($data['materiale_recuperato']) > 0)
|
|
|
|
|
+ <x-verbale.ripristino.index :data="$data" />
|
|
|
@endif
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
@@ -504,1588 +132,152 @@
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
|
|
|
|
|
|
- <table width="100%" class="table-title">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <h2>
|
|
|
|
|
- CAMPO DEL SINISTRO
|
|
|
|
|
- </h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
|
|
+ <x-verbale.campo-sinistro.index :data="$data" />
|
|
|
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- @if ($data['record']->sinistro_ora != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>ORA INTERVENTO:</b>
|
|
|
|
|
- {{ @$data['record']->sinistro_ora }}:{{ @$data['record']->sinistro_minuti }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($data['record']->localizzazione_incidente != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>LOCALIZZAZIONE INCIDENTE:</b>
|
|
|
|
|
- {{ @$data['record']->localizzazione_incidente == 1 ? "NELL'ABITATO" : "FUORI DALL'ABITATO" }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($data['record']->localizzazione_incidente_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->localizzazione_incidente_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($data['record']->nomenclatura_strada != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>NOMENCLATURA:</b>
|
|
|
|
|
- @if (isset($data['record']->nomenclatura->name))
|
|
|
|
|
- {{ $data['record']->nomenclatura->name }}
|
|
|
|
|
- @endif
|
|
|
|
|
- @if (!empty($data['record']->nomenclatura_strada_numero))
|
|
|
|
|
- @if (isset($data['record']->nomenclatura->name))
|
|
|
|
|
- ,
|
|
|
|
|
- @endif
|
|
|
|
|
- {{ $data['record']->nomenclatura_strada_numero }}
|
|
|
|
|
- @endif
|
|
|
|
|
- @if (!empty($data['record']->nomenclatura_strada_numero))
|
|
|
|
|
- @if (isset($data['record']->nomenclatura->name) || isset($data['record']->nomenclatura_strada_numero))
|
|
|
|
|
- ,
|
|
|
|
|
- @endif
|
|
|
|
|
- {{ $data['record']->nomenclatura_strada_altro }}
|
|
|
|
|
- @endif
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ <x-verbale.segnaletica.index :data="$data" />
|
|
|
|
|
|
|
|
- @if (!isset($data['record']->condizioni_atmosferiche))
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>CONDIZIONI ATMOSFERICHE:</b>
|
|
|
|
|
- {{ @$data['record']->condizioniatmosferiche }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ @php
|
|
|
|
|
|
|
|
- @if ($data['record']->condizioni_atmosferiche_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->condizioni_atmosferiche_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ $vehicles = collect($data['parti_coinvolte'])->filter(function ($item) {
|
|
|
|
|
+ return $item->conducente_o_pedone == 2;
|
|
|
|
|
+ });
|
|
|
|
|
|
|
|
- @if ($data['record']->pavimentazione != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>PAVIMENTAZIONE:</b>
|
|
|
|
|
- {{ @$data['record']->pavimentazione_value->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ $pedestrians = collect($data['parti_coinvolte'])->filter(function ($item) {
|
|
|
|
|
+ return $item->conducente_o_pedone == 1;
|
|
|
|
|
+ });
|
|
|
|
|
|
|
|
- @if ($data['record']->pavimentazione_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->pavimentazione_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ $vehicleNumber = 0;
|
|
|
|
|
+ @endphp
|
|
|
|
|
|
|
|
- @if ($data['record']->condizione_strada != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>CONDIZIONE STRADA:</b>
|
|
|
|
|
- {{ @$data['record']->condizione_strada_value->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ @foreach ($vehicles as $parte)
|
|
|
|
|
+ @php
|
|
|
|
|
+ $datiVeicolo = $data['datiVeicolo'][$parte->progressive];
|
|
|
|
|
+ $datiPasseggeri = App\Models\ReportDataPasseggeri::with('passeggero_value')
|
|
|
|
|
+ ->where('report_id', $data['record']->id)
|
|
|
|
|
+ ->get()
|
|
|
|
|
+ ->groupBy('progressive');
|
|
|
|
|
+ $datiInfortunati = App\Models\ReportDataInfortunati::with('infortunato_value')
|
|
|
|
|
+ ->where('report_id', $data['record']->id)
|
|
|
|
|
+ ->get()
|
|
|
|
|
+ ->groupBy('progressive');
|
|
|
|
|
|
|
|
- @if ($data['record']->condizione_strada_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->condizione_strada_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ // Calculate vehicle number
|
|
|
|
|
|
|
|
- @if ($data['record']->fondo_stradale != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>FONDO STRADALE:</b>
|
|
|
|
|
- {{ @$data['record']->fondo_stradale_value->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ @endphp
|
|
|
|
|
+
|
|
|
|
|
+ <div class="page-break"></div>
|
|
|
|
|
|
|
|
- @if ($data['record']->fondo_stradale_specifica != '')
|
|
|
|
|
|
|
+ <table width="100%">
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->fondo_stradale_specifica }}
|
|
|
|
|
|
|
+ <td width="100%" valign="top" align="center">
|
|
|
|
|
+ <h2>DATI VEICOLO</h2>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
- @endif
|
|
|
|
|
|
|
+ </table>
|
|
|
|
|
|
|
|
- @if (count($data['condizioni_luce']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- CONDIZIONI DI LUCE:
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['condizioni_luce'] as $condizioni_luce)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$condizioni_luce->condizioni_luce->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ <x-verbale.veicolo.dettaglio :parte="$parte" :datiVeicolo="$datiVeicolo" :vehicleNumber="$vehicleNumber" />
|
|
|
|
|
+ @php $vehicleNumber++; @endphp
|
|
|
|
|
|
|
|
- @if ($data['record']->visibilita != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>VISIBILITA':</b>
|
|
|
|
|
- {{ @$data['record']->visibilita == 1 ? 'BUONA' : 'LIMITATA' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ <x-verbale.veicolo.proprietario :datiVeicolo="$datiVeicolo" />
|
|
|
|
|
|
|
|
- @if ($data['record']->visibilita_specifica != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->visibilita_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ <x-verbale.veicolo.conducente :datiVeicolo="$datiVeicolo" />
|
|
|
|
|
|
|
|
- @if ($data['record']->particolarita_strada != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>PARTICOLARITA' STRADA:</b>
|
|
|
|
|
- {{ @$data['record']->particolarita_strada_value->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
|
|
+ @if ($datiVeicolo->polizze > 0)
|
|
|
|
|
+ <x-verbale.veicolo.assicurazione :datiVeicolo="$datiVeicolo" />
|
|
|
@endif
|
|
@endif
|
|
|
|
|
|
|
|
- @if ($data['record']->particolarita_strada_specifica != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->particolarita_strada_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ <x-verbale.passeggeri.index :datiPasseggeri="$datiPasseggeri" />
|
|
|
|
|
+ <x-verbale.infortunati.index :datiInfortunati="$datiInfortunati" />
|
|
|
|
|
|
|
|
- @if ($data['record']->traffico != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>TRAFFICO:</b>
|
|
|
|
|
- {{ @$data['record']->traffico == 1 ? 'NORMALE' : ($data['record']->traffico == 2 ? 'SCARSO' : 'INTENSO') }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- @if (count($data['tipo_strada']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- TIPO STRADA:
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['tipo_strada'] as $tipo_strada)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$tipo_strada->tipo_strada->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @if ($data['record']->tipo_strada_specifica != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->tipo_strada_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ @if ($datiVeicolo)
|
|
|
|
|
+ <x-verbale.stato-veicolo.index :datiVeicolo="$datiVeicolo" />
|
|
|
@endif
|
|
@endif
|
|
|
|
|
|
|
|
- </table>
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica != '')
|
|
|
|
|
-
|
|
|
|
|
- <div class="page-break"></div>
|
|
|
|
|
-
|
|
|
|
|
- <table width="100%" class="table-title">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <h2>
|
|
|
|
|
- STATO SEGNALETICA
|
|
|
|
|
- </h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>{{ @$data['record']->segnaletica == 1 ? 'SEGNALETICA ASSENTE' : ($data['record']->traffico == 2 ? 'SEGNALETICA VERTICALE' : ($data['record']->traffico == 3 ? 'SEGNALETICA ORIZZONTALE' : ($data['record']->traffico == 4 ? 'SEGNALETICA VERTICALE E ORIZZONTALE' : 'SEGNALETICA TEMPORANEA DI CANTIERE'))) }}</b>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_1_via != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>VIA DI RIFERIMENTO:</b> {{ @$data['record']->segnaletica_verticale_1_via_value->TOPONIMO }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_verticale_1_via_value->DESCRIZIONE }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (@$data['record']->segnaletica_verticale_1_direzione != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- DIREZIONE: {{ @$data['record']->segnaletica_verticale_1_direzione }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (count($data['segnaletica_verticale_1']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <b>DETTAGLIO SEGNALETICA VERTICALE</b>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['segnaletica_verticale_1'] as $segnaletica_verticale)
|
|
|
|
|
- :
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$segnaletica_verticale->segnaletica_verticale->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_1_limite_velocita != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- LIMITE DI VELOCITÀ: {{ @$data['record']->segnaletica_verticale_1_limite_velocita }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_1_pannello_integrativo != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- PANNELLO INTEGRATIVO : {{ @$data['record']->segnaletica_verticale_1_pannello_integrativo }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_1_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->segnaletica_verticale_1_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_2_via != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>VIA DI RIFERIMENTO:</b> {{ @$data['record']->segnaletica_verticale_2_via_value->TOPONIMO }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_verticale_2_via_value->DESCRIZIONE }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (@$data['record']->segnaletica_verticale_2_direzione != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- DIREZIONE: {{ @$data['record']->segnaletica_verticale_2_direzione }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (count($data['segnaletica_verticale_2']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <b>DETTAGLIO SEGNALETICA VERTICALE</b>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['segnaletica_verticale_2'] as $segnaletica_verticale)
|
|
|
|
|
- :
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$segnaletica_verticale->segnaletica_verticale->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_2_limite_velocita != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- LIMITE DI VELOCITA {{ @$data['record']->segnaletica_verticale_2_limite_velocita }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_2_pannello_integrativo != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- PANNELLO INTEGRATIVO {{ @$data['record']->segnaletica_verticale_2_pannello_integrativo }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_2_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->segnaletica_verticale_2_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_3_via != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>VIA DI RIFERIMENTO:</b> {{ @$data['record']->segnaletica_verticale_3_via_value->TOPONIMO }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_verticale_3_via_value->DESCRIZIONE }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (@$data['record']->segnaletica_verticale_3_direzione != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- DIREZIONE: {{ @$data['record']->segnaletica_verticale_3_direzione }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (count($data['segnaletica_verticale_3']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <b>DETTAGLIO SEGNALETICA VERTICALE</b>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['segnaletica_verticale_3'] as $segnaletica_verticale)
|
|
|
|
|
- :
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$segnaletica_verticale->segnaletica_verticale->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_3_limite_velocita != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- LIMITE DI VELOCITÀ: {{ @$data['record']->segnaletica_verticale_3_limite_velocita }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_3_pannello_integrativo != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- PANNELLO INTEGRATIVO : {{ @$data['record']->segnaletica_verticale_3_pannello_integrativo }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_3_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->segnaletica_verticale_3_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_4_via != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>VIA DI RIFERIMENTO:</b> {{ @$data['record']->segnaletica_verticale_4_via_value->TOPONIMO }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_verticale_4_via_value->DESCRIZIONE }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (@$data['record']->segnaletica_verticale_4_direzione != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- DIREZIONE: {{ @$data['record']->segnaletica_verticale_4_direzione }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (count($data['segnaletica_verticale_4']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <b>DETTAGLIO SEGNALETICA VERTICALE</b>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['segnaletica_verticale_4'] as $segnaletica_verticale)
|
|
|
|
|
- :
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$segnaletica_verticale->segnaletica_verticale->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_4_limite_velocita != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- LIMITE DI VELOCITÀ: {{ @$data['record']->segnaletica_verticale_4_limite_velocita }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_4_pannello_integrativo != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- PANNELLO INTEGRATIVO : {{ @$data['record']->segnaletica_verticale_4_pannello_integrativo }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_verticale_4_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->segnaletica_verticale_4_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- </table>
|
|
|
|
|
-
|
|
|
|
|
- <table width="100%" class="table-title">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <h2>SEGNALETICA ORIZZONTALE</h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_1_via != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>VIA DI RIFERIMENTO:</b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_1_via_value->TOPONIMO }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_1_via_value->DESCRIZIONE }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (@$data['record']->segnaletica_orizzontale_1_direzione != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- DIREZIONE: {{ @$data['record']->segnaletica_orizzontale_1_direzione }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (count($data['segnaletica_orizzontale_1']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <b>DETTAGLIO SEGNALETICA ORIZZONTALE</b>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['segnaletica_orizzontale_1'] as $segnaletica_orizzontale)
|
|
|
|
|
- :
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$segnaletica_orizzontale->segnaletica_orizzontale->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_1_linea_margine != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>
|
|
|
|
|
- LINEA MARGINE:
|
|
|
|
|
- </b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_1_linea_margine == 5 ? 'SINGOLA' : (@$data['record']->segnaletica_orizzontale_1_linea_margine == 6 ? 'DOPPIA' : (@$data['record']->segnaletica_orizzontale_1_linea_margine == 4 ? 'ASSENTE' : ($data['record']->segnaletica_orizzontale_1_linea_margine == 1 ? 'CONTINUA' : ($data['record']->segnaletica_orizzontale_1_linea_margine == 2 ? 'TRATTEGGIATA' : 'TRATTEGGIATA IN CORRISPONDENZA DI')))) }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_1_linea_margine_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_1_linea_mezzeria != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>LINEA DI MEZZERIA</b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_1_linea_mezzeria == 5 ? 'SINGOLA' : (@$data['record']->segnaletica_orizzontale_1_linea_mezzeria == 6 ? 'DOPPIA' : (@$data['record']->segnaletica_orizzontale_1_linea_mezzeria == 4 ? 'ASSENTE' : ($data['record']->segnaletica_orizzontale_1_linea_mezzeria == 1 ? 'CONTINUA' : ($data['record']->segnaletica_orizzontale_1_linea_mezzeria == 2 ? 'TRATTEGGIATA' : 'TRATTEGGIATA IN CORRISPONDENZA DI')))) }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_1_linea_mezzeria_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_1_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_1_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_2_via != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>VIA DI RIFERIMENTO:</b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_2_via_value->TOPONIMO }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_2_via_value->DESCRIZIONE }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (@$data['record']->segnaletica_orizzontale_2_direzione != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- DIREZIONE: {{ @$data['record']->segnaletica_orizzontale_2_direzione }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (count($data['segnaletica_orizzontale_2']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <b>DETTAGLIO SEGNALETICA ORIZZONTALE</b>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['segnaletica_orizzontale_2'] as $segnaletica_orizzontale)
|
|
|
|
|
- :
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$segnaletica_orizzontale->segnaletica_orizzontale->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_2_linea_margine != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>
|
|
|
|
|
- LINEA MARGINE:
|
|
|
|
|
- </b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_2_linea_margine == 5 ? 'SINGOLA' : (@$data['record']->segnaletica_orizzontale_2_linea_margine == 6 ? 'DOPPIA' : (@$data['record']->segnaletica_orizzontale_2_linea_margine == 4 ? 'ASSENTE' : ($data['record']->segnaletica_orizzontale_2_linea_margine == 1 ? 'CONTINUA' : ($data['record']->segnaletica_orizzontale_2_linea_margine == 2 ? 'TRATTEGGIATA' : 'TRATTEGGIATA IN CORRISPONDENZA DI')))) }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_2_linea_margine_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_2_linea_mezzeria != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>LINEA DI MEZZERIA</b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_2_linea_mezzeria == 5 ? 'SINGOLA' : (@$data['record']->segnaletica_orizzontale_2_linea_mezzeria == 6 ? 'DOPPIA' : (@$data['record']->segnaletica_orizzontale_2_linea_mezzeria == 4 ? 'ASSENTE' : ($data['record']->segnaletica_orizzontale_2_linea_mezzeria == 1 ? 'CONTINUA' : ($data['record']->segnaletica_orizzontale_2_linea_mezzeria == 2 ? 'TRATTEGGIATA' : 'TRATTEGGIATA IN CORRISPONDENZA DI')))) }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_2_linea_mezzeria_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_2_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_2_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_3_via != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>VIA DI RIFERIMENTO:</b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_3_via_value->TOPONIMO }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_3_via_value->DESCRIZIONE }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (@$data['record']->segnaletica_orizzontale_3_direzione != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- DIREZIONE: {{ @$data['record']->segnaletica_orizzontale_3_direzione }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (count($data['segnaletica_orizzontale_3']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <b>DETTAGLIO SEGNALETICA ORIZZONTALE</b>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['segnaletica_orizzontale_3'] as $segnaletica_orizzontale)
|
|
|
|
|
- :
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$segnaletica_orizzontale->segnaletica_orizzontale->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_3_linea_margine != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>
|
|
|
|
|
- LINEA MARGINE:
|
|
|
|
|
- </b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_3_linea_margine == 5 ? 'SINGOLA' : (@$data['record']->segnaletica_orizzontale_3_linea_margine == 6 ? 'DOPPIA' : (@$data['record']->segnaletica_orizzontale_3_linea_margine == 4 ? 'ASSENTE' : ($data['record']->segnaletica_orizzontale_3_linea_margine == 1 ? 'CONTINUA' : ($data['record']->segnaletica_orizzontale_3_linea_margine == 2 ? 'TRATTEGGIATA' : 'TRATTEGGIATA IN CORRISPONDENZA DI')))) }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_3_linea_margine_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_3_linea_mezzeria != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>LINEA DI MEZZERIA</b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_3_linea_mezzeria == 5 ? 'SINGOLA' : (@$data['record']->segnaletica_orizzontale_3_linea_mezzeria == 6 ? 'DOPPIA' : (@$data['record']->segnaletica_orizzontale_3_linea_mezzeria == 4 ? 'ASSENTE' : ($data['record']->segnaletica_orizzontale_3_linea_mezzeria == 1 ? 'CONTINUA' : ($data['record']->segnaletica_orizzontale_3_linea_mezzeria == 2 ? 'TRATTEGGIATA' : 'TRATTEGGIATA IN CORRISPONDENZA DI')))) }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_3_linea_mezzeria_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_3_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_3_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_4_via != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>VIA DI RIFERIMENTO:</b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_4_via_value->TOPONIMO }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_4_via_value->DESCRIZIONE }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (@$data['record']->segnaletica_orizzontale_4_direzione != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- DIREZIONE: {{ @$data['record']->segnaletica_orizzontale_4_direzione }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (count($data['segnaletica_orizzontale_4']) > 0)
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- <b>DETTAGLIO SEGNALETICA ORIZZONTALE</b>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @foreach ($data['segnaletica_orizzontale_4'] as $segnaletica_orizzontale)
|
|
|
|
|
- :
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td align="center">
|
|
|
|
|
- {{ @$segnaletica_orizzontale->segnaletica_orizzontale->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endforeach
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_4_linea_margine != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>
|
|
|
|
|
- LINEA MARGINE:
|
|
|
|
|
- </b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_4_linea_margine == 5 ? 'SINGOLA' : (@$data['record']->segnaletica_orizzontale_4_linea_margine == 6 ? 'DOPPIA' : (@$data['record']->segnaletica_orizzontale_4_linea_margine == 4 ? 'ASSENTE' : ($data['record']->segnaletica_orizzontale_4_linea_margine == 1 ? 'CONTINUA' : ($data['record']->segnaletica_orizzontale_4_linea_margine == 2 ? 'TRATTEGGIATA' : 'TRATTEGGIATA IN CORRISPONDENZA DI')))) }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_4_linea_margine_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_4_linea_mezzeria != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- <b>LINEA DI MEZZERIA</b>
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_4_linea_mezzeria == 5 ? 'SINGOLA' : (@$data['record']->segnaletica_orizzontale_4_linea_mezzeria == 6 ? 'DOPPIA' : (@$data['record']->segnaletica_orizzontale_4_linea_mezzeria == 4 ? 'ASSENTE' : ($data['record']->segnaletica_orizzontale_4_linea_mezzeria == 1 ? 'CONTINUA' : ($data['record']->segnaletica_orizzontale_4_linea_mezzeria == 2 ? 'TRATTEGGIATA' : 'TRATTEGGIATA IN CORRISPONDENZA DI')))) }}
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_4_linea_mezzeria_specifica }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if ($data['record']->segnaletica_orizzontale_4_altro != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" align="center">
|
|
|
|
|
- {{ @$data['record']->segnaletica_orizzontale_4_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- </table>
|
|
|
|
|
-
|
|
|
|
|
- @endif
|
|
|
|
|
- @php
|
|
|
|
|
-
|
|
|
|
|
- @endphp
|
|
|
|
|
- @foreach ($data['parti_coinvolte'] as $parte)
|
|
|
|
|
-
|
|
|
|
|
@php
|
|
@php
|
|
|
-
|
|
|
|
|
- $datiVeicolo = $data['datiVeicolo'][$parte->progressive];
|
|
|
|
|
- $datiPedoni = $data['datiPedoni'][$parte->progressive];
|
|
|
|
|
- $datiPasseggeri = App\Models\ReportDataPasseggeri::with('passeggero_value')
|
|
|
|
|
- ->where('report_id', $data['record']->id)
|
|
|
|
|
- ->get()
|
|
|
|
|
- ->groupBy('progressive');
|
|
|
|
|
- $datiInfortunati = App\Models\ReportDataInfortunati::with('infortunato_value')
|
|
|
|
|
- ->where('report_id', $data['record']->id)
|
|
|
|
|
- ->get()
|
|
|
|
|
- ->groupBy('progressive');
|
|
|
|
|
- $vehicleNumber = 0;
|
|
|
|
|
- foreach ($data['parti_coinvolte'] as $prog => $parteCoinvolta) {
|
|
|
|
|
- if ($prog < $parte->progressive && $parteCoinvolta->conducente_o_pedone == 2) {
|
|
|
|
|
- $vehicleNumber++;
|
|
|
|
|
|
|
+ $datiCintureSicurezza = App\Models\ReportDataCintureSicurezza::where('report_id', $data['record']->id)
|
|
|
|
|
+ ->byProgressive($parte->progressive)
|
|
|
|
|
+ ->first();
|
|
|
|
|
+
|
|
|
|
|
+ $datiCasco = App\Models\ReportDataUsoDelCasco::where('report_id', $data['record']->id)
|
|
|
|
|
+ ->byProgressive($parte->progressive)
|
|
|
|
|
+ ->first();
|
|
|
|
|
+
|
|
|
|
|
+ $datiCascoOmologazione = App\Models\ReportDataUsoDelCascoOmologazione::where(
|
|
|
|
|
+ 'report_id',
|
|
|
|
|
+ $data['record']->id,
|
|
|
|
|
+ )
|
|
|
|
|
+ ->byProgressive($parte->progressive)
|
|
|
|
|
+ ->first();
|
|
|
|
|
+
|
|
|
|
|
+ if (!function_exists('getYesNoStatus')) {
|
|
|
|
|
+ function getYesNoStatus($value)
|
|
|
|
|
+ {
|
|
|
|
|
+ return match ($value) {
|
|
|
|
|
+ 1 => 'SI',
|
|
|
|
|
+ 2 => 'NO',
|
|
|
|
|
+ default => 'NON RILEVATO',
|
|
|
|
|
+ };
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- @endphp
|
|
|
|
|
|
|
|
|
|
- @if ($datiVeicolo)
|
|
|
|
|
- <div class="page-break"></div>
|
|
|
|
|
-
|
|
|
|
|
- <table width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" valign="top" align="center">
|
|
|
|
|
- <h2>DATI VEICOLO</h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
|
|
+ $hasDriverData =
|
|
|
|
|
+ (isset($datiCintureSicurezza->conducente) && $datiCintureSicurezza->conducente) ||
|
|
|
|
|
+ (isset($datiCasco->conducente) && $datiCasco->conducente) ||
|
|
|
|
|
+ $datiVeicolo->alcool_test ||
|
|
|
|
|
+ $datiVeicolo->drug_test;
|
|
|
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="20%" style="text-align: center; font-size: 20px;">
|
|
|
|
|
- <table class="">
|
|
|
|
|
- <tr class="tr-title">
|
|
|
|
|
- <td align="center" class="no-border">VEICOLO
|
|
|
|
|
- {{ PoliziaUtils::numberToLetter(@$vehicleNumber) }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="80%">
|
|
|
|
|
- <table style="padding:1px">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="30%" class="veicolo-title-cell" align="left">TIPO:</td>
|
|
|
|
|
- <td width="70%" class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ @$parte->veicolo_data->tipo->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">MARCA E MODELLO:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ @$parte->veicolo_data->marca->name }}
|
|
|
|
|
- {{ @$parte->veicolo_data->modello->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">COLORE:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">{{ @$parte->veicolo_data->colore }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">TARGA:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">{{ @$parte->veicolo_data->targa }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">CARTA DI CIRCOLAZIONE:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ @$parte->veicolo_data->carta_circolazione }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @if ($parte->veicolo_data && empty($parte->veicolo_data->foreign_country))
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">RILASCIATA DA:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ @$parte->veicolo_data->carta_circolazione_rilasciata_da == 1 ? 'COMUNE' : ($parte->veicolo_data->carta_circolazione_rilasciata_da == 2 ? 'MOTORIZZAZIONE' : 'ALTRO') }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">DI:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ @$parte->veicolo_data->carta_circolazione_rilasciata_da_di_value ? $parte->veicolo_data->carta_circolazione_rilasciata_da_di_value : '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @else
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">RILASCIATA DA:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ @$parte->veicolo_data->carta_circolazione_rilasciata_da_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">DI:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ @$parte->veicolo_data->carta_circolazione_rilasciata_da_di_foreign_localita_value }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">RILASCIATA IL:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ DateHelper::formatDate(@$parte->veicolo_data->carta_circolazione_rilasciata_il) }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">ULTIMA REVISIONE:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- @if (@$parte->veicolo_data->data_ultima_revisione && @$parte->veicolo_data->data_ultima_revisione != '0000-00-00')
|
|
|
|
|
- {{ DateHelper::formatDate(@$parte->veicolo_data->data_ultima_revisione) }}
|
|
|
|
|
- @else
|
|
|
|
|
- N/A
|
|
|
|
|
- @endif
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">CHILOMETRI PERCORSI:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ @$datiVeicolo->chilometri_percorsi }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">CILINDRATA:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ @$parte->veicolo_data->cilindrata }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">STATO VEICOLO:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- {{ @$datiVeicolo->stato_veicolo == 1 ? 'IN MARCIA' : ($datiVeicolo->stato_veicolo == 2 ? 'IN SOSTA' : 'NON PRESENTE') }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" align="left">DESTINAZIONE D'USO:</td>
|
|
|
|
|
- <td class="veicolo-content-cell" align="left">
|
|
|
|
|
- @php
|
|
|
|
|
- $destUso = '';
|
|
|
|
|
- if ($parte->veicolo_data && isset($parte->veicolo_data->destinazione_uso)) {
|
|
|
|
|
- switch ($parte->veicolo_data->destinazione_uso) {
|
|
|
|
|
- case 1:
|
|
|
|
|
- $destUso = 'Privato';
|
|
|
|
|
- break;
|
|
|
|
|
- case 2:
|
|
|
|
|
- $destUso = 'Locazione senza conducente';
|
|
|
|
|
- break;
|
|
|
|
|
- case 3:
|
|
|
|
|
- $destUso = 'Taxi';
|
|
|
|
|
- break;
|
|
|
|
|
- case 4:
|
|
|
|
|
- $destUso = 'Servizo pubblico di linea';
|
|
|
|
|
- break;
|
|
|
|
|
- case 5:
|
|
|
|
|
- $destUso = 'Trasporto merci';
|
|
|
|
|
- break;
|
|
|
|
|
- case 6:
|
|
|
|
|
- $destUso = 'Contro proprio';
|
|
|
|
|
- break;
|
|
|
|
|
- case 7:
|
|
|
|
|
- $destUso = 'Conto terzi';
|
|
|
|
|
- break;
|
|
|
|
|
- case 8:
|
|
|
|
|
- $destUso = 'Pubblico';
|
|
|
|
|
- break;
|
|
|
|
|
- case 9:
|
|
|
|
|
- $destUso = 'Soccorso o Polizia';
|
|
|
|
|
- break;
|
|
|
|
|
- default:
|
|
|
|
|
- break;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- @endphp
|
|
|
|
|
- {{ @$destUso }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
|
|
+ $hasPassengerData =
|
|
|
|
|
+ $datiCintureSicurezza ||
|
|
|
|
|
+ $datiCasco ||
|
|
|
|
|
+ $datiCascoOmologazione ||
|
|
|
|
|
+ ($datiVeicolo && $datiVeicolo->sistema_ritenuta_minori);
|
|
|
|
|
|
|
|
- @if ($datiVeicolo->conducente_uguale_proprietario == 0)
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="20%" style="text-align: center; font-size: 20px;">
|
|
|
|
|
- <table class="">
|
|
|
|
|
- <tr class="tr-sub-title">
|
|
|
|
|
- <td class="bold">PROPRIETARIO</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="80%">
|
|
|
|
|
- <table>
|
|
|
|
|
- @if (@$datiVeicolo->proprietario->rag_soc)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">RAGIONE SOCIALE:</td>
|
|
|
|
|
- <td width="75%" class="veicolo-content-cell" colspan="3">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->rag_soc }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">SEDE LEGALE - COMUNE:</td>
|
|
|
|
|
- <td width="75%" class="veicolo-content-cell" colspan="3">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->sede_legale_town_id_value->title }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">SEDE LEGALE - PROVINCIA:</td>
|
|
|
|
|
- <td width="75%" class="veicolo-content-cell" colspan="3">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->sede_legale_prov_id_value->title }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">SEDE LEGALE - INDIRIZZO:</td>
|
|
|
|
|
- <td width="75%" class="veicolo-content-cell" colspan="3">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->sede_legale_address }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">SEDE LEGALE - CAP:</td>
|
|
|
|
|
- <td width="75%" class="veicolo-content-cell" colspan="3">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->sede_legale_cap }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">TELEFONO:</td>
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->phone }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">PARTITA IVA:</td>
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->vat }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @else
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">COGNOME:</td>
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->lastname }}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">NOME:</td>
|
|
|
|
|
- <td width="35%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->firstname }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">NATO A:</td>
|
|
|
|
|
- @if (optional($datiVeicolo->proprietario)->nazionalita == 1)
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->birth_town_id_value }}
|
|
|
|
|
- </td>
|
|
|
|
|
- @else
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->localita_straniera }}
|
|
|
|
|
- </td>
|
|
|
|
|
- @endif
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">NATO IL:</td>
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ DateHelper::formatDate(@$datiVeicolo->proprietario->birth_date) }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
-
|
|
|
|
|
- @if (!@$datiVeicolo->proprietario->residenza_town_id)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">RESIDENTE A:</td>
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->residenza_town_id_value }}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">IN</td>
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->residenza_address }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (!@$datiVeicolo->proprietario->foreign_country)
|
|
|
|
|
- @php
|
|
|
|
|
- $rilDa = '';
|
|
|
|
|
- switch (@$datiVeicolo->proprietario->documento_rilasciato_da) {
|
|
|
|
|
- case 1:
|
|
|
|
|
- $rilDa = 'Comune';
|
|
|
|
|
- break;
|
|
|
|
|
- case 2:
|
|
|
|
|
- $rilDa = 'Motorizzazione';
|
|
|
|
|
- break;
|
|
|
|
|
- case 4:
|
|
|
|
|
- $rilDa = 'MCTC';
|
|
|
|
|
- break;
|
|
|
|
|
- case 5:
|
|
|
|
|
- $rilDa = 'MIT';
|
|
|
|
|
- break;
|
|
|
|
|
- case 6:
|
|
|
|
|
- $rilDa = 'UCO';
|
|
|
|
|
- break;
|
|
|
|
|
- case 7:
|
|
|
|
|
- $rilDa = 'Prefettura';
|
|
|
|
|
- break;
|
|
|
|
|
- default:
|
|
|
|
|
- break;
|
|
|
|
|
- }
|
|
|
|
|
- @endphp
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">RILASCIATA DA:</td>
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">{{ @$rilDa }}</td>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">DI</td>
|
|
|
|
|
- <td width="35%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->documento_rilasciato_da_town_id_value->title }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @else
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">RILASCIATA DA:</td>
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->docuemento_rilasciato_da_di_altro }}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">DI:</td>
|
|
|
|
|
- <td width="35%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->documento_rilasciato_da_di_foreign_country_value->name }}{{ @$datiVeicolo->proprietario->documento_rilasciato_da_di_foreign_localita }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if (@$datiVeicolo->proprietario->mobile != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">TELEFONO:</td>
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->proprietario->mobile }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @endif
|
|
|
|
|
- </table>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ $hasProvvedimenti =
|
|
|
|
|
+ $datiVeicolo->verbale_violazione_numero_1 ||
|
|
|
|
|
+ $datiVeicolo->verbale_violazione_numero_2 ||
|
|
|
|
|
+ $datiVeicolo->verbale_violazione_numero_3;
|
|
|
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="bold" style="font-size: 20px; padding-bottom: 10px;">
|
|
|
|
|
- {{ @$datiVeicolo->conducente_uguale_proprietario == 0 ? 'CONDUCENTE' : 'CONDUCENTE E PROPRIETARIO' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
|
|
+ $hasAnyData = $hasDriverData || $hasPassengerData || $hasProvvedimenti;
|
|
|
|
|
+ @endphp
|
|
|
|
|
|
|
|
|
|
+ @if ($hasAnyData)
|
|
|
|
|
+ <table width="100%">
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td>
|
|
|
|
|
- <table width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell" width="20%">COGNOME:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">{{ @$datiVeicolo->conducente->lastname ?? '' }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">NOME:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">{{ @$datiVeicolo->conducente->firstname ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">NATO A:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- @if (@$datiVeicolo->conducente->nazionalita == 0)
|
|
|
|
|
- {{ @$datiVeicolo->conducente->birth_town_id_value->title ?? '' }}
|
|
|
|
|
- @else
|
|
|
|
|
- {{ @$datiVeicolo->conducente->localita_straniera ?? '' }}
|
|
|
|
|
- @endif
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">NATO IL:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ DateHelper::formatDate(@$datiVeicolo->conducente->birth_date ?? null) }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
-
|
|
|
|
|
- @if (!@$datiVeicolo->conducente->residenza_town_id)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">RESIDENTE A:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->conducente->residenza_town_id_value ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">RESIDENTE IN:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->conducente->residenza_address ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">TELEFONO:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">{{ @$datiVeicolo->conducente->mobile ?? '' }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">INDIRIZZO:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->conducente->residenza_address ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">COMUNE:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->conducente->residenza_town_id_value->title ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">PROVINCIA:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->conducente->residenza_prov_id_value->title ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">CONDUCENTE INFORTUNATO:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- @php
|
|
|
|
|
- $infortunatoStatus = [
|
|
|
|
|
- 0 => 'INCOLUME',
|
|
|
|
|
- 1 => 'FERITO',
|
|
|
|
|
- 2 => 'DECEDUTO ENTRO 24 ORE',
|
|
|
|
|
- 3 => 'DECEDUTO ENTRO 30 GG.',
|
|
|
|
|
- ];
|
|
|
|
|
- @endphp
|
|
|
|
|
- {{ $infortunatoStatus[@$datiVeicolo->infortunato] ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">GENERALIZZATO:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- @php
|
|
|
|
|
- $generalizzatoStatus = [
|
|
|
|
|
- 1 => 'SUL LUOGO',
|
|
|
|
|
- 2 => 'IN OSPEDALE',
|
|
|
|
|
- 3 => 'ALTROVE',
|
|
|
|
|
- ];
|
|
|
|
|
- @endphp
|
|
|
|
|
- {{ $generalizzatoStatus[$datiVeicolo->generalizzato] ?? '' }}
|
|
|
|
|
- @if ($datiVeicolo->generalizzato == 3)
|
|
|
|
|
- {{ $datiVeicolo->generalizzato_altrove }}
|
|
|
|
|
- @endif
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">PATENTE AL SEGUITO:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ $datiVeicolo->patente_al_seguito == 1 ? 'SI' : ($datiVeicolo->patente_al_seguito == 2 ? 'NO' : 'NON PREVISTA') }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">PATENTE CATEGORIA:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->conducente->documento_patente_cat ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">PATENTE NUMERO:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->conducente->documento_numero ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">PATENTE RILASCIATA DA:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- @php
|
|
|
|
|
- $rilasciataDaMap = [
|
|
|
|
|
- 1 => 'Comune',
|
|
|
|
|
- 2 => 'Motorizzazione',
|
|
|
|
|
- 4 => 'MCTC',
|
|
|
|
|
- 5 => 'MIT',
|
|
|
|
|
- 6 => 'UCO',
|
|
|
|
|
- 7 => 'Prefettura',
|
|
|
|
|
- ];
|
|
|
|
|
- @endphp
|
|
|
|
|
- {{ $rilasciataDaMap[@$datiVeicolo->conducente->documento_rilasciato_da] ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">PATENTE RILASCIATA IL:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ DateHelper::formatDate(@$datiVeicolo->conducente->documento_rilasciato_il ?? null) }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">PATENTE SCADENZA IL:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ DateHelper::formatDate(@$datiVeicolo->conducente->documento_scadenza_il ?? null) }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">PATENTE PRESCRIZIONI:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- @php
|
|
|
|
|
- $prescrizioniMap = [
|
|
|
|
|
- 1 => 'OBBLIGO LENTI',
|
|
|
|
|
- 2 => 'OBBLIGO APPARECCHIO ACUSTICO',
|
|
|
|
|
- 3 => 'LIMITAZIONI ART 117',
|
|
|
|
|
- ];
|
|
|
|
|
- @endphp
|
|
|
|
|
- {{ $prescrizioniMap[$datiVeicolo->conducente_patente_prescrizioni] ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">LIMITAZIONI:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ $datiVeicolo->conducente_patente_limitazioni_art_117_1 ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">ALTRE LIMITAZIONI:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ $datiVeicolo->conducente_patente_limitazioni_art_117_2 ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
-
|
|
|
|
|
- @if ($datiVeicolo->conducente_patente_abilitazione)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">ABILITAZIONE:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- @php
|
|
|
|
|
- $abilitazioneMap = [
|
|
|
|
|
- 1 => 'ABILITAZIONE CQC',
|
|
|
|
|
- 2 => 'ABILITAZIONE CAP',
|
|
|
|
|
- 3 => 'ABILITAZIONE CFC',
|
|
|
|
|
- ];
|
|
|
|
|
- @endphp
|
|
|
|
|
- {{ $abilitazioneMap[$datiVeicolo->conducente_patente_abilitazione] ?? '' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">PATENTE ABILITAZIONE RILASCIATA DA:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ $datiVeicolo->conducente_patente_abilitazione_rilasciata_da == 1 ? 'Comune' : 'Motorizzazione' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">PATENTE ABILITAZIONE RILASCIATA IL:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">
|
|
|
|
|
- {{ DateHelper::formatDate($datiVeicolo->conducente_patente_abilitazione_rilasciata_il ?? null) }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td class="veicolo-title-cell">SEDICENTE:</td>
|
|
|
|
|
- <td class="veicolo-content-cell">{{ $datiVeicolo->conducente_sedicente ?? '' }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
|
|
+ <td width="100%" valign="top" align="center">
|
|
|
|
|
+ <h2>ACCERTAMENTI</h2>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
|
|
|
|
|
|
- @if ($datiVeicolo->polizze > 0)
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="20%" style="text-align: center; font-size: 20px;">
|
|
|
|
|
- <table class="">
|
|
|
|
|
- <tr class="tr-sub-title">
|
|
|
|
|
- <td class="bold">ASSICURAZIONE</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="80%">
|
|
|
|
|
- <table>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">COMPAGNIA</td>
|
|
|
|
|
- <td width="35%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->polizza->compagnia->name }}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">AGENZIA</td>
|
|
|
|
|
- <td width="35%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->polizza->agenzia }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="20%" class="veicolo-title-cell">NUMERO</td>
|
|
|
|
|
- <td width="20%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->polizza->polizza_num }}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">VALIDA DAL</td>
|
|
|
|
|
- <td width="15%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->polizza->valida_dal }}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">AL</td>
|
|
|
|
|
- <td width="15%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->polizza->valida_al }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">CONTRAENTE</td>
|
|
|
|
|
- <td width="45%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$datiVeicolo->polizza->anagrafica->firstname }}
|
|
|
|
|
- {{ @$datiVeicolo->polizza->anagrafica->lastname }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- <x-verbale.passeggeri.index :datiPasseggeri="$datiPasseggeri" />
|
|
|
|
|
- <x-verbale.infortunati.index :datiInfortunati="$datiInfortunati" />
|
|
|
|
|
-
|
|
|
|
|
- @if ($datiVeicolo)
|
|
|
|
|
- <x-verbale.stato-veicolo.index :datiVeicolo="$datiVeicolo" />
|
|
|
|
|
|
|
+ @if ($hasDriverData)
|
|
|
|
|
+ @include('components.verbale.accertamenti.conducente', [
|
|
|
|
|
+ 'datiCintureSicurezza' => $datiCintureSicurezza,
|
|
|
|
|
+ 'datiCasco' => $datiCasco,
|
|
|
|
|
+ 'datiCascoOmologazione' => $datiCascoOmologazione,
|
|
|
|
|
+ 'datiVeicolo' => $datiVeicolo,
|
|
|
|
|
+ ])
|
|
|
@endif
|
|
@endif
|
|
|
|
|
|
|
|
- @php
|
|
|
|
|
- $datiCintureSicurezza = App\Models\ReportDataCintureSicurezza::where('report_id', $data['record']->id)
|
|
|
|
|
- ->byProgressive($parte->progressive)
|
|
|
|
|
- ->first();
|
|
|
|
|
-
|
|
|
|
|
- $datiCasco = App\Models\ReportDataUsoDelCasco::where('report_id', $data['record']->id)
|
|
|
|
|
- ->byProgressive($parte->progressive)
|
|
|
|
|
- ->first();
|
|
|
|
|
-
|
|
|
|
|
- $datiCascoOmologazione = App\Models\ReportDataUsoDelCascoOmologazione::where('report_id', $data['record']->id)
|
|
|
|
|
- ->byProgressive($parte->progressive)
|
|
|
|
|
- ->first();
|
|
|
|
|
-
|
|
|
|
|
- if (!function_exists('getYesNoStatus')) {
|
|
|
|
|
- function getYesNoStatus($value)
|
|
|
|
|
- {
|
|
|
|
|
- return match ($value) {
|
|
|
|
|
- 1 => 'SI',
|
|
|
|
|
- 2 => 'NO',
|
|
|
|
|
- default => 'NON RILEVATO',
|
|
|
|
|
- };
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- $hasDriverData = (
|
|
|
|
|
- (isset($datiCintureSicurezza->conducente) && $datiCintureSicurezza->conducente) ||
|
|
|
|
|
- (isset($datiCasco->conducente) && $datiCasco->conducente) ||
|
|
|
|
|
- $datiVeicolo->alcool_test ||
|
|
|
|
|
- $datiVeicolo->drug_test
|
|
|
|
|
- );
|
|
|
|
|
-
|
|
|
|
|
- $hasPassengerData = (
|
|
|
|
|
- $datiCintureSicurezza ||
|
|
|
|
|
- $datiCasco ||
|
|
|
|
|
- $datiCascoOmologazione ||
|
|
|
|
|
- ($datiVeicolo && $datiVeicolo->sistema_ritenuta_minori)
|
|
|
|
|
- );
|
|
|
|
|
-
|
|
|
|
|
- $hasProvvedimenti = (
|
|
|
|
|
- $datiVeicolo->verbale_violazione_numero_1 ||
|
|
|
|
|
- $datiVeicolo->verbale_violazione_numero_2 ||
|
|
|
|
|
- $datiVeicolo->verbale_violazione_numero_3
|
|
|
|
|
- );
|
|
|
|
|
-
|
|
|
|
|
- $hasAnyData = $hasDriverData || $hasPassengerData || $hasProvvedimenti;
|
|
|
|
|
- @endphp
|
|
|
|
|
-
|
|
|
|
|
- @if($hasAnyData)
|
|
|
|
|
- <table width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" valign="top" align="center">
|
|
|
|
|
- <h2>ACCERTAMENTI</h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
-
|
|
|
|
|
- @if($hasDriverData)
|
|
|
|
|
- @include('components.verbale.accertamenti.conducente', [
|
|
|
|
|
- 'datiCintureSicurezza' => $datiCintureSicurezza,
|
|
|
|
|
- 'datiCasco' => $datiCasco,
|
|
|
|
|
- 'datiCascoOmologazione' => $datiCascoOmologazione,
|
|
|
|
|
- 'datiVeicolo' => $datiVeicolo
|
|
|
|
|
- ])
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if($hasPassengerData)
|
|
|
|
|
- @include('components.verbale.accertamenti.passeggeri', [
|
|
|
|
|
- 'datiCintureSicurezza' => $datiCintureSicurezza,
|
|
|
|
|
- 'datiCasco' => $datiCasco,
|
|
|
|
|
- 'datiCascoOmologazione' => $datiCascoOmologazione,
|
|
|
|
|
- 'datiVeicolo' => $datiVeicolo,
|
|
|
|
|
- 'getYesNoStatus' => 'getYesNoStatus'
|
|
|
|
|
- ])
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
- @if($hasProvvedimenti)
|
|
|
|
|
- @include('components.verbale.accertamenti.provvedimenti', [
|
|
|
|
|
- 'datiVeicolo' => $datiVeicolo
|
|
|
|
|
- ])
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ @if ($hasPassengerData)
|
|
|
|
|
+ @include('components.verbale.accertamenti.passeggeri', [
|
|
|
|
|
+ 'datiCintureSicurezza' => $datiCintureSicurezza,
|
|
|
|
|
+ 'datiCasco' => $datiCasco,
|
|
|
|
|
+ 'datiCascoOmologazione' => $datiCascoOmologazione,
|
|
|
|
|
+ 'datiVeicolo' => $datiVeicolo,
|
|
|
|
|
+ 'getYesNoStatus' => 'getYesNoStatus',
|
|
|
|
|
+ ])
|
|
|
@endif
|
|
@endif
|
|
|
|
|
|
|
|
- @if (sizeof($datiPedoni) > 0)
|
|
|
|
|
- @foreach ($datiPedoni as $pedone)
|
|
|
|
|
- <table width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" valign="top" align="center">
|
|
|
|
|
- <h2>PEDONI</h2>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
-
|
|
|
|
|
- <table class="table-content" width="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="20%" align="center" style="font-size: 20px;">
|
|
|
|
|
- <table class="">
|
|
|
|
|
- <tr class="tr-sub-title">
|
|
|
|
|
- <td class="bold">PEDONE</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td width="80%">
|
|
|
|
|
- @if ($pedone->pedoni > 0)
|
|
|
|
|
- <table>
|
|
|
|
|
- @if (isset($pedone->pedone))
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="25%" class="veicolo-title-cell">COGNOME E NOME</td>
|
|
|
|
|
- <td width="40%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$pedone->pedone->lastname }}
|
|
|
|
|
- {{ @$pedone->pedone->firstname }}
|
|
|
|
|
- </td>
|
|
|
|
|
-
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">NATO A</td>
|
|
|
|
|
- <td width="20%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$pedone->pedone->birth_town_id_value }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
-
|
|
|
|
|
- <tr>
|
|
|
|
|
-
|
|
|
|
|
- <td width="15%" class="veicolo-title-cell">NATO IL</td>
|
|
|
|
|
- <td width="25%" class="veicolo-content-cell">
|
|
|
|
|
- {{ DateHelper::formatDate(@$pedone->pedone->birth_date) }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($pedone->pedone_posizione > 0)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="30%" class="veicolo-title-cell">POSIZIONE</td>
|
|
|
|
|
- <td width="50%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$pedone->pedone_posizione == 1 ? 'Presente e in posizione' : 'Già soccorso e trasportato presso ospedale' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($pedone->pedone_posizione > 2)
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="30%" class="veicolo-title-cell">POSIZIONE</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="99%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$pedone->pedone_posizione_desc }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- <tr>
|
|
|
|
|
-
|
|
|
|
|
- <td width="30%" class="veicolo-title-cell">GENERALIZZATO</td>
|
|
|
|
|
- <td width="35%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$pedone->generalizzato == 1 ? 'Sul luogo' : ($pedone->generalizzato == 2 ? 'In ospedale' : 'Altrove') }}
|
|
|
|
|
- </td>
|
|
|
|
|
-
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="30%" class="veicolo-title-cell">CONDIZIONI METEO</td>
|
|
|
|
|
- <td width="35%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$pedone->pedone_pioggia == 1 ? 'PIOGGIA' : 'SOLE' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
-
|
|
|
|
|
- <td width="30%" class="veicolo-title-cell">CONDIZIONI LUCE</td>
|
|
|
|
|
- <td width="35%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$pedone->pedone_notte == 1 ? 'NOTTE' : 'GIORNO' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="30%" class="veicolo-title-cell">OMBRELLO PEDONE</td>
|
|
|
|
|
- <td width="35%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$pedone->pedone_ombrello == 1 ? 'OMBRELLO AL SEGUITO' : 'NON AL SEGUITO' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="30%" class="veicolo-title-cell">ABITI SCURI PEDONE</td>
|
|
|
|
|
- <td width="35%" class="veicolo-content-cell">
|
|
|
|
|
- {{ @$pedone->pedone_abiti_scuri == 1 ? 'SCURI' : 'NON SCURI' }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- @if ($pedone->verbale_violazione_numero != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" class=""><b>VERBALE VIOLAZIONE NUMERO
|
|
|
|
|
- </b>
|
|
|
|
|
- {{ @$pedone->verbale_violazione_numero }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($pedone->articolo_violato != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" class=""><b>ARTICOLO VIOLATO
|
|
|
|
|
- </b>
|
|
|
|
|
- {{ @$pedone->articolo_violato }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
- @if ($pedone->cds != '')
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td width="100%" class=""><b>CDS
|
|
|
|
|
- </b>{{ @$pedone->cds }}
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- @endif
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- @endif
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- @endforeach
|
|
|
|
|
|
|
+ @if ($hasProvvedimenti)
|
|
|
|
|
+ @include('components.verbale.accertamenti.provvedimenti', [
|
|
|
|
|
+ 'datiVeicolo' => $datiVeicolo,
|
|
|
|
|
+ ])
|
|
|
@endif
|
|
@endif
|
|
|
@endif
|
|
@endif
|
|
|
-
|
|
|
|
|
@endforeach
|
|
@endforeach
|
|
|
|
|
|
|
|
|
|
+ <x-verbale.pedone.index :data="$data" />
|
|
|
|
|
+
|
|
|
<div class="page-break"></div>
|
|
<div class="page-break"></div>
|
|
|
|
|
|
|
|
<x-verbale.testimoni.index :data="$data" />
|
|
<x-verbale.testimoni.index :data="$data" />
|