@props([ 'request', 'requester', 'availableAssets', 'showQty' => true, 'maxQty' => null, 'defaultChecked' => false, 'defaultAssetId' => null, 'emptyMessage' => null, ]) {{-- Row variant of the bulk-fulfill form for types where the checkout target is an Asset (not a User): - Component installs INTO an asset (per-request, admin picks from the requester's assigned assets) - AssetModel fulfills via picking a specific Asset OF that model (from the model's available assets) The available-asset set is pre-computed by the controller (small, deterministic list) so the picker is a plain , so hand-roll the picker inside a standard form-row shell. --}}
$errors->has('asset_id.'.$request->id), ]) >
@if ($showQty) @else {{-- AssetModel rows fulfill one asset per request, so qty is fixed at 1. Hidden input keeps the POST shape uniform with the qty-tracked types. --}} @endif @endif