@extends('layouts.main') @section('content')
Histori Pengembalian
@forelse ($peminjaman as $data) @empty @endforelse
No Fix Lot Nama Customer Tgl Peminjaman Estimasi Pengembalian PJ Peminjaman GD Peminjaman Tgl Pengembalian PJ Pengembalian GD Pengembalian Kondisi Peti Status
{{ $i++ }} {{ $data->peti->fix_lot }} {{ $data->peti->customer->name }} {{ \Carbon\Carbon::parse($data->exit_at)->format('d-m-Y') }} {{ \Carbon\Carbon::parse($data->est_pengembalian)->format('d-m-Y') }} {{ $data->exit_pic }} @if ($data->warehouse_id) {{ $data->warehouse->name }} @else

-

@endif
@if ($data->enter_at) {{ \Carbon\Carbon::parse($data->enter_at)->format('d-m-Y') }} @else

-

@endif
@if ($data->enter_pic) {{ $data->enter_pic }} @else

-

@endif
@if ($data->enter_warehouse) {{ $data->warehouseEnter->name }} @else

-

@endif
@if ($data->kondisi_peti) {{ $data->kondisi_peti->nama_kondisi }} @else

-

@endif
@if ($data->status == 1) Return @elseif($data->status == 0) Not Return @endif
Data Kosong
@if (!$peminjaman->isEmpty())

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

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