{!! Form::model($corridor, [ 'method' => 'PATCH', 'url' => ['/admin/corridor', $corridor->id], 'class' => 'form-vertical', 'files' => true ]) !!}
{!! Form::text('origin', null, ['class' => 'm-wrap span12']) !!}
{!! $errors->first('origin', '
:message ') !!} |
{!! Form::select('from_country', ['' => 'From Country'] + $page_data['country_from_list']->toArray() , null, ['id'=>'fromcountryupdateid','class' => 'form-control arr span12']) !!}
{!! $errors->first('from_country', '
:message ') !!} |
{!! Form::text('destination', null, ['class' => 'm-wrap span12']) !!}
{!! $errors->first('destination', '
:message ') !!} |
{!! Form::select('to_country', ['' => 'To Country'] + $page_data['country_to_list']->toArray() , null, ['id'=>'tocountryupdateid','class' => 'form-control arr span12 tocountry-update-select-class']) !!}
{!! $errors->first('to_country', ':message ') !!} |
{!! Form::hidden('amount', $amount, ['id'=>'amountUpdateId','class' => 'form-control arr span12']) !!}
{!! Form::select('border', ['' => 'Border'] + $page_data['border_list'], null, ['id'=>'borderUpdateId','class' => 'form-control arr span12 select-update-borderclass']) !!}
{!! $errors->first('border', '
:message ') !!} |
{!! Form::text('Km', null, ['class' => 'm-wrap span12 km-update-class']) !!}
{!! $errors->first('Km', '
:message ') !!} |
{!! Form::text('fuel_allowed', null, ['class' => 'm-wrap span12', 'id' => 'fuelAllowedUpdateId']) !!}
{!! $errors->first('fuel_allowed', '
:message ') !!} |
{!! Form::text('allowance', null, ['class' => 'm-wrap span12']) !!}
{!! $errors->first('allowance', '
:message ') !!} |
{!! Form::text('days_to_border', null, ['class' => 'm-wrap span12']) !!}
{!! $errors->first('days_to_border', '
:message ') !!} |
{!! Form::select('type', [''=>'Type','import'=>'Import','export'=>'Export'], null, ['class' => 'm-wrap span12']) !!}
{!! $errors->first('type', '
:message ') !!} |
{!! Form::text('bonus', null, ['class' => 'm-wrap span12', 'id' => 'bonusUpdateId']) !!}
|
{!! Form::select('status', ['Inactive', 'Active'], null, ['class' => 'm-wrap span12']) !!}
{!! $errors->first('status', '
:message ') !!} |
{!! Form::submit('Update', ['class' => 'btn green', 'style' => 'margin-top: 28%;']) !!}
|