@extends('layouts.app') @section('title', __('sale.products')) @section('content') @include('layouts.partials.breadcrumb',['page_title'=> __( 'sale.products') , 'bread_crumbs'=>array( array('title'=>__('app.manage_products'),'url'=>''),array('title'=> __('app.manage_your_products'),'url'=>''))]) @component('components.filters', ['title' => __('report.filters')]) {!! Form::label('type', __('product.product_type') . ':',['class'=>'form-label']) !!} {!! Form::select('type', ['single' => __('app.single'), 'variable' => __('app.variable'), 'combo' => __('app.combo')], null, ['class' => 'form-select select2', 'style' => 'width:100%', 'id' => 'product_list_filter_type', 'placeholder' => __('app.all')]); !!} {!! Form::label('category_id', __('product.category') . ':',['class'=>'form-label']) !!} {!! Form::select('category_id', $categories, null, ['class' => 'form-select select2', 'style' => 'width:100%', 'id' => 'product_list_filter_category_id', 'placeholder' => __('app.all')]); !!} {!! Form::label('brand_id', __('product.brand') . ':',['class'=>'form-label']) !!} {!! Form::select('brand_id', $brands, null, ['class' => 'form-select select2', 'style' => 'width:100%', 'id' => 'product_list_filter_brand_id', 'placeholder' => __('app.all')]); !!} {!! Form::label('unit_id', __('product.unit') . ':',['class'=>'form-label']) !!} {!! Form::select('unit_id', $units, null, ['class' => 'form-select select2', 'style' => 'width:100%', 'id' => 'product_list_filter_unit_id', 'placeholder' => __('app.all')]); !!} {!! Form::label('location_id', __('purchase.business_location') . ':',['class'=>'form-label']) !!} {!! Form::select('location_id', $business_locations, null, ['class' => 'form-select select2', 'style' => 'width:100%', 'placeholder' => __('app.all')]); !!} {!! Form::label('tax_id', __('product.tax') . ':',['class'=>'form-label']) !!} {!! Form::select('tax_id', $taxes, null, ['class' => 'form-select select2', 'style' => 'width:100%', 'id' => 'product_list_filter_tax_id', 'placeholder' => __('app.all')]); !!} {!! Form::label('is_active', __('purchase.is_active') . ':',['class'=>'form-label']) !!} {!! Form::select('active_state', ['active' => __('business.is_active'), 'inactive' => __('app.inactive')], null, ['class' => 'form-select select2', 'style' => 'width:100%', 'id' => 'active_state', 'placeholder' => __('app.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 @endcomponent @if(userHasPermission('product.view')) @lang('app.all_products') @if(userHasPermission('stock_report.view')) @lang('report.stock_report') @endif @if($is_admin) @endif @if(userHasPermission('product.create')) @lang('messages.add') @endif @include('product.partials.product_list') @if(userHasPermission('stock_report.view')) @include('report.partials.stock_report_table') @endif @endif @include('product.partials.edit_product_location_modal') @endsection @section('javascript') @endsection