@extends('layouts.app') @section('content')
{{ _lang('Loan Calculator') }}
{{ csrf_field() }}
%
%
@if(isset($table_data))
{{ _lang('Payable Amount') }}: {{ decimalPlace($payable_amount) }}
@foreach($table_data as $td) @endforeach
{{ _lang('Date') }} {{ _lang('Amount to Pay') }} {{ _lang('Penalty') }} {{ _lang('Principal Amount') }} {{ _lang('Interest') }} {{ _lang('Balance') }}
{{ date('d/m/Y',strtotime($td['date'])) }} {{ decimalPlace($td['amount_to_pay']) }} {{ decimalPlace($td['penalty']) }} {{ decimalPlace($td['principle_amount']) }} {{ decimalPlace($td['interest']) }} {{ decimalPlace($td['balance']) }}
@endif
@endsection @section('js-script') @endsection