@extends('layouts.user') @section('title', __('loans.title')) @section('page_title', __('loans.page_title')) @section('breadcrumb', __('loans.breadcrumb')) @section('content')
{{ __('loans.loan_management') }}
{{ __('loans.hero_text') }}
| {{ __('loans.loan') }} | {{ __('loans.account') }} | {{ __('loans.principal') }} | {{ __('loans.remaining') }} | {{ __('loans.rate') }} | {{ __('loans.start') }} | {{ __('loans.status') }} | {{ __('loans.action') }} |
|---|---|---|---|---|---|---|---|
|
{{ $loan->lender_name ?: __('loans.unknown_lender') }}
{{ $loan->loan_no ?: __('loans.no_ref') }}
|
{{ $loan->account->name ?? '-' }}
{{ $loan->account->type ?? '-' }}
|
{{ number_format((float) $loan->principal_amount, 2) }} | {{ number_format((float) $loan->remaining_amount, 2) }} | {{ number_format((float) $loan->interest_rate, 2) }}% | {{ optional($loan->start_date)->format('d M Y') }} | @if($loan->status === 'closed') {{ __('loans.closed') }} @else {{ __('loans.active') }} @endif |
{{ __('loans.statement') }}
@if($loan->status !== 'closed')
{{ __('loans.payment') }}
{{ __('loans.edit') }}
@if((float) $loan->remaining_amount <= 0.01)
@endif
@endif
@if($loan->status !== 'closed')
@endif
|
| {{ __('loans.note') }}: {{ $loan->note }} | |||||||
| {{ __('loans.no_loans_found') }} | |||||||