@if(session('business.enable_product_expiry'))
@if(session('business.expiry_type') == 'add_expiry')
@php
$expiry_period = 12;
$hide = true;
@endphp
@else
@php
$expiry_period = null;
$hide = false;
@endphp
@endif
@endif
@show_tooltip(__('lang_v1.tooltip_sr_no'))
@if(session('business.enable_racks') || session('business.enable_row') || session('business.enable_position'))
@lang('lang_v1.rack_details'):
@show_tooltip(__('lang_v1.tooltip_rack_details'))
@foreach($business_locations as $id => $location)
{!! Form::label('rack_' . $id, $location . ':') !!}
@if(session('business.enable_racks'))
{!! Form::text('product_racks[' . $id . '][rack]', null, ['class' => 'form-control', 'id' => 'rack_' . $id,
'placeholder' => __('lang_v1.rack')]); !!}
@endif
@if(session('business.enable_row'))
{!! Form::text('product_racks[' . $id . '][row]', null, ['class' => 'form-control', 'placeholder' => __('lang_v1.row')]); !!}
@endif
@if(session('business.enable_position'))
{!! Form::text('product_racks[' . $id . '][position]', null, ['class' => 'form-control', 'placeholder' => __('lang_v1.position')]); !!}
@endif
@endforeach
@endif
{!! Form::label('weight', __('lang_v1.weight') . ':') !!}
{!! Form::text('weight', null, ['class' => 'form-control', 'placeholder' => __('lang_v1.weight')]); !!}
{!! Form::label('product_custom_field1', __('lang_v1.product_custom_field1') . ':') !!}
{!! Form::text('product_custom_field1', null, ['class' => 'form-control', 'placeholder' => __('lang_v1.product_custom_field1')]); !!}
{!! Form::label('product_custom_field2', __('lang_v1.product_custom_field2') . ':') !!}
{!! Form::text('product_custom_field2', null, ['class' => 'form-control', 'placeholder' => __('lang_v1.product_custom_field2')]); !!}
{!! Form::label('product_custom_field3', __('lang_v1.product_custom_field3') . ':') !!}
{!! Form::text('product_custom_field3', null, ['class' => 'form-control', 'placeholder' => __('lang_v1.product_custom_field3')]); !!}
{!! Form::label('product_custom_field4', __('lang_v1.product_custom_field4') . ':') !!}
{!! Form::text('product_custom_field4', null, ['class' => 'form-control', 'placeholder' => __('lang_v1.product_custom_field4')]); !!}