index.blade.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  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. @if (isset($record->{"grado_accertatore_{$i}_value"}->name))
  26. <div class="mt-1 mb-1" style="font-size: 14px;">
  27. {{ $record->{"grado_accertatore_{$i}_value"}->name }}
  28. </div>
  29. @endif
  30. </div>
  31. @endif
  32. @endfor
  33. </td>
  34. </tr>
  35. </table>