@extends('advancedreports::layouts.app') @section('title', __('Customer Monthly Sales Report')) @section('content')

Customer Monthly Sales Report View customer sales by months with profit analysis

@component('components.filters', [ 'title' => __('report.filters'), 'class' => 'box-primary' ])
{!! Form::label('customer_name', __('contact.customer') . ' Name:') !!}
{!! Form::select('customer_name', [], null, [ 'class' => 'form-control', 'style' => 'width:100%', 'id' => 'customer_name_filter', 'placeholder' => 'Search customer...' ]); !!}
{!! Form::label('location_id', __('purchase.business_location') . ':') !!} {!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'location_filter']); !!}
{!! Form::label('payment_status', __('purchase.payment_status') . ':') !!} {!! Form::select('payment_status', [ '' => __('lang_v1.all'), 'paid' => __('lang_v1.paid'), 'due' => __('lang_v1.due'), 'partial' => __('lang_v1.partial') ], null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'payment_status_filter']); !!}
{!! Form::label('payment_method', __('lang_v1.payment_method') . ':') !!} {!! Form::select('payment_method', $payment_types, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'payment_method_filter']); !!}
{!! Form::label('user_id', __('advancedreports::lang.staff') . ':') !!} {!! Form::select('user_id', $users, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'user_filter']); !!}
{!! Form::label('year', __('Year') . ':') !!} {!! Form::select('year', array_combine(range(date('Y')-20, date('Y')+10), range(date('Y')-20, date('Y')+10)), date('Y'), ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'year_filter']); !!}
@endcomponent
Total Customers
1,247
Total Transactions
3,456
Total Sales
$87,432
Total Profit
$23,891
Profit Margin
27.3%
Avg per Customer
$70.12
@component('components.widget', ['class' => 'box-primary', 'title' => 'Customer Monthly Sales Report'])
@lang('messages.action') Customer Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Total Sales Gross Profit ($) Gross Profit (%)
@endcomponent
@stop @section('javascript') @endsection