@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' => __('product.product_search_option')]) {!! Form::label('category_id', __('product.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.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.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')]); !!} @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')) @endif @if($is_admin) @endif @if(userHasPermission('product.create')) @lang('messages.add') @endif @if(userHasPermission('product.opening_stock')) @lang('app.import_opening_stock') @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