@extends('layouts.main') @section('content') @if (auth()->user()->role_id == 1)
No | Kode Peti | Customer | Tgl Peinjaman | Estimasi Pengembalian | PJ Peminjaman | Asal WH Peminjaman | Tgl Pengembalian | PJ Pengembalian | Tujuan WH Pengembalian | Kondisi Peti | Status |
---|---|---|---|---|---|---|---|---|---|---|---|
{{ $no_peminjaman++ }} | {{ $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 }} | {{ $data->warehouse->name }} |
@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->warehouse->name }}
@else
- @endif |
@if ($data->kondisi_peti)
{{ $data->kondisi_peti }}
@else
- @endif |
@if ($data->enter_warehouse === null) Not Return @else Return @endif |