@extends('layouts.app')

@section('title', 'Laporan P1 - Persetujuan Penelitian')

@section('content')
<div class="card">
    <div class="card-header"><h3 class="card-title">Semua Data Surat P1</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 Terbit</th>
                    <th>Lokasi</th>
                </tr>
            </thead>
            <tbody>
                @foreach($data as $item)
                <tr>
                    <td>{{ $item->nosrt }}</td>
                    <td>{{ $item->nim }}</td>
                    <td>{{ $item->nama }}</td>
                    <td>{{ $item->tanggal }}</td>
                    <td>{{ $item->lokasi_penelitian }}</td>
                </tr>
                @endforeach
            </tbody>
        </table>
    </div>
</div>
@endsection
