No |
Kode Peti |
Nama Customer |
Kode |
Tgl Peminjaman |
PJ Peminjaman |
Tujuan WH Peminjam |
Action |
{{--
@php
$no_peminjaman = 1;
@endphp
@forelse ($peminjaman as $data_peminjaman)
@if ($data_peminjaman->enter_warehouse == null)
{{ $no_peminjaman++ }} |
{{ $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') }} |
{{ $data_peminjaman->exit_pic }} |
{{ $data_peminjaman->warehouse->name }} |
|
@endif
@empty
Data Kosong |
@endforelse
--}}
@php
$no_peminjaman = 1;
@endphp
@forelse ($peminjaman as $data_peminjaman)
@if ($search)
@if (stripos($data_peminjaman->peti->fix_lot, $search) !== false ||
stripos($data_peminjaman->peti->customer->name, $search) !== false ||
stripos($data_peminjaman->peti->customer->code_customer, $search) !== false ||
stripos($data_peminjaman->peti->tipe_peti->type, $search) !== false ||
stripos($data_peminjaman->exit_at, $search) !== false ||
stripos($data_peminjaman->exit_pic, $search) !== false ||
stripos($data_peminjaman->warehouse->name, $search) !== false)
{{ $no_peminjaman++ }} |
{{ $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') }} |
{{ $data_peminjaman->exit_pic }} |
{{ $data_peminjaman->warehouse->name }} |
|
@endif
@else
{{ $no_peminjaman++ }} |
{{ $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') }} |
{{ $data_peminjaman->exit_pic }} |
{{ $data_peminjaman->warehouse->name }} |
|
@endif
@empty
Data Kosong |
@endforelse
@if (!$peminjaman->isEmpty())
Showing {{ $peminjaman->firstItem() }} to
{{ $peminjaman->lastItem() }} of
{{ $peminjaman->total() }} entries
@endif
@if ($peminjaman->total() > $peminjaman->perPage())
@endif