@extends('layouts.app') @section('content')
| {{ _lang('Loan ID') }} | {{ $loan->loan_id }} |
| {{ _lang('Borrower') }} | {{ $loan->borrower->name }} |
| {{ _lang('Currency') }} | {{ $loan->currency->name }} |
| {{ _lang('Status') }} | {!! $loan->status == 0 ? xss_clean(show_status(_lang('Pending'), 'warning')) : xss_clean(show_status(_lang('Approved'), 'success')) !!} |
| {{ _lang('First Payment Date') }} | {{ $loan->first_payment_date }} |
| {{ _lang('Release Date') }} | {{ $loan->release_date }} |
| {{ _lang('Applied Amount') }} | {{ decimalPlace($loan->applied_amount, currency($loan->currency->name)) }} |
| {{ _lang('Total Payable') }} | {{ decimalPlace($loan->total_payable, currency($loan->currency->name)) }} |
| {{ _lang('Total Paid') }} | {{ decimalPlace($loan->total_paid, currency($loan->currency->name)) }} |
| {{ _lang('Due Amount') }} | {{ decimalPlace($loan->total_payable - $loan->total_paid, currency($loan->currency->name)) }} |
| {{ _lang('Late Payment Penalties') }} | {{ $loan->late_payment_penalties }} % |
| {{ _lang('Attachment') }} | {!! $loan->attachment == "" ? '' : ''._lang('Download').'' !!} |
| {{ _lang('Approved Date') }} | {{ $loan->approved_date }} |
| {{ _lang('Approved By') }} | {{ $loan->approved_by->name }} |
| {{ _lang('Description') }} | {{ $loan->description }} |
| {{ _lang('Remarks') }} | {{ $loan->remarks }} |
| {{ _lang('Name') }} | {{ _lang('Collateral Type') }} | {{ _lang('Serial Number') }} | {{ _lang('Estimated Price') }} |
|---|---|---|---|
| {{ $loancollateral->name }} | {{ $loancollateral->collateral_type }} | {{ $loancollateral->serial_number }} | {{ $loancollateral->estimated_price }} |
| {{ _lang('Date') }} | {{ _lang('Amount to Pay') }} | {{ _lang('Penalty') }} | {{ _lang('Principal Amount') }} | {{ _lang('Interest') }} | {{ _lang('Balance') }} | {{ _lang('Status') }} | {{ _lang('Action') }} |
|---|---|---|---|---|---|---|---|
| {{ $repayment->repayment_date }} | {{ decimalPlace($repayment['amount_to_pay']) }} | {{ decimalPlace($repayment['penalty']) }} | {{ decimalPlace($repayment['principal_amount']) }} | {{ decimalPlace($repayment['interest']) }} | {{ decimalPlace($repayment['balance']) }} | {!! $repayment['status'] == 1 ? xss_clean(show_status(_lang('Paid'),'success')) : xss_clean(show_status(_lang('Unpaid'),'danger')) !!} | @if($repayment['status'] == 0 && $loan->next_payment->id == $repayment->id) {{ _lang('Pay Now') }} @else {{ _lang('No Action') }} @endif |
| {{ _lang('Date') }} | {{ _lang('Interest') }} | {{ _lang('Amount to Pay') }} | {{ _lang('Late Penalty') }} |
|---|---|---|---|
| {{ $payment->paid_at }} | {{ decimalPlace($payment['interest']) }} | {{ decimalPlace($payment['amount_to_pay']) }} | {{ decimalPlace($payment['penalty']) }} |