@extends('layout.main') @section('content')
Client Code: {{ $client->client_code }}
ID Number: {{ $client->idnumber }}
No active loans found.
@elseLoan Code | Loan Amount | Loan + Interest | Loan Type | Installments | Status | @if (Auth::user()->can('loans-edit') || Auth::user()->can('loans-delete'))Actions | @endif
---|---|---|---|---|---|---|
{{ $clientLoan->loan->loan_code }} | {{ number_format($clientLoan->loan->principal_amount, 2) }} | {{ number_format($clientLoan->loan->loan_amount, 2) }} | {{ $clientLoan->loan->loanType?->product_name ?? 'N/A' }} | {{ number_format($clientLoan->loan->installments) }} |
@switch($clientLoan->loan->level_status_id)
@case(\App\Constants\LoanConstants::APPROVED)
|
@if (Auth::user()->can('loans-edit') || Auth::user()->can('loans-show') || Auth::user()->can('loans-delete'))
@endif |
No loan history found.
@elseLoan Code | Principal Amount | Interest Rate (%) | Interest Amount | Loan + Interest | Loan Type | Installments | Status | @if (Auth::user()->can('loans-edit') || Auth::user()->can('loans-delete'))Actions | @endif
---|---|---|---|---|---|---|---|---|
{{ $clientLoan->loan->loan_code }} | {{ number_format($clientLoan->loan->principal_amount, 2) }} | {{ number_format($clientLoan->loan->interest_rate, 2) }} | {{ number_format($clientLoan->loan->interest_amount, 2) }} | {{ number_format($clientLoan->loan->loan_amount, 2) }} | {{ $clientLoan->loan->loanType?->product_name ?? 'N/A' }} | {{ number_format($clientLoan->loan->installments) }} |
@switch($clientLoan->loan->level_status_id)
@case(\App\Constants\LoanConstants::APPROVED)
|
@if (Auth::user()->can('loans-edit') || Auth::user()->can('loans-show') || Auth::user()->can('loans-delete'))
@endif |