@extends('cargo_company.templates.layout') @php $dinfo = config("global.transporter_delivery_statuses.{$delivery->status}") ?? ['text' => '—', 'class' => 'secondary']; $progressPct = $totalExpected > 0 ? (int) round(($totalVerified / $totalExpected) * 100) : 0; $pending = max(0, $totalExpected - $totalVerified); $isCompleted = (int) $delivery->status === TRANSPORTER_DELIVERY_COMPLETED; @endphp @section('head') @endsection @section('content')
Point your scanner at the label, or type the reference ID manually and press Enter.
| Item | Variants | Verified / Expected | Action |
|---|---|---|---|
|
@if($row['image_url'])
{{ $row['name'] ?: '—' }}
{{ $row['variants_count'] }} variant{{ $row['variants_count'] === 1 ? '' : 's' }}
|
@foreach($row['variants'] as $v)
@if($v['is_verified'])@endif
{{ $v['name'] }}
·
{{ $v['verified_quantity'] }}/{{ $v['expected_quantity'] }}
@endforeach
|
{{ $row['verified'] }} / {{ $row['expected'] }} | @if($row['is_all_verified']) Verified @elseif($canScan && ! $isCompleted) @else — @endif |
|
No items in this delivery
|
|||