index.blade.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. {{-- resources/views/components/verbalizzanti/index.blade.php --}}
  2. <table width="100%">
  3. <tr>
  4. <td width="33%" align="center">
  5. <div class="title">
  6. <h2>IL RESPONSABILE DELL'UFFICIO</h2>
  7. </div>
  8. <div class="name" style="font-weight: bold; font-size: 14px;">
  9. FRANCESCO MAROZZA
  10. </div>
  11. <small>COMMISSARIO COORDINATORE</small>
  12. </td>
  13. <td width="33%" align="center"></td>
  14. <td width="33%" align="center">
  15. <div class="title" style="margin-top: 20px;">
  16. <h2>I VERBALIZZANTI</h2>
  17. </div>
  18. @for ($i = 1; $i <= 5; $i++)
  19. @if ($record->{"accertatore_$i"} > 0)
  20. <div class="officer" >
  21. <div class="name" style="font-weight: bold; font-size: 14px;">
  22. {{ isset($record->{"accertatore_{$i}_value"}->lastname) ? $record->{"accertatore_{$i}_value"}->lastname : '' }}
  23. {{ isset($record->{"accertatore_{$i}_value"}->firstname) ? $record->{"accertatore_{$i}_value"}->firstname : '' }}
  24. </div>
  25. <div class="mt-1 mb-1" style="font-size: 14px;">
  26. {{ $record->{"grado_accertatore_{$i}_value"}->name }}
  27. </div>
  28. </div>
  29. @endif
  30. @endfor
  31. </td>
  32. </tr>
  33. </table>