{!! Form::open(['route' => ['admin::shipments::edit::post', $shipment->id], 'class' => 'form-horizontal', 'enctype' => 'multipart/form-data']) !!} @cstack('admin.shipment.form.edit.before')
{!! Form::label('name', trans('Shipments::admin/forms/edit.labels.name') . ':') !!}
{!! Form::text('name', $shipment->c('getExistsLanguageColumnValue', 'name'), ['class' => 'form-control', 'placeholder' => trans('Shipments::admin/forms/edit.inputs.placeholders.name')]) !!}
{!! Form::label('store_id', trans('Shipments::admin/forms/edit.labels.store_id') . ':') !!}
{!! Form::label('personal_collection', trans('Shipments::admin/forms/new.labels.personal_collection'), ['class' => 'col-sm-2 control-label']) !!}
{!! Form::checkbox('personal_collection', 1, (bool) $shipment->personal_collection, ['id' => 'personal_collection']) !!} {!! Form::label('personal_collection', ' ') !!}
{!! Form::label('many_packs', trans('Shipments::admin/forms/new.labels.many_packs'), ['class' => 'col-sm-2 control-label']) !!}
{!! Form::checkbox('many_packs', 1, (bool) $shipment->many_packs, ['id' => 'many_packs']) !!} {!! Form::label('many_packs', ' ') !!}
{!! Form::label('is_system', trans('Shipments::admin/forms/edit.labels.is_system') . ':', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::checkbox('is_system', 1, (bool) $shipment->system_shipment, ['id' => 'is_system']) !!} {!! Form::label('is_system', ' ') !!}
{!! Form::label('countries-list', trans('Shipments::admin/forms/edit.labels.countries') . ':', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::checkbox('all_countries', 1, count($shipmentCountries) == count($countries), ['id' => 'all_countries']) !!} {!! Form::label('all_countries', trans('Shipments::admin/forms/edit.labels.all_countries')) !!}
{!! Form::label('weight', trans('Shipments::admin/forms/edit.labels.weight') . ':', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::checkbox('weight_enable', 1, $shipment->weight_min !== null && $shipment->weight_max !== null, ['id' => 'weight_enable']) !!} {!! Form::label('weight_enable', ' ') !!}
{!! Form::number('weight_min', $shipment->weight_min, ['step' => 0.01, 'class' => 'form-control', 'placeholder' => trans('Shipments::admin/forms/edit.inputs.placeholders.weight_min')]) !!}
{!! Form::number('weight_max', $shipment->weight_max, ['step' => 0.01, 'class' => 'form-control', 'placeholder' => trans('Shipments::admin/forms/edit.inputs.placeholders.weight_max')]) !!}
{!! Form::label('free_from', trans('Shipments::admin/forms/edit.labels.free_from') . ':', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::checkbox('free_from_enable', 1, $shipment->c('getFreeFrom') !== null, ['id' => 'free_from_enable']) !!} {!! Form::label('free_from_enable', ' ') !!}
{!! Form::number('free_from', $shipment->c('getFreeFrom'), ['class' => 'form-control currency-price', 'min' => 0, 'step' => 'any', 'placeholder' => trans('Shipments::admin/forms/edit.inputs.placeholders.free_from')]) !!} {{ $currencyCode }}
{!! Form::label('price', trans('Shipments::admin/forms/edit.labels.price') . ':') !!}
{!! Form::number('price', $shipment->c('getPrice'), ['class' => 'form-control currency-price', 'min' => 0, 'step' => 'any', 'placeholder' => trans('Shipments::admin/forms/edit.inputs.placeholders.price')]) !!} {{ $currencyCode }}
{!! Form::label('price_purchase', trans('Shipments::admin/forms/edit.labels.price_purchase') . ':') !!}
{!! Form::number('price_purchase', $shipment->c('getPricePurchase'), ['class' => 'form-control currency-price', 'min' => 0, 'step' => 'any', 'placeholder' => trans('Shipments::admin/forms/edit.inputs.placeholders.price_purchase')]) !!} {{ $currencyCode }}
{!! Form::label('dimension_id-list', trans('Shipments::admin/forms/edit.labels.dimension_id') . ':') !!}
{!! Form::label('tax_id-list', trans('Shipments::admin/forms/edit.labels.tax_id') . ':') !!}
{!! Form::label('icon', trans('Shipments::admin/forms/edit.labels.icon') . ':') !!}
{{ trans('Shipments::admin/forms/edit.labels.select_icon') }} {!! Form::file('icon', ['id' => 'icon']) !!} {!! Form::text(null, null, ['class' => 'form-control', 'readonly' => '']) !!}
{!! Form::submit(trans('global.save'), ['class' => 'btn btn-success', 'name' => 'add_new_shipment_submit']) !!}
@cstack('admin.shipment.form.edit.end') {!! Form::close() !!} @include('Shipments::admin/sections/scripts/forms', ['edit' => true])