@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', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'cg_date_range', 'readonly']); !!}
{!! Form::close() !!}
@endcomponent