@extends('admin.layouts.app') @section('title', 'Settings') @section('page-title', 'Settings') @section('page-description', 'Manage system settings') @section('content')
{{-- ========================================================= PAGE HEADER ========================================================== --}}
⚙️

System Settings

Control currency and amount display preferences used across the application.

{{-- ========================================================= SUCCESS MESSAGE ========================================================== --}} @if(session('success'))
{{ session('success') }}
@endif {{-- ========================================================= VALIDATION ERRORS ========================================================== --}} @if($errors->any())
Please check the following:
@endif {{-- ========================================================= CURRENCY & AMOUNT SETTINGS ========================================================== --}}
💰

Currency & Amount Settings

Configure how currency and amounts are displayed throughout the system.

@csrf @method('PUT') {{-- ================================================= SETTINGS GRID ================================================== --}}
{{-- Currency Code --}}
Example: INR, USD, AED, EUR, GBP
{{-- Currency Symbol --}}
Example: ₹, $, €, £, د.إ
{{-- Decimal Places --}}
Example: 2 decimals → ₹500.00
{{-- Round Amount --}}
Enable amount rounding
Example: ₹16.01 → ₹16 when enabled.
{{-- ================================================= PREVIEW ================================================== --}}
Amount Preview
This preview updates instantly based on the currency symbol, decimal places and rounding option selected above. It does not change any loan or payment calculation.
{{ $settings->currency_symbol ?? '₹' }}500.00
{{-- ================================================= SAVE BUTTON ================================================== --}}
@endsection