@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/components/general.checkout') }} @parent @stop {{-- Page content --}} @section('content')
{{ csrf_field() }}
@if ($component->id)

{{ $component->name }} ({{ $component->numRemaining() }} {{ trans('admin/components/general.remaining') }})

@endif
@include ('partials.forms.edit.asset-select', ['translated_name' => trans('general.select_asset'), 'fieldname' => 'asset_id', 'company_id' => $component->company_id])
@if ($errors->first('assigned_qty'))
{!! $errors->first('assigned_qty', '') !!}
@endif
@if ($component->requireAcceptance() || $component->getEula() || ($snipeSettings->webhook_endpoint!=''))
@if ($component->category->require_acceptance=='1') {{ trans('admin/categories/general.required_acceptance') }}
@endif @if ($component->getEula()) {{ trans('admin/categories/general.required_eula') }}
@endif @if ($snipeSettings->webhook_endpoint!='') {{ trans('general.webhook_msg_note') }} @endif
@endif
{!! $errors->first('note', '') !!}
@stop