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

{{ __('lang_v1.customer_groups_report')}}

@component('components.filters', ['title' => __('report.filters')]) {!! Form::open(['url' => action('ReportController@getCustomerGroup'), 'method' => 'get', 'id' => 'cg_report_filter_form' ]) !!}
{!! Form::label('cg_customer_group_id', __( 'lang_v1.customer_group_name' ) . ':') !!} {!! Form::select('cg_customer_group_id', $customer_group, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'cg_customer_group_id']); !!}
{!! Form::label('cg_location_id', __('purchase.business_location') . ':') !!} {!! Form::select('cg_location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('cg_date_range', __('report.date_range') . ':') !!} {!! Form::text('date_range', @format_date('first day of this month') . ' ~ ' . @format_date('last day of this month'), ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'cg_date_range', 'readonly']); !!}
{!! Form::close() !!} @endcomponent
@component('components.widget', ['class' => 'box-primary'])
@lang('lang_v1.customer_group') @lang('report.total_sell')
@endcomponent
@endsection @section('javascript') @endsection