@php use App\Support\Asset\AssetType; @endphp
{{ __('Employee') }}
{{ $staff_info->user?->name ?? '—' }}
{{ $staff_info->designation?->name ?? '' }} · {{ $staff_info->warehouse?->name ?? '' }}
{{ __('Request') }}
{{ $requisition->category?->parentCategory?->name ?? $requisition->category?->name }} → {{ $requisition->category?->parentCategory ? $requisition->category?->name : '—' }}
{{ __('Qty') }}: {{ $needQty }} · {{ AssetType::label($assetType) }} @if($assetType === AssetType::CONSUMABLE) · {{ __('Stock lines') }}: {{ $consumable_stocks->count() }} @else · {{ __('Stock available') }}: {{ $asset_list->count() }} @endif
@if($requisition->description)
{{ __('Note') }}: {{ $requisition->description }}
@endif
@if($assetType === AssetType::CONSUMABLE) @if($consumable_stocks->isEmpty())
{{ __('No consumable stock found in the employee branch for this category.') }}
@elseif($consumable_stocks->count() > 1)

{{ __('Multiple products share this category — choose the exact item to issue (e.g. A4 80GSM vs A4 70GSM).') }}

@foreach($consumable_stocks as $stock)
first) checked @endif>
@endforeach
@else
{{ __('Issuing from') }}: {{ $consumable_stocks->first()->name }} ({{ __('Available') }}: {{ $consumable_stocks->first()->formattedQty() }})
@endif @elseif($assetType === AssetType::SERIALIZED_BULK)
@for($i = 0; $i < $needQty; $i++) @endfor {{ __('Child unit records will be created automatically from bulk stock.') }}
@else @include('admin.asset.partials.barcode_scanner', [ 'inputName' => 'scan_barcode', 'categoryId' => $requisition->category_id, 'branchId' => $staff_info->warehouse_id, 'label' => __('Scan barcode to auto-select asset'), ])
@forelse($asset_list as $list) @php $label = $list->name.' ('.($list->identity ?: $list->code).')'; @endphp
@empty

{{ __('No unassigned assets in this category for the employee branch.') }}

@endforelse
@endif