@php $show_category_suggestion = session('business.enable_category') == 1 && empty($pos_settings['hide_category_suggestion']) && !empty($categories); $show_brand_suggestion = session('business.enable_brand') == 1 && empty($pos_settings['hide_brand_suggestion']) && !empty($brands); $toolbar_search_class = $show_category_suggestion && $show_brand_suggestion ? 'col-md-6 col-sm-6 col-xs-12' : 'col-md-8 col-sm-8 col-xs-12'; $suggestion_column_class = $show_category_suggestion && $show_brand_suggestion ? 'col-md-3 col-sm-3 col-xs-6' : 'col-md-4 col-sm-4 col-xs-12'; @endphp
@if ($show_category_suggestion)

@lang('category.category')

@lang('lang_v1.all_category')

@foreach ($categories as $category)

{{ $category['name'] }}

@if (!empty($category['sub_categories'])) @endif
@endforeach @foreach ($categories as $category) @if (!empty($category['sub_categories'])) @endif @endforeach
@endif @if ($show_brand_suggestion)

@lang('brand.brands')

@foreach ($brands as $key => $brand)

{{ $brand }}

@endforeach
@endif
{!! Form::select( 'is_enabled_stock', ['' => __('messages.all'), 'product' => __('sale.product'), 'service' => __('lang_v1.service')], null, ['id' => 'is_enabled_stock', 'class' => 'select2', 'name' => null, 'style' => 'width:100% !important'], ) !!}
@lang('sale.products')
Stock
@lang('lang_v1.price')