@extends('layouts.main') @section('content') @include('layouts.components.alert-prompt') @if (auth()->user()->role_id == 1)
Data Peti
@php $nopeti = 1; @endphp @forelse ($peti as $data_peti) @empty

Data Kosong

@endforelse
No User Customer WH Kode Customer Tipe Peti Ukuran Peti Lot No Status Peti Packing No Fix Lot Action
{{ $nopeti++ }} {{ $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->status_disposal }} {{ $data_peti->packing_no }} {{ $data_peti->fix_lot }}
@csrf @method('DELETE')
@else @include('pages.user.Master_Data.Manajemen_Peti.Peti.index') @endif @endsection