@extends('layouts.master') @section('title') {{trans_choice('general.product',2)}} {{trans_choice('general.summary',1)}} @endsection @section('content')
{{trans_choice('general.product',2)}} {{trans_choice('general.summary',1)}} @if(!empty($end_date)) for period: {{$start_date}} to {{$end_date}} @endif
{!! Form::open(array('url' => Request::url(), 'method' => 'post','class'=>'form-horizontal', 'name' => 'form')) !!}
{!! Form::label('start_date',trans_choice('general.start',1).' '.trans_choice('general.date',1),array('class'=>'')) !!} {!! Form::text('start_date',$start_date, array('class' => 'form-control date-picker', 'placeholder'=>"",'required'=>'required')) !!}
{!! Form::label('end_date',trans_choice('general.end',1).' '.trans_choice('general.date',1),array('class'=>'')) !!} {!! Form::text('end_date',$end_date, array('class' => 'form-control date-picker', 'placeholder'=>"",'required'=>'required')) !!}
{!! Form::close() !!}
@if(!empty($end_date))
@foreach(\App\Models\LoanProduct::get() as $key)
{{trans_choice('general.total',1)}} {{trans_choice('general.disbursed',1)}} {{trans_choice('general.outstanding',1)}}
{{trans_choice('general.name',1)}} {{trans_choice('general.loan',2)}} {{trans_choice('general.principal',1)}} {{trans_choice('general.interest',1)}} {{trans_choice('general.fee',2)}} {{trans_choice('general.total',1)}} {{trans_choice('general.principal',1)}} {{trans_choice('general.interest',1)}} {{trans_choice('general.fee',2)}} {{trans_choice('general.penalty',1)}} {{trans_choice('general.total',1)}}