{!! Form::open(['url' => action('TypesOfServiceController@store'), 'method' => 'post', 'id' => 'types_of_service_form' ]) !!}

@lang( 'lang_v1.add_type_of_service' )

{!! Form::label('name', 'Nome' . ':*') !!} {!! Form::text('name', null, ['class' => 'form-control', 'required', 'placeholder' => 'Nome']); !!}
{!! Form::label('description', __( 'lang_v1.description' ) . ':') !!} {!! Form::textarea('description', null, ['class' => 'form-control', 'placeholder' => __( 'lang_v1.description' ), 'rows' => 3]); !!}
@foreach($locations as $key => $value) @endforeach
@lang('sale.location') @lang('lang_v1.price_group')
{{$value}} {!! Form::select('location_price_group[' . $key . ']', $price_groups, null, ['class' => 'form-control input-sm select2', 'style' => 'width: 100%;']); !!}
{!! Form::label('packing_charge_type', 'Tipo de embalagem' . ':') !!} {!! Form::select('packing_charge_type', ['fixed' => __('lang_v1.fixed'), 'percent' => __('lang_v1.percentage')], 'fixed', ['class' => 'form-control']); !!}
{!! Form::label('packing_charge', 'Taxa de embalagem' . ':') !!} {!! Form::text('packing_charge', null, ['class' => 'form-control input_number', 'placeholder' => 'Taxa de embalagem']); !!}
@show_tooltip('Quatro campos personalizados estarão disponíveis ao adicionar venda')
{!! Form::close() !!}