Data Peminjaman
@php $no_peminjaman = 1; @endphp @forelse ($peminjaman as $data_peminjaman) @empty

Data Kosong

@endforelse
No Kode Peti Nama Customer Tgl Peminjaman PJ Peminjaman Asal Gudang Action
{{ $no_peminjaman++ }} {{ $data_peminjaman->peti->customer->code_customer }} - {{ $data_peminjaman->peti->tipe_peti->type }} {{ $data_peminjaman->peti->customer->name }} {{ \Carbon\Carbon::parse($data_peminjaman->exit_at)->format('d/m/Y') }} {{ $data_peminjaman->exit_pic }} {{ $data_peminjaman->warehouse->name }}
@csrf @method('DELETE')