@extends('layouts.app') @section('title', __('installments::installment.installments_report')) @section('content')

{{ __('installments::installment.installments_report') }}

@component('components.filters', ['title' => __('report.filters')]) {!! Form::open(['url' => '#', 'method' => 'get', 'id' => 'installments_report_form']) !!}
{!! Form::label('location_id', __('purchase.business_location') . ':') !!}
{!! Form::select('location_id', $business_locations, null, [ 'class' => 'form-control select2', 'placeholder' => __('messages.all'), 'required', ]) !!}
{!! Form::label('customer_id', __('contact.customer') . ':') !!}
{!! Form::select('customer_id', $customers, null, [ 'class' => 'form-control select2', 'placeholder' => __('messages.all'), 'required', ]) !!}
{!! Form::label('customer_group_filter', __('lang_v1.customer_group') . ':') !!}
{!! Form::select('customer_group_filter', $customer_groups, null, ['class' => 'form-control select2']) !!}
{!! 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
@component('components.widget', ['class' => 'box-primary'])
@lang('installments::installment.conatct_name') @lang('installments::installment.transaction_id') @lang('installments::installment.installment_amount') @lang('installments::installment.paid_amount') @lang('installments::installment.total_remaining') @lang('installments::installment.payment_status') @lang('installments::installment.due_date') @lang('business.location') @lang('lang_v1.customer_group') @lang('lang_v1.added_by')
@endcomponent
@endsection @section('javascript') @endsection