@extends('layouts.app') @section('title', 'Loan Products') @section('content')

Loan Products

@if(Auth::user()->hasPermission('loans.create')) Add Product @endif
@forelse($loanProducts as $product)
{{ $product->name }}

{{ $product->description }}

Interest Rate: {{ $product->interest_rate }}%
Min Amount: ${{ number_format($product->min_amount, 2) }}
Max Amount: ${{ number_format($product->max_amount, 2) }}
Min Duration: {{ $product->min_duration_months }} months
Max Duration: {{ $product->max_duration_months }} months
Status: {{ $product->is_active ? 'Active' : 'Inactive' }}
@empty

No loan products found.

@if(Auth::user()->hasPermission('loans.create')) Create First Product @endif
@endforelse
@endsection