@extends('admin.layouts.app') @section('title', 'EMI CREDITS | Create Loan') @section('page-title', 'Create Loan') @section('page-description') Create and manage a new client loan @endsection @push('styles') @endpush @php $currencySettings = \App\Models\SystemSetting::query()->first(); $currencySymbol = $currencySettings?->currency_symbol ?? '₹'; $currencyDecimals = (int) ($currencySettings?->currency_decimal_places ?? 2); $currencyRound = (bool) ($currencySettings?->currency_round_display ?? false); /* |-------------------------------------------------------------------------- | Interest Settings |-------------------------------------------------------------------------- | | Interest ON/OFF is controlled from Loan Settings. | Each Loan Type has its own interest_rate. | */ $interestEnabled = (bool) ($settings->interest_enabled ?? false); @endphp @section('content')

Create Loan

Create a new loan for an existing client.

Back to Loans
{{-- ===================================================== ERROR ====================================================== --}} @if(session('error'))
{{ session('error') }}
@endif {{-- ===================================================== VALIDATION ERRORS ====================================================== --}} @if($errors->any())
Please correct the following:
@endif
@csrf {{-- ================================================= LOAN INFORMATION ================================================== --}}
Loan Information
{{-- CLIENT --}}
{{-- EMI CARD --}}
Select a client to view active EMI cards.
{{-- LOAN TYPE --}}
@if($interestEnabled) Interest: Select loan type @else Interest: 0% (Interest is disabled in Loan Settings) @endif
{{-- CARD SUMMARY --}}
Selected Card
Available Limit
Minimum Loan {{ money((float)($settings->minimum_loan_amount ?? 0)) }}
{{-- ================================================= LOAN AMOUNT & TENURE ================================================== --}}
Loan Amount & Tenure
{{-- LOAN AMOUNT --}}
{{ $currencySymbol }}
Maximum is the lower of the configured maximum and the selected card's available limit.
{{-- TENURE --}}
{{-- INTEREST ENABLE STATUS --}}
@if($interestEnabled) Enabled @else Disabled — 0% @endif
{{-- ================================================= LOAN TYPE DETAILS ================================================== --}}
Loan Type Details
Select a loan type to enter type-specific details.
{{-- DIGITAL PRODUCT --}}
{{-- GOLD --}}
{{-- PERSONAL --}}
{{-- VEHICLE --}}
{{-- BUSINESS --}}
{{-- EMERGENCY --}}
{{-- MEDICAL --}}
{{-- HOME --}}
{{-- OTHER --}}
{{-- ================================================= CALCULATION PREVIEW ================================================== --}}
Calculation Preview
{{-- AMOUNT --}}
Loan Amount {{ $currencySymbol }}0.00
{{-- INTEREST RATE --}}
Interest Rate {{ $interestEnabled ? '0%' : '0%' }}
{{-- INTEREST AMOUNT --}}
Interest Amount {{ $currencySymbol }}0.00
{{-- PROCESSING FEE --}}
Processing Fee {{ $currencySymbol }}0.00
{{-- TOTAL --}}
Total Payable {{ $currencySymbol }}0.00
{{-- EMI --}}
Estimated EMI {{ $currencySymbol }}0.00
Final calculation and validation are performed by the server using the existing loan calculation service.
{{-- ================================================= ACTIONS ================================================== --}}
Cancel
@endsection