%PDF- %PDF-
Direktori : /var/www/pjc/resources/views/ |
Current File : /var/www/pjc/resources/views/scadenziario.blade.php |
<table style="border: 2px solid black"> <thead> <tr> <th style="font-weight: bold;border: 1px solid black;background-color: #f2f2f2; text-align: center" width="50">CLIENTE</th> <th style="font-weight: bold;border: 1px solid black;background-color: #f2f2f2; text-align: center" width="50">DOCUMENTAZIONE</th> <th style="font-weight: bold;border: 1px solid black;background-color: #f2f2f2; text-align: center" width="50">TEMPI</th> <th style="font-weight: bold;border: 1px solid black;background-color: #f2f2f2; text-align: center" width="15">CONFORME</th> <th style="font-weight: bold;border: 1px solid black;background-color: #f2f2f2; text-align: center" width="50">NOTE</th> <th style="font-weight: bold;border: 1px solid black;background-color: #f2f2f2; text-align: center" width="25">SCADENZA</th> </tr> </thead> <tbody> @foreach($scadenziario as $user) <tr> <td style="word-wrap:break-word;border: 1px solid black" valign="center">{{ $user->Cliente }}</td> <td style="word-wrap:break-word;border: 1px solid black" valign="center">{{ $user->name }}</td> <td style="word-wrap:break-word;border: 1px solid black" valign="center">{{ $user->periodicita }}</td> <td @if($user->conformita_c == 'SI')style="background-color: green;border: 1px solid black" @endif @if($user->conformita_c == 'NO')style="background-color: red;border: 1px solid black" @endif @if($user->conformita_c == 'Parzialmente')style="background-color: orange;border: 1px solid black" @endif @if($user->conformita_c == '0')style="background-color: #A8A8A8;border: 1px solid black" @endif valign="center" > </td> <td style="word-wrap:break-word;border: 1px solid black" valign="center">{{ $user->note_c}}</td> <td style="word-wrap:break-word;border: 1px solid black" valign="center">{{ date('d-m-Y', strtotime($user->data_scadenza))}} </td> </tr> @endforeach </tbody> </table>