@component('components.filters', [
'title' => __('report.filters'),
'class' => 'box-primary'
])
{!! 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('customer_id', __('contact.customer') . ':') !!}
{!! Form::select('customer_id', $customers, null, ['class' => 'form-control select2',
'style' => 'width:100%', 'id' => 'customer_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']) !!}
@endcomponent