@extends('admin.layouts.app') @section('content') @push('styles') @endpush
{{-- ===================================================== BACK ====================================================== --}} ← Back to Loan Management {{-- ===================================================== PAGE HEADING ====================================================== --}}

Loan Settings

Configure the rules used when clients calculate and apply for loans.

{{-- ===================================================== SUCCESS ====================================================== --}} @if(session('success'))
{{ session('success') }}
@endif {{-- ===================================================== ERRORS ====================================================== --}} @if($errors->any())
Please check the following:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT') {{-- ===================================================== LOAN SYSTEM ====================================================== --}}

Loan System

General availability
Accept new loan applications
Turn this off to temporarily stop clients from submitting new loan applications.
{{-- ===================================================== INTEREST & PROCESSING FEE ====================================================== --}}

Interest & Processing Fee

Current loan pricing
{{-- ================================================= INTEREST ON / OFF ================================================== --}}
Enable Interest
Turn this on to apply interest rates based on loan type. Keep it off for 0% interest loans.
{{-- ================================================= INTEREST STATUS ================================================== --}}
@if( old( 'interest_enabled', $settings->interest_enabled ?? false ) ) Interest Enabled @else 0% Interest Loan @endif
@if( old( 'interest_enabled', $settings->interest_enabled ?? false ) ) Loan interest will be calculated according to the selected loan type. @else Clients pay no interest on the principal amount. @endif
@if( old( 'interest_enabled', $settings->interest_enabled ?? false ) ) Interest is ON @else Interest is OFF @endif
{{-- ================================================= LOAN TYPE-WISE INTEREST RATES ================================================== --}}
Loan Type-wise Interest Rate
Set the annual interest rate for each active loan type.
@if(isset($loanTypes) && $loanTypes->count())
@foreach($loanTypes as $loanType)
{{ $loanType->name }}
@if($loanType->code)
{{ $loanType->code }}
@endif
%
@endforeach
Interest calculation
When Interest is ON, the above rate will be used according to the selected loan type. When Interest is OFF, all active loan types will be saved automatically at 0%.
@else
No active loan types found.
@endif
{{-- ================================================= GLOBAL INTEREST RATE COMPATIBILITY ================================================== --}} {{-- ================================================= PROCESSING FEE ================================================== --}}
Choose whether the fee is a fixed amount or a percentage of the loan amount.
For fixed fee, enter the amount in rupees.
@error('processing_fee')
{{ $message }}
@enderror
Example: Fixed ₹999 means every eligible loan has a ₹999 processing fee. Percentage 2% means a ₹50,000 loan has a ₹1,000 processing fee.
{{-- ===================================================== EMI CARD UNLOCK ====================================================== --}}

EMI Card Unlock

Card activation payment
This amount will be used for the “Unlock Card” payment on both the client and admin side.
@error('card_unlock_amount')
{{ $message }}
@enderror
Example
Set ₹199 here → Client shows Unlock Card ₹199 and Admin shows the same amount.
{{-- ===================================================== LOAN AMOUNT LIMITS ====================================================== --}}

Loan Amount Limits

Client application limits
Clients cannot apply below this amount.
This is also limited by the client's available EMI card limit.
{{-- ===================================================== ALLOWED TENURES ====================================================== --}}

Allowed Tenures

Select one or more
@php $selectedTenures = old( 'allowed_tenures', $settings->allowed_tenures ?? [] ); $availableTenures = [ 3, 6, 9, 12, 18, 24, 36, 48 ]; @endphp
@foreach( $availableTenures as $months )
@endforeach
Only selected tenures will be available on the client loan application page.
{{-- ===================================================== OVERDUE FINE ====================================================== --}}

Overdue Fine

Late EMI payment charges
{{-- FINE TYPE --}}
Choose how the overdue fine should be calculated.
@error('overdue_fine_type')
{{ $message }}
@enderror
{{-- FINE AMOUNT --}}
Fixed amount charged for overdue EMI.
@error('overdue_fine_amount')
{{ $message }}
@enderror
{{-- GRACE PERIOD --}}
Fine will start after this many days from the EMI due date.
@error('overdue_grace_days')
{{ $message }}
@enderror
{{-- MAXIMUM FINE --}}
Maximum fine allowed. Enter 0 for no maximum limit.
@error('overdue_max_fine')
{{ $message }}
@enderror
Example
Fixed ₹50 → ₹50 fine for an overdue EMI.
Percentage 2% → 2% of the overdue EMI amount.
Grace Period 3 days → Fine starts after 3 days overdue.
Maximum Fine ₹1,000 → Fine cannot exceed ₹1,000.
{{-- ===================================================== ACTIONS ====================================================== --}}
Cancel
{{-- ===================================================== PROCESSING FEE SCRIPT ====================================================== --}} {{-- ===================================================== OVERDUE FINE SCRIPT ====================================================== --}} {{-- ===================================================== INTEREST ON / OFF SCRIPT ====================================================== --}} @endsection