diff --git a/resources/views/dashboard/History/Peminjaman/index.blade.php b/resources/views/dashboard/History/Peminjaman/index.blade.php index d5f5345..5fdeb32 100644 --- a/resources/views/dashboard/History/Peminjaman/index.blade.php +++ b/resources/views/dashboard/History/Peminjaman/index.blade.php @@ -13,7 +13,7 @@
No | @@ -19,21 +44,54 @@|||||||||
---|---|---|---|---|---|---|---|---|---|
{{ $nocustomer++ }} | -{{ $data_customer->name }} | -{{ $data_customer->code_customer }} | -{{ $data_customer->no_tlp }} | -{{ $data_customer->address }} | +{{ $i++ }} | +{{ optional($data_customer)->name }} | +{{ optional($data_customer)->code_customer }} | +{{ optional($data_customer)->no_tlp }} | +{{ optional($data_customer)->address }} |
Data Kosong | +
Showing {{ $customers->firstItem() }} to + {{ $customers->lastItem() }} of + {{ $customers->total() }} entries
+ @endif +No | @@ -17,18 +42,52 @@|||||
---|---|---|---|---|---|
{{ $nokondisi++ }} | -{{ $data_kondisiPeti->nama_kondisi }} | -{{ $data_kondisiPeti->deskripsi_kondisi }} | +{{ $i++ }} | +{{ optional($data_kondisiPeti)->nama_kondisi }} | +{{ optional($data_kondisiPeti)->deskripsi_kondisi }} |
Data Kosong | +
Showing {{ $kondisiPetis->firstItem() }} to + {{ $kondisiPetis->lastItem() }} of + {{ $kondisiPetis->total() }} entries
+ @endif +No | @@ -18,20 +43,53 @@|||||||
---|---|---|---|---|---|---|---|
{{ $notype++ }} | -{{ $data_typepeti->type }} | -{{ $data_typepeti->size_peti }} | -{{ $data_typepeti->description }} | +{{ $i++ }} | +{{ optional($data_typepeti)->type }} | +{{ optional($data_typepeti)->size_peti }} | +{{ optional($data_typepeti)->description }} |
Data Kosong | +
Showing {{ $TipePetis->firstItem() }} to + {{ $TipePetis->lastItem() }} of + {{ $TipePetis->total() }} entries
+ @endif +No. | @@ -20,19 +43,53 @@||||||||
---|---|---|---|---|---|---|---|---|
{{ $i++ }} | +{{ optional($data)->name }} | +{{ optional($data)->description }} | +{{ optional($data)->address }} | +|||||
{{ $nowarehouses++ }} | -{{ $data->name }} | -{{ $data->description }} | -{{ $data->address }} | +Data Kosong |
Showing {{ $warehouse->firstItem() }} to + {{ $warehouse->lastItem() }} of + {{ $warehouse->total() }} entries
+ @endif +No | @@ -19,22 +48,54 @@||||||
---|---|---|---|---|---|---|
{{ $nodisposal++ }} | +{{ $i++ }} | {{ optional($data_disposal->peti)->fix_lot }} | {{ optional($data_disposal->customer)->name }} | {{ \Carbon\Carbon::parse($data_disposal->date_disposal)->format('d-m-Y') }} | -{{ $data_disposal->description }} | +{{ optional($data_disposal)->description }} |
Data Kosong | +
Showing {{ $disposals->firstItem() }} to + {{ $disposals->lastItem() }} of + {{ $disposals->total() }} entries
+ @endif +