<div class="modal fade" id="configure_search_modal" tabindex="-1" role="dialog" 
	aria-labelledby="gridSystemModalLabel">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
				<h4 class="modal-title">
					<?php echo app('translator')->get('lang_v1.search_products_by'); ?>
				</h4>
			</div>
			<div class="modal-body">
				<div class="row">
					<div class="col-md-6">
						<div class="checkbox">
							<label>
				              	<?php echo Form::checkbox('search_fields[]', 'name', true, ['class' => 'input-icheck search_fields']); ?> <?php echo app('translator')->get('product.product_name'); ?>
				            </label>
						</div>
					</div>
					<div class="col-md-6">
						<div class="checkbox">
							<label>
				              	<?php echo Form::checkbox('search_fields[]', 'sku', true, ['class' => 'input-icheck search_fields']); ?> <?php echo app('translator')->get('product.sku'); ?>
				            </label>
						</div>
					</div>
					<?php if(request()->session()->get('business.enable_lot_number') == 1): ?>
					<div class="col-md-6">
						<div class="checkbox">
							<label>
				              	<?php echo Form::checkbox('search_fields[]', 'lot', true, ['class' => 'input-icheck search_fields']); ?> <?php echo app('translator')->get('lang_v1.lot_number'); ?>
				            </label>
						</div>
					</div>
					<?php endif; ?>

					<?php
						$custom_labels = json_decode(session('business.custom_labels'), true);
						$product_custom_field1 = !empty($custom_labels['product']['custom_field_1']) ? $custom_labels['product']['custom_field_1'] : __('lang_v1.product_custom_field1');
						$product_custom_field2 = !empty($custom_labels['product']['custom_field_2']) ? $custom_labels['product']['custom_field_2'] : __('lang_v1.product_custom_field2');
						$product_custom_field3 = !empty($custom_labels['product']['custom_field_3']) ? $custom_labels['product']['custom_field_3'] : __('lang_v1.product_custom_field3');
						$product_custom_field4 = !empty($custom_labels['product']['custom_field_4']) ? $custom_labels['product']['custom_field_4'] : __('lang_v1.product_custom_field4');
			        ?>
			        <div class="clearfix"></div>
			        <div class="col-md-6">
						<div class="checkbox">
							<label>
				              	<?php echo Form::checkbox('search_fields[]', 'product_custom_field1', false, ['class' => 'input-icheck search_fields']); ?> <?php echo e($product_custom_field1, false); ?>

				            </label>
						</div>
					</div>
					<div class="col-md-6">
						<div class="checkbox">
							<label>
				              	<?php echo Form::checkbox('search_fields[]', 'product_custom_field2', false, ['class' => 'input-icheck search_fields']); ?> <?php echo e($product_custom_field2, false); ?>

				            </label>
						</div>
					</div>
					<div class="col-md-6">
						<div class="checkbox">
							<label>
				              	<?php echo Form::checkbox('search_fields[]', 'product_custom_field3', false, ['class' => 'input-icheck search_fields']); ?> <?php echo e($product_custom_field3, false); ?>

				            </label>
						</div>
					</div>
					<div class="col-md-6">
						<div class="checkbox">
							<label>
				              	<?php echo Form::checkbox('search_fields[]', 'product_custom_field4', false, ['class' => 'input-icheck search_fields']); ?> <?php echo e($product_custom_field4, false); ?>

				            </label>
						</div>
					</div>
				</div>
			</div>
			<div class="modal-footer">
			    <button type="button" class="tw-dw-btn tw-dw-btn-neutral tw-text-white" data-dismiss="modal"><?php echo app('translator')->get('messages.close'); ?></button>
			</div>
		</div>
	</div>
</div><?php /**PATH /home/stortlxj/jlalibois.space/resources/views/sale_pos/partials/configure_search_modal.blade.php ENDPATH**/ ?>