%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/kpk/api/resources/views/protocols/
Upload File :
Create Path :
Current File : /var/www/html/kpk/api/resources/views/protocols/export.blade.php

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <style>
        .row, table {
            width: 100%;
        }

        table {
            border-collapse: collapse;
            border: 1px solid #333;
        }

        table td, table th {
            border: 1px solid #333;
        }
    </style>
</head>
<body>
<div>
    <div class="row">
        <table>
            <thead>
            <tr>
                <th width="36%">Numri protokollit</th>
                <th width="12%">Data mberritjes</th>
                <th width="12%">Data nisjes</th>
                <th width="10%">Lloji</th>
                <th width="15%">Institucioni</th>
                <th width="15%">Relatori</th>
            </tr>
            </thead>
            <tbody>
            @foreach($protocols as $protocol)
                <tr>
                    <td width="36%">{{$protocol->number}}</td>
                    <td width="12%">{{\Carbon\Carbon::parse($protocol->arrival_date)->format('d/m/Y')}}</td>
                    <td width="12%">{{\Carbon\Carbon::parse($protocol->departure_date)->format('d/m/Y')}}</td>
                    <td width="10%">{{$protocol->type === 'incoming' ? 'Hyres' : 'Dales'}}</td>
                    <td width="15%">{{$protocol->institution ? $protocol->institution->name : ''}}</td>
                    <td width="15%">{{$protocol->relator ? $protocol->relator->name : ''}}</td>
                </tr>
            @endforeach
            </tbody>
        </table>
    </div>
</div>
</body>
</html>

Zerion Mini Shell 1.0