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

{{ trans_choice('general.loan',1) }} {{ trans_choice('general.calculator',1) }}

{{trans_choice('general.disbursement',1)}} {{trans_choice('general.maturity',1)}} {{trans_choice('general.repayment',1)}} {{trans_choice('general.principal',1)}} {{trans_choice('general.interest',1)}}% {{trans_choice('general.interest',1)}} {{trans_choice('general.due',1)}}
{{$request->expected_disbursement_date}} {{date_format(date_add(date_create($request->first_repayment_date), date_interval_create_from_date_string($request->loan_term . ' ' . $request->loan_term_type)), 'Y-m-d')}} {{trans_choice('general.every',1)}} {{$request->repayment_frequency}} @if($request->repayment_frequency_type=="days") {{trans_choice('general.day',2)}} @endif @if($request->repayment_frequency_type=="weeks") {{trans_choice('general.week',2)}} @endif @if($request->repayment_frequency_type=="months") {{trans_choice('general.month',2)}} @endif @if($request->repayment_frequency_type=="years") {{trans_choice('general.year',2)}} @endif {{number_format($request->principal,2)}} {{$request->interest_rate}} {{trans_choice('general.per',1)}} @if($request->interest_rate_type=="day") {{trans_choice('general.day',1)}} @endif @if($request->interest_rate_type=="week") {{trans_choice('general.week',1)}} @endif @if($request->interest_rate_type=="month") {{trans_choice('general.month',1)}} @endif @if($request->interest_rate_type=="year") {{trans_choice('general.year',1)}} @endif
# {{trans_choice('general.due',1)}} {{trans_choice('general.date',1)}} {{trans_choice('general.principal',1)}} {{trans_choice('general.amount',1)}} {{trans_choice('general.interest',1)}} {{trans_choice('general.amount',1)}} {{trans_choice('general.due',1)}} {{trans_choice('general.amount',1)}} {{trans_choice('general.principal',1)}} {{trans_choice('general.balance',1)}}