@extends('layouts.admin_layout') @section('content') @if(session('success'))
{{ session('success') }}
@endif
@forelse($lost as $index => $laporan) @empty @endforelse
ID NAMA
PELAPOR
NAMA
PERALATAN
KUANTITI TARIKH
DITERIMA
JENIS
LAPORAN
PUNCA
KEROSAKAN
CATATAN TINDAKAN
{{ $index + 1 }} {{ $laporan->user->name ?? '-' }} {{ $laporan->inventori?->nama_barang ?? '-' }} {{ $laporan->kuantiti ?? ($laporan->inventori->kuantiti ?? '-') }} {{ $laporan->tarikh_lapor }} {{ $laporan->butiran }} {{ $laporan->butiran === 'kerosakan' ? ($laporan->punca ?? '-') : '-' }}
@csrf
@csrf @method('DELETE')
Tiada laporan.
@endsection