@extends($pdf ? 'layouts.laporan-pdf' : 'layouts.internal') @section('title', 'Cetak Laporan / PDF') @section('content') @if (! $pdf)
@endif
Laporan Surat {{ ucfirst($jenis) }}
Periode {{ $mulai }} sampai {{ $selesai }}
Jumlah: {{ $rows->count() }} surat
| No. | Nomor | Perihal | {{ $jenis === 'masuk' ? 'Asal' : 'Tujuan' }} | Tanggal | Status |
|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $row->nomor ?: 'Belum bernomor' }} | {{ $row->perihal }} | {{ $row->pihak }} | {{ $row->tanggal }} | {{ ucwords(str_replace('_', ' ', $row->status)) }} |
| Tidak ada surat pada periode ini. | |||||
Dicetak pada {{ $dicetak }} WIB.