@extends('layouts.main')
@section('title', 'Peminjaman')
@section('content')
No |
Kode Peti |
Nama Customer |
Tgl Peminjaman |
PJ Keluar |
Asal Gudang |
Action |
@php
$no_peminjaman = 1;
@endphp
@forelse ($peminjaman as $data_peminjaman)
{{ $no_peminjaman++ }} |
{{ $data_peminjaman->peti->customer->code_customer }} -
{{ $data_peminjaman->peti->tipe_peti->type }} |
{{ $data_peminjaman->peti->customer->name }} |
{{ $data_peminjaman->exit_at }} |
@empty
Data Kosong
@endforelse
{{--
@foreach ($peminjaman as $data)
{{ $no_peminjaman++ }} |
{{ $data->asset->name }} |
{{ \Carbon\Carbon::parse($data->exit_at)->format('d-m-Y') }} |
{{ $data->exit_pic }} |
{{ $data->warehouse->name }} |
|
@endforeach --}}
@endsection