@extends('layouts.master') @section('title'){{trans_choice('general.collection',1)}} {{trans_choice('general.report',1)}} @endsection @section('content')

Please note that Total Loans may not equal Principal Loans + Interest Loans + Penalty Loans + Fees Loans if you have overriden the total due amount of any loan.

{{trans_choice('general.collection',1)}} {{trans_choice('general.report',1)}} @if(!empty($start_date)) for period: {{$start_date}} to {{$end_date}} @endif

{{trans_choice('general.date',1)}} {{trans_choice('general.range',1)}}

{!! Form::open(array('url' => Request::url(), 'method' => 'post','class'=>'form-horizontal', 'name' => 'form')) !!}
{!! Form::text('start_date',null, array('class' => 'form-control date-picker', 'placeholder'=>"From Date",'required'=>'required')) !!}
to
{!! Form::text('end_date',null, array('class' => 'form-control date-picker', 'placeholder'=>"To Date",'required'=>'required')) !!}
{{trans_choice('general.reset',1)}}!
{!! Form::close() !!}

{{trans_choice('general.principal',1)}} {{trans_choice('general.due',1)}}

{{round(\App\Helpers\GeneralHelper::loans_total_due_item('principal',$start_date,$end_date),2)}}

{{trans_choice('general.interest',1)}} {{trans_choice('general.due',1)}}

{{round(\App\Helpers\GeneralHelper::loans_total_due_item('interest',$start_date,$end_date),2)}}

{{trans_choice('general.penalty',1)}} {{trans_choice('general.due',1)}}

{{round(\App\Helpers\GeneralHelper::loans_total_due_item('penalty',$start_date,$end_date),2)}}

{{trans_choice('general.fee',2)}} {{trans_choice('general.due',1)}}

{{round(\App\Helpers\GeneralHelper::loans_total_due_item('fees',$start_date,$end_date),2)}}

{{trans_choice('general.total',1)}} {{trans_choice('general.loan',2)}} {{trans_choice('general.due',1)}}

{{round(\App\Helpers\GeneralHelper::loans_total_due($start_date,$end_date),2)}}

{{trans_choice('general.principal',1)}} {{trans_choice('general.paid',1)}}

{{round(\App\Helpers\GeneralHelper::loans_total_paid_item('principal',$start_date,$end_date),2)}}

{{trans_choice('general.interest',1)}} {{trans_choice('general.paid',1)}}

{{round(\App\Helpers\GeneralHelper::loans_total_paid_item('interest',$start_date,$end_date),2)}}

{{trans_choice('general.penalty',1)}} {{trans_choice('general.paid',1)}}

{{round(\App\Helpers\GeneralHelper::loans_total_paid_item('penalty',$start_date,$end_date),2)}}

{{trans_choice('general.fee',2)}} {{trans_choice('general.paid',1)}}

{{round(\App\Helpers\GeneralHelper::loans_total_paid_item('fees',$start_date,$end_date),2)}}

{{trans_choice('general.total',1)}} {{trans_choice('general.paid',1)}}

{{round(\App\Helpers\GeneralHelper::loans_total_paid($start_date,$end_date),2)}}

Monthly

{{trans_choice('general.due',1)}} {{trans_choice('general.amount',1)}} / {{trans_choice('general.paid',1)}} {{trans_choice('general.amount',1)}}

@endsection @section('footer-scripts') @endsection