@extends('layouts.main') @section('content') @include('layouts.components.alert-prompt')
Data Peminjaman
@forelse ($peminjaman as $data_peminjaman) {{-- --}} @empty @endforelse
No Kode Peti Nama Customer Kode Tgl Peminjaman Est Pengembalian PJ Peminjaman Tujuan WH Peminjam Action
{{ $no_peminjaman++ }}{{ $i++ }} {{ $data_peminjaman->peti->fix_lot }} {{ $data_peminjaman->peti->customer->name }} {{ $data_peminjaman->peti->customer->code_customer }} - {{ $data_peminjaman->peti->tipe_peti->type }} {{ \Carbon\Carbon::parse($data_peminjaman->exit_at)->format('d-m-Y') }} {{ \Carbon\Carbon::parse($data_peminjaman->est_pengembalian)->format('d-m-Y') }} {{ $data_peminjaman->exit_pic }} {{ $data_peminjaman->warehouse->name }}
@csrf @method('DELETE')
Data Kosong
@if (!$peminjaman->isEmpty())

Showing {{ $peminjaman->firstItem() }} to {{ $peminjaman->lastItem() }} of {{ $peminjaman->total() }} entries

@endif
@if ($peminjaman->total() > $peminjaman->perPage()) @endif
@endsection