@extends('layouts.app') @section('content')

@lang('sync::lang.stock_settings')

{{ Form::open(['url' => '/sync/stock-settings', 'method' => 'POST', 'id' => 'settingForm']) }}
@component('components.widget', ['class' => 'box-solid'])
{!! Form::label('supervisor_id', __('sync::lang.choose_quantities_locations_for_syncing') . ':') !!}
{!! Form::select('locations[]', $locations ?? [], $selectedLocations, [ 'class' => 'form-control select2', 'id' => 'user_id', 'multiple', 'style' => 'width: 100%;', ]) !!}
{!! Form::label('percentage', __('sync::lang.qty_percentage') . ':') !!}
{!! Form::number('qty_percentage', $qtyPercentage, [ 'class' => 'form-control', 'id' => 'qty_percentage', 'min' => 0, 'max' => 100, 'step' => '0.01', ]) !!}
@endcomponent
@component('components.widget', ['class' => 'box-solid'])
{!! Form::label('location_store_id', __('sync::lang.choose_location_for_store_sell') . ':') !!}
{!! Form::select('location_id_for_store[]', $locations ?? [], $selectedLocationStore, [ 'class' => 'form-control select2', 'id' => 'user_id', 'style' => 'width: 100%;', ]) !!}
@endcomponent
{!! Form::close() !!}
@endsection @section('javascript') @endsection