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

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

@endif
@if ($component->name)

{{ $component->name }}

@endif
{{ Form::select('asset_id', $assets_list , Input::old('asset_id', $component->asset_id), array('class'=>'select2', 'style'=>'width:100%')) }} {!! $errors->first('asset_id', ' :message') !!}
{!! $errors->first('assigned_qty', '
:message') !!}
{{ $component->numRemaining() }} Max
@stop