@if (!empty($pos_settings['product_show_style_second']))
{{-- @if (!empty($categories)) --}}

@lang('category.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 --}}

All Categories

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

{{ $category['name'] }} - Sub Categories

@foreach ($category['sub_categories'] as $subCategory)

{{ $subCategory['name'] }}

@endforeach
@endif
@endforeach
{{-- @endif --}} @if (!empty($brands))

@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'], ) !!}
@if (!empty($brands)) @endif
@if (!empty($categories))
@lang('lang_v1.all_category')
@foreach ($categories as $category)
{{ $category['name'] }}
@endforeach
@else
@lang('lang_v1.all_category')
@endif @if (!empty($brands)) @endif
@else
@if (!empty($categories))

@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 (!empty($brands))

@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'], ) !!}
@endif