@extends('layouts/edit-form', [ 'createText' => trans('admin/licenses/form.create') , 'updateText' => trans('admin/licenses/form.update'), 'helpTitle' => trans('admin/licenses/general.about_licenses_title'), 'helpText' => trans('admin/licenses/general.about_licenses_text'), 'formAction' => ($item) ? route('licenses.update', ['license' => $item->id]) : route('license.store'), ]) {{-- Page content --}} @section('inputFields') @include ('partials.forms.edit.name', ['translated_name' => trans('admin/licenses/form.name')])
{!! $errors->first('serial', ' :message') !!}
{!! $errors->first('seats', '
:message
') !!}
@include ('partials.forms.edit.company') @include ('partials.forms.edit.manufacturer')
{!! $errors->first('license_name', ' :message') !!}
{!! $errors->first('license_email', ' :message') !!}
{{ Form::Checkbox('reassignable', '1', Input::old('reassignable', $item->id ? $item->reassignable : '1'),array('class' => 'minimal')) }} {{ trans('general.yes') }}
@include ('partials.forms.edit.supplier') @include ('partials.forms.edit.order_number') @include ('partials.forms.edit.purchase_cost') @include ('partials.forms.edit.purchase_date')
{!! $errors->first('expiration_date', ' :message') !!}
{!! $errors->first('termination_date', ' :message') !!}
{{-- @TODO How does this differ from Order #? --}}
{!! $errors->first('purchase_order', ' :message') !!}
@include ('partials.forms.edit.depreciation')
{{ Form::Checkbox('maintained', '1', Input::old('maintained', $item->maintained),array('class' => 'minimal')) }} {{ trans('general.yes') }}
@include ('partials.forms.edit.notes') @stop