@if($startDate && $endDate) Periode: {{ \Carbon\Carbon::parse($startDate)->format('d M Y') }} - {{ \Carbon\Carbon::parse($endDate)->format('d M Y') }} @else Menampilkan Semua Data @endif
| No | Tanggal | Sparepart | Jenis | Jumlah | Penerima (Karyawan) | User | Catatan |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ \Carbon\Carbon::parse($trx->date)->format('d/m/Y') }} |
@if($trx->sparepart)
{{ $trx->sparepart->name }}
{{ $trx->sparepart->code }}
@else
Terhapus
@endif
|
@if($trx->type == 'in') Masuk @else Keluar @endif | {{ $trx->quantity }} | {{ $trx->employee ? $trx->employee->name : '-' }} | {{ $trx->user ? $trx->user->name : '-' }} | {{ $trx->note }} |