{{-- Action URL is set per-click by snipeit.js from the trigger button's data-adjust-url. See snipeit_modals.js's .adjust-quantity delegated handler. --}}

{{ trans('general.available') }}:

{{-- min is populated by snipeit.js when the modal opens (–available). The browser stepper then refuses to go below and the built-in constraint-validation message surfaces if a user types past it. Zero is a valid input: it produces an audit-only QuantityAdjust log entry with no qty change so users can record a physical count against the current DB value. --}} {{-- Acquisition-only fields (order_number, supplier, unit cost, currency). Shown for positive qty changes and hidden by snipeit.js when the amount is 0 or negative. Those cases are corrections or losses rather than purchases, so purchase metadata doesn't apply. --}}
{{-- Inlined js-data-ajax select instead of x-input.supplier-select because that component wraps its markup in x-form.row's horizontal-form scaffold (col-md-3 label + col-md-7 input), which fights the stacked form-group layout used across this modal. snipeit.js auto-initializes any .js-data-ajax select. --}}
{{-- Label swaps between "Purchase Date" (positive qty) and "Date" (0 or negative) via snipeit.js reading data-label-*. Custom label markup passed through the labelHtml slot. Pre-populated with today because most adjust events happen the day they are recorded. Snipeit.js resets to today on every modal open so a stale date can't bleed across sessions. --}} {{-- Unit cost + currency side by side. Bootstrap 3 input-group doesn't handle a form-control addon cleanly (the addon slot expects a span, not a second input), so this uses a plain row / col split instead. Currency is editable and left blank on open: pre-filling with the system default would assert info we don't have per event (Snipe-IT's historical currency handling is squishy already). Placeholder hints at the system default without stamping it. --}}
{{-- Shown by snipeit.js when the modal opens with pre-populated cost/currency from the trigger's data-last-* attrs. Hidden as soon as the user edits either field, so it disappears the moment the pre-fill stops being authoritative. Custom id overrides x-form.help's default "{name}-help" id via the attributes merge because snipeit.js queries this exact id. --}} {{-- Inlined instead of x-input.file-upload because that component wraps its markup in x-form.row's horizontal scaffold. --}}
{{ trans('general.upload_filetypes_help', ['allowed_filetypes' => config('filesystems.allowed_upload_extensions'), 'size' => \App\Helpers\Helper::file_upload_max_size_readable()]) }}