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

My Inventory Check

Check your van stock with photos, SKU, barcode, and quantity.

@csrf
@if($openCheck)
@csrf
@endif
@if(!$latestImport)
🚚

No van stock uploaded yet

Ask admin to upload your inventory file.

@else
Current File
{{ $latestImport->original_file }}
Products
{{ number_format($items->count()) }}
Total Qty
{{ number_format($items->sum('qty')) }}
Check Status
{{ $openCheck ? 'Open' : 'Not Started' }}
@foreach($items as $item) @php $check = $checked[$item->id] ?? null; $status = $check->status ?? 'unchecked'; @endphp
@if($item->image) @else
🖼
No Image
@endif

{{ $item->display_name }}

{{ $status }}
SKU: {{ $item->sku ?: '-' }}
Barcode: {{ $item->barcode ?: '-' }}
System Qty: {{ number_format($item->qty) }}
@endforeach
@endif
@endsection