{{ Form::open(['url' => route('loyaltypointsconfig'), 'method'=>'POST', 'name' => 'loyaltypointsconfig',
'id' => 'loyaltypointsconfig']) }}
{{ Form::close() }}
{{ Form::label( __('lbl.calculate_tax') ) }}
{{ Form::select('calculate_tax', config('constants.lpcalculatetax'), !empty($lyestainfo)?
$lyestainfo->calculate_tax : '', ["class"=>"form-control","id"=>"calculate_tax"]) }}
@if ($errors->has('calculate_tax'))
@endif
{{ Form::label(__('lbl.points')) }}
{{ Form::text('convert_apply', !empty($lyestainfo)? $lyestainfo->convert_apply :
'',["class"=>"form-control numer_float_only","id"=>"convert_apply"]) }}
@if ($errors->has('convert_apply'))
@endif
{{ Form::label( __('lbl.product_or_category') ) }}
{{ Form::select('product_or_category', config('constants.lpproductorcategory'),
!empty($lyestainfo)? $lyestainfo->product_or_category : '',
["class"=>"form-control","id"=>"product_or_category"]) }}
@if ($errors->has('product_or_category'))
@endif
{{ Form::label( __('lbl.select_all') ) }}
select_all == 1)?"checked":"" }} id="select_all" />
select_all == 1)?"checked":"" }} id="select_all" />
{{ Form::label( __('lbl.select_items') ) }}
{{ Form::select('selected_items_PRODUCT[]', $product, !empty($lyestainfo)?
explode(",",$lyestainfo->selected_items) : "",["class"=>"form-control select2",
"multiple"=>"multiple", "aria-hidden"=>"true","id"=>"PRODUCTItems"]) }}
{{ Form::label( __('lbl.select_items') ) }}
{{ Form::select('selected_items_CATEGORY[]', $category, !empty($lyestainfo)?explode(",",$lyestainfo->category_ids) : "", ["class"=>"form-control select2","multiple"=>"multiple", "aria-hidden"=>"true","id"=>"CATEGORYItems"]) }}
{{ Form::label( __('lbl.item_skip') ) }}
{{ Form::select('item_skip[]', $product, !empty($lyestainfo)?
explode(",",$lyestainfo->item_skip) : "",["class"=>"form-control select2",
"multiple"=>"multiple", "aria-hidden"=>"true","id"=>"PRODUCTItemsSkip"]) }}
{{ Form::button(' ' . __('lbl.save')
,["type"=>"submit","name"=>"submit","value"=>"submit","class"=>"clickbtncommon btn btn-primary
btn-sm"]) }}