No |
|
Fix Lot |
User |
Customer |
WH |
Kode Customer |
Tipe Peti |
Ukuran Peti |
Lot No |
Kondisi Peti |
Packing No |
Status |
Action |
@forelse ($peti as $data_peti)
@if ($search)
@if (stripos($data_peti->fix_lot, $search) !== false ||
stripos($data_peti->created_by, $search) !== false ||
stripos($data_peti->customer->name, $search) !== false ||
stripos($data_peti->warehouse->name, $search) !== false ||
stripos($data_peti->customer->code_customer, $search) !== false ||
stripos($data_peti->tipe_peti->type, $search) !== false ||
stripos($data_peti->tipe_peti->size_peti, $search) !== false ||
stripos($data_peti->customer->lot_no, $search) !== false ||
stripos($data_peti->kondisipeti->nama_kondisi, $search) !== false ||
stripos($data_peti->packing_no, $search) !== false ||
stripos($data_peti->status, $search) !== false)
{{ $i++ }} |
|
{{ $data_peti->fix_lot }} |
{{ $data_peti->created_by }} |
{{ $data_peti->customer->name }} |
{{ $data_peti->warehouse->name }} |
{{ $data_peti->customer->code_customer }} |
{{ $data_peti->tipe_peti->type }} |
{{ $data_peti->tipe_peti->size_peti }} |
{{ $data_peti->customer->lot_no }} |
{{ $data_peti->kondisipeti->nama_kondisi }} |
{{ $data_peti->packing_no }} |
{{ $data_peti->status }} |
|
@endif
@else
{{ $i++ }} |
|
{{ $data_peti->fix_lot }} |
{{ $data_peti->created_by }} |
{{ $data_peti->customer->name }} |
{{ $data_peti->warehouse->name }} |
{{ $data_peti->customer->code_customer }} |
{{ $data_peti->tipe_peti->type }} |
{{ $data_peti->tipe_peti->size_peti }} |
{{ $data_peti->customer->lot_no }} |
{{ $data_peti->kondisipeti->nama_kondisi }} |
{{ $data_peti->packing_no }} |
{{ $data_peti->status }} |
|
@endif
@empty
Data Kosong |
@endforelse
@if (!$peti->isEmpty())
Showing {{ $peti->firstItem() }} to {{ $peti->lastItem() }} of
{{ $peti->total() }} entries
@endif
@if ($peti->total() > $peti->perPage())
@endif