@extends('layouts.app')

@section('title', 'Laporan P5 - Undangan Ujian')

@section('content')
<div class="card">
    <div class="card-header"><h3 class="card-title">Semua Data Undangan P5</h3></div>
    <div class="card-body">
        <table class="table table-bordered datatables">
            <thead>
                <tr>
                    <th>No. Surat</th>
                    <th>NIM</th>
                    <th>Nama</th>
                    <th>Tgl Ujian</th>
                    <th>Waktu</th>
                    <th>Tempat</th>
                </tr>
            </thead>
            <tbody>
                @foreach($data as $item)
                <tr>
                    <td>{{ $item->nosrt }}</td>
                    <td>{{ $item->nim }}</td>
                    <td>{{ $item->nama }}</td>
                    <td>{{ $item->tanggal_ujian }}</td>
                    <td>{{ $item->jam }}</td>
                    <td>{{ $item->tempat }}</td>
                </tr>
                @endforeach
            </tbody>
        </table>
    </div>
</div>
@endsection
