@if ($purchase = $this->getActivePurchase()) @php $pending = $this->getPendingItems(); @endphp
📦 Mod recepție — {{ $purchase->number }}
{{ __('Scanează codurile pieselor pentru a marca ca recepționate.') }} {{ count($pending) }} {{ __('linii neîncasate.') }}
@if (! empty($receivedToasts))
{{ __('Recepție acum:') }} @foreach (array_reverse(array_slice($receivedToasts, -5)) as $t)
· {{ $t['at'] }} — {{ $t['article'] }}: {{ rtrim(rtrim(number_format($t['qty_received'], 2), '0'), '.') }}/{{ rtrim(rtrim(number_format($t['qty_total'], 2), '0'), '.') }}
@endforeach
@endif
{{ __('↗ Deschide comanda în Filament') }}
@endif
{{-- wire:ignore: html5-qrcode injects the camera DOM here; keep Livewire's morph away so an update doesn't tear down the stream. --}}
{{ __('Apasă „Pornește" pentru a deschide camera.') }}
{{ __('Ultimul cod citit:') }}