@component('components.filters', ['title' => __('report.filters')])
{!! Form::open(['url' => '#', 'method' => 'get', 'id' => 'installments_report_form']) !!}
{!! Form::label('payment_status', __('purchase.payment_status') . ':') !!}
{!! Form::select(
'payment_status',
[
'paid' => __('lang_v1.paid'),
'due' => __('lang_v1.due'),
'partial' => __('lang_v1.partial'),
'overdue' => __('lang_v1.overdue'),
],
null,
['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')],
) !!}
{!! Form::label('created_by', __('report.user') . ':') !!}
{!! Form::select('created_by', $users, null, ['class' => 'form-control select2', 'style' => 'width:100%']) !!}
{!! Form::label('due_date_filter', __('report.date_range') . ':') !!}
{!! Form::text('date_range', null, [
'placeholder' => __('lang_v1.select_a_date_range'),
'class' => 'form-control',
'id' => 'due_date_filter',
'readonly',
]) !!}
{!! Form::label('amount_range', __('report.range') . ':') !!}
{!! Form::text('start_amount_range', null, [
'placeholder' => __('report.from'),
'class' => 'form-control width-50 f-right input_number',
'id' => 'start_amount_range',
]) !!}
{!! Form::text('end_amount_range', null, [
'placeholder' => __('report.to'),
'class' => 'form-control width-50 f-left input_number',
'id' => 'end_amount_range',
]) !!}
{!! Form::label('no_installments', __('installments::installment.no_installments') . ':') !!}
{!! Form::text('no_installments', null, [
'placeholder' => __('installments::installment.no_installments'),
'class' => 'form-control input_number',
'id' => 'no_installments',
]) !!}
{!! Form::close() !!}
@endcomponent