{!! Form::label('registration_number', 'Registration No') !!} * {!! Form::text('registration_number', null, ['class' => 'form-control']) !!} {!! $errors->first('registration_number', '

:message

') !!}
{!! Form::label('equipment', 'Equipment') !!} *
{!! Form::select('equipment_id',['' => 'Select Equipment'] + $page_data['equipment_id']->toArray() , null, ['id'=>'equipment','class' => 'form-control arr']) !!} {!! $errors->first('equipment_id', '

:message

') !!}
{!! Form::label('fuel', 'Fuel') !!} *
{!! Form::select('fuel',['' => 'Select Fuel'] + ['Diesel' => 'Diesel', 'Petrol' => 'Petrol'] , null, ['id'=>'fuel','class' => 'form-control arr']) !!} {!! $errors->first('fuel', '

:message

') !!}
{!! Form::text('make', null, ['id'=>'tire_id','class' => 'form-control arr']) !!} {!! $errors->first('make', '

:message

') !!}
{!! Form::label('model', 'Model') !!} * {!! Form::text('model', null, ['class' => 'form-control']) !!} {!! $errors->first('model', '

:message

') !!}
{!! Form::label('yom', 'Yom') !!} * {!! Form::text('yom', null, ['class' => 'form-control']) !!} {!! $errors->first('yom', '

:message

') !!}
{!! Form::label('chasis', 'Chasis') !!} {!! Form::text('chasis', null, ['class' => 'form-control']) !!}
{!! Form::label('body', 'Body') !!} * {!! Form::text('body', null, ['class' => 'form-control']) !!} {!! $errors->first('body', '

:message

') !!}
{!! Form::label('vin_number', 'Vin Number') !!} {!! Form::text('vin_number', null, ['class' => 'form-control']) !!}
{!! Form::label('engine_make', 'Engine Make') !!} * {!! Form::text('engine_make', null, ['class' => 'form-control']) !!} {!! $errors->first('engine_make', '

:message

') !!}
{!! Form::label('engine_model', 'Engine Model') !!} * {!! Form::text('engine_model', null, ['class' => 'form-control']) !!} {!! $errors->first('engine_model', '

:message

') !!}
{!! Form::label('engine_number', 'Engine Number') !!} * {!! Form::text('engine_number', null, ['class' => 'form-control']) !!} {!! $errors->first('engine_number', '

:message

') !!}
{!! Form::label('gear_box', 'GearBox') !!} {!! Form::text('gear_box', null, ['class' => 'form-control']) !!}
{!! Form::label('gear_box_type', 'GearBox Type') !!} {!! Form::text('gear_box_type', null, ['class' => 'form-control']) !!}
{!! Form::label('tare', 'Tare') !!} * {!! Form::text('tare', null, ['class' => 'form-control']) !!} {!! $errors->first('tare', '

:message

') !!}
{!! Form::label('gvm', 'Gvm') !!} * {!! Form::text('gvm', null, ['class' => 'form-control']) !!} {!! $errors->first('gvm', '

:message

') !!}
{!! Form::label('length', 'Length') !!} * {!! Form::text('length', null, ['class' => 'form-control']) !!} {!! $errors->first('length', '

:message

') !!}
{!! Form::label('width', 'Width') !!} * {!! Form::text('width', null, ['class' => 'form-control']) !!} {!! $errors->first('width', '

:message

') !!}
{!! Form::label('height', 'Height') !!} * {!! Form::text('height', null, ['class' => 'form-control']) !!} {!! $errors->first('height', '

:message

') !!}
{!! Form::label('dimension', 'Dimension') !!} * {!! Form::text('dimension', null, ['class' => 'form-control']) !!} {!! $errors->first('dimension', '

:message

') !!}
{!! Form::label('ratio', 'Ratio') !!} *
{!! Form::select('ratio_id',['' => 'Select Ratio'] + $page_data['ratio_id']->toArray() , null, ['id'=>'ratio','class' => 'form-control arr']) !!} {!! $errors->first('ratio_id', '

:message

') !!}
{!! Form::label('picture', 'Picture') !!} * {!! Form::file('picture', null, ['class' => 'form-control']) !!} {!! $errors->first('picture', '

:message

') !!}
{!! Form::label('transporter', 'Transporter') !!} {!! Form::select('transporter',['' => 'Select Transporter'] + $page_data['transporter_id']->toArray() , null, ['class' => 'form-control arr']) !!} {!! $errors->first('transporter', '

:message

') !!}
{!! Form::label('km', 'Km') !!} {!! Form::text('km',0, ['id'=>'kmvalue','class' => 'form-control','readonly'=>'true']) !!}


{!! Form::label('running','Running') !!} {!! Form::text('running', null, ['class' => 'form-control']) !!}
{!! Form::label('spare','Spare') !!} {!! Form::text('spare', null, ['class' => 'form-control']) !!}
{!! Form::label('oils', 'Select oils') !!} @foreach($page_data['oil'] as $oil) @endforeach
# Oil Make Type
fixed_asset_oil as $oilvalue) @if ($oil->id == $oilvalue->oil_id) checked="checked" @endif @endforeach @endif> {{ $oil->oil }} {{ $oil->make }} {{ $oil->type }}
{!! Form::label('document', 'Document') !!} {!! $errors->first('filename[]', '

:message

') !!}
{!! $errors->first('validity_from[]', '

:message

') !!}
{!! $errors->first('validity_to[]', '

:message

') !!}
@if(Session::has('error'))

{!! Session::get('error') !!}

@endif
{!! Form::submit(isset($submitButtonText) ? $submitButtonText : 'Create', ['class' => 'btn btn-primary']) !!}