@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @push('styles') @endpush @php $formatBerat = function ($value) { if ($value === null || $value === '') { return '-'; } $formatted = number_format((float) $value, 3, ',', '.'); return rtrim(rtrim($formatted, '0'), ','); }; @endphp @section('content') @include('layouts.navbars.auth.topnav', ['title' => $title ?? 'Penerimaan Barang'])
| No | {{ $batch->receive_mode === 'USE_VENDOR_ID' ? 'QR/Barcode Vendor' : 'Bag ID' }} | Material | Berat per Bag (kg) | Status | Waktu | Aksi |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $bag->barcode_value ?: '-' }} | {{ $bag->sku_code }} - {{ $bag->nama_material }} | {{ $formatBerat($bag->berat) }} |
{{ $statusText }}
@if ($isPlaced || $isWaitingApproval)
{{ $layoutInfo }}
@endif
|
{{ \Carbon\Carbon::parse($bag->created_at)->format('H:i:s') }} | @if ($canDeleteBag) @else - @endif |
Belum ada bag yang diterima. Mulai scan/input di form atas.