@extends('backend.master') @section('content')

Erin Loan Plans

Create, edit, delete and manage loan plans

Add New Plan
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@forelse($plans as $plan) @empty @endforelse
ID Term Amount Monthly Installment Interest Processing Status Actions
#{{ $plan->id }} {{ $plan->term_months }} Months ৳{{ number_format((float) $plan->amount, 0) }} ৳{{ number_format((float) $plan->monthly_installment, 0) }} {{ number_format((float) $plan->interest_rate_annual, 2) }}% {{ $plan->processing_time_hours }} Hours @if($plan->is_active) Active @else Inactive @endif
Edit
@csrf
@csrf @method('DELETE')
No loan plans found.
Showing {{ $plans->firstItem() ?? 0 }} - {{ $plans->lastItem() ?? 0 }} of {{ $plans->total() }}
{{ $plans->links() }}
@endsection