@extends('layouts.dashboard') @section('content')
@if(session('success'))
✅ {{ session('success') }}
@endif

📦 Box {{ $box->box_code }}

{{ $box->salesman->name ?? 'Salesman' }} • Shelf {{ $box->shelf ?: '-' }} • {{ $box->position ?: '-' }}

← Back
📦

{{ $box->box_code }}

{{ $box->title ?: 'Van Box' }}

Products
{{ number_format($items->count()) }}
Total Qty
{{ number_format($items->sum('qty')) }}
Shelf
{{ $box->shelf ?: '-' }}
Position
{{ $box->position ?: '-' }}
Box QR / Barcode Placeholder
{{ $box->box_code }}

Next phase: generate real QR code for box scanning.

Items Inside Box

Products assigned to this physical box.

@if($items->count())
@foreach($items as $item) @endforeach
Photo Product Barcode Qty
@if($item->main_image) @else 🖼 @endif
{{ $item->display_name }}
SKU: {{ $item->sku ?: '-' }}
{{ $item->barcode ?: '-' }} {{ number_format($item->qty) }}
@csrf @method('DELETE')
@else
📦

Box is empty

Go back and assign products to this box.

@endif
@endsection