@extends('layouts.main') @section('content') @include('layouts.components.alert-prompt') @if (auth()->user()->role_id == 1)
@forelse ($peti as $data_peti) @empty @endforelse
No Fix Lot Customer Kode Customer Tipe Peti Ukuran Peti Lot No Packing No GD Kondisi Peti Isi Peti Warna Peti Action
{{ $i++ }} {{ optional($data_peti)->fix_lot }} {{ optional($data_peti->customer)->name }} {{ optional($data_peti->customer)->code_customer }} {{ optional($data_peti->tipe_peti)->type }} {{ optional($data_peti->tipe_peti)->size_peti }} {{ optional($data_peti->customer)->lot_no }} {{ optional($data_peti)->packing_no }} {{ optional($data_peti->warehouse)->name }} {{ optional($data_peti->kondisipeti)->nama_kondisi }} @if (optional($data_peti)->status_isi == 1) ADA @elseif(optional($data_peti)->status_isi == 0) TIDAK ADA @else TIDAK ADA @endif {{ optional($data_peti)->warna }}
@csrf @method('DELETE')
Data Kosong
@if (!$peti->isEmpty())

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

@endif
@if ($peti->total() > $peti->perPage()) @endif
@elseif (auth()->user()->role_id == 2) @include('pages.user.Master_Data.Manajemen_Peti.Peti.index') @endif @endsection