@extends('advancedreports::layouts.app') @section('title', __('advancedreports::lang.itemwise_sales_report')) @section('content')

{{ __('advancedreports::lang.itemwise_sales_report')}} @lang('advancedreports::lang.itemwise_sales_subtitle')

@component('components.filters', ['title' => __('advancedreports::lang.itemwise_sales_filters')])
{!! Form::label('itemwise_date_filter', __('report.date_range') . ':') !!}
{!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'itemwise_date_filter', 'readonly']) !!}
{!! Form::label('customer_filter', __('contact.customer') . ':') !!}
{!! Form::select('customer_id', $customers, 'all', ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('messages.please_select'), 'id' => 'customer_filter']) !!}
@if(isset($business_locations))
{!! Form::label('location_filter', __('purchase.business_location') . ':') !!}
{!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('messages.all'), 'id' => 'location_filter']) !!}
@endif
{!! Form::label('category_filter', __('category.category') . ':') !!}
{!! Form::select('category_id', $categories, 'all', ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'category_filter']) !!}
{!! Form::label('brand_filter', __('product.brand') . ':') !!}
{!! Form::select('brand_id', $brands, 'all', ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'brand_filter']) !!}
{!! Form::label('unit_filter', __('product.unit') . ':') !!}
{!! Form::select('unit_id', $units, 'all', ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'unit_filter']) !!}
{!! Form::label('tax_rate_filter', __('sale.tax') . ':') !!}
{!! Form::select('tax_rate_id', $tax_rates, 'all', ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'tax_rate_filter']) !!}
{!! Form::label('user_filter', __('report.user') . ':') !!}
{!! Form::select('user_id', $users, 'all', ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'user_filter']) !!}
{!! Form::label('product_filter', __('business.product') . ':') !!}
{!! Form::text('product_filter', null, ['class' => 'form-control', 'placeholder' => 'Product Name/SKU', 'id' => 'product_filter']) !!}
{!! Form::label('customer_search_filter', __('contact.customer') . ' Search:') !!}
{!! Form::text('customer_filter', null, ['class' => 'form-control', 'placeholder' => 'Customer Name/Mobile', 'id' => 'customer_search_filter']) !!}
{!! Form::label('payment_method_filter', __('lang_v1.payment_method') . ':') !!}
{!! Form::select('payment_method', $payment_types, 'all', ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'payment_method_filter']) !!}
{!! Form::label('min_amount_filter', __('advancedreports::lang.min_amount') . ':') !!}
{!! Form::number('min_amount', null, ['class' => 'form-control', 'placeholder' => '0.00', 'step' => '0.01', 'id' => 'min_amount_filter']) !!}
{!! Form::label('max_amount_filter', __('advancedreports::lang.max_amount') . ':') !!}
{!! Form::number('max_amount', null, ['class' => 'form-control', 'placeholder' => '0.00', 'step' => '0.01', 'id' => 'max_amount_filter']) !!}

@endcomponent

@lang('advancedreports::lang.summary')

@component('advancedreports::components.static', [ 'svg' => ' ', 'svg_bg' => 'tw-bg-blue-100', 'svg_text' => 'tw-text-blue-500' ])

@lang('advancedreports::lang.total_transactions')

0

@endcomponent
@component('advancedreports::components.static', [ 'svg' => ' ', 'svg_bg' => 'tw-bg-green-100', 'svg_text' => 'tw-text-green-500' ])

@lang('home.customers')

0

@endcomponent
@component('advancedreports::components.static', [ 'svg' => ' ', 'svg_bg' => 'tw-bg-yellow-100', 'svg_text' => 'tw-text-yellow-500' ])

@lang('report.products')

0

@endcomponent
@component('advancedreports::components.static', [ 'svg' => ' ', 'svg_bg' => 'tw-bg-red-100', 'svg_text' => 'tw-text-red-500' ])

@lang('advancedreports::lang.qty_sold')

0

@endcomponent
@component('advancedreports::components.static', [ 'svg' => ' ', 'svg_bg' => 'tw-bg-purple-100', 'svg_text' => 'tw-text-purple-500' ])

@lang('advancedreports::lang.total_sales')

0

@endcomponent
@component('advancedreports::components.static', [ 'svg' => ' ', 'svg_bg' => 'tw-bg-orange-100', 'svg_text' => 'tw-text-orange-500' ])

@lang('sale.tax')

0

@endcomponent

@lang('advancedreports::lang.itemwise_sales_report') - @lang('advancedreports::lang.detailed_view')

@lang('sale.invoice_no') @lang('messages.date') @lang('contact.customer') @lang('sale.product') @lang('product.category') @lang('product.brand') @lang('sale.qty') @lang('sale.unit_price') @lang('sale.discount') @lang('advancedreports::lang.tax_percent') @lang('sale.tax') @lang('sale.subtotal') @lang('sale.total') @lang('messages.action')
@stop @section('javascript') @endsection