@extends('layouts.app') @section('title', __('lang_v1.products_viewer')) @section('content')

@lang('lang_v1.products_viewer') @lang('lang_v1.view_products')

@include('product.partials.kyte_inventory_header', [ 'prefix' => 'product_viewer', 'title' => 'Items', 'search_placeholder' => 'Item or code', ])
@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('type', __('product.product_type') . ':') !!} {!! Form::select( 'type', ['single' => __('lang_v1.single'), 'variable' => __('lang_v1.variable'), 'combo' => __('lang_v1.combo')], null, [ 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'product_list_filter_type', 'placeholder' => __('lang_v1.all'), ], ) !!}
{!! Form::label('product_list_filter_quantity', __('lang_v1.quantity') . ':') !!} {!! Form::select( 'quantity_filter', ['' => __('lang_v1.all'), 'zero' => __('lang_v1.quantity') . ' = 0'], null, [ 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'product_list_filter_quantity', ], ) !!}
{!! Form::label('category_id', __('product.category') . ':') !!} {!! Form::select('category_id', $categories, null, [ 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'product_list_filter_category_id', 'placeholder' => __('lang_v1.all'), ]) !!}
{!! Form::label('unit_id', __('product.unit') . ':') !!} {!! Form::select('unit_id', $units, null, [ 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'product_list_filter_unit_id', 'placeholder' => __('lang_v1.all'), ]) !!}
{!! Form::label('tax_id', __('product.tax') . ':') !!} {!! Form::select('tax_id', $taxes, null, [ 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'product_list_filter_tax_id', 'placeholder' => __('lang_v1.all'), ]) !!}
{!! Form::label('brand_id', __('product.brand') . ':') !!} {!! Form::select('brand_id', $brands, null, [ 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'product_list_filter_brand_id', 'placeholder' => __('lang_v1.all'), ]) !!}
{!! Form::label('location_id', __('purchase.business_location') . ':') !!} {!! Form::select('location_id', $business_locations, null, [ 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'location_id', 'placeholder' => __('lang_v1.all'), ]) !!}

{!! Form::select( 'active_state', ['active' => __('business.is_active'), 'inactive' => __('lang_v1.inactive')], null, [ 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'active_state', 'placeholder' => __('lang_v1.all'), ], ) !!}
@if (!empty($pos_module_data)) @foreach ($pos_module_data as $key => $value) @if (!empty($value['view_path'])) @includeIf($value['view_path'], ['view_data' => $value['view_data']]) @endif @endforeach @endif

@if ($is_woocommerce)

@endif @endcomponent
@include('product.partials.product_viewer_list')
@endsection @section('javascript') @endsection