@extends('Component.layout') @section('title', 'System Settings - Iqra Super Admin') @section('breadcrumb', 'System Settings') @section('content') @php $activeTab = session('active_tab', 'profile'); @endphp
{{-- Page Header --}}

System Settings

Configure your school management system options.

Back to Dashboard
{{-- Success / Error Alert --}} @if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
@endif {{-- Main Settings Grid --}}
{{-- Left: Tab Menu --}}
{{-- Section Label --}}
Account
Configuration
{{-- Right: Tab Panels --}}
{{-- ============================ TAB: My Profile ============================= --}}
{{ strtoupper(substr($user->name, 0, 1)) }}

{{ $user->name }}

{{ $user->email }}

Super Admin
@csrf
{{-- ============================ TAB: Email Configuration ============================= --}}

Email / SMTP Configuration

Configure the outgoing mail server for system emails, notifications, and reports.

@csrf
{{-- Info notice --}}

These settings configure the system email service. Ensure your SMTP credentials are correct before saving.

{{-- ============================ TAB: Payment Configuration ============================= --}}

Payment Gateway Configuration

Set up fee collection, tuition payments, and gateway credentials.

{{-- Gateway Selector Cards --}}
@foreach([ ['id' => 'stripe', 'label' => 'Stripe', 'color' => 'indigo'], ['id' => 'paypal', 'label' => 'PayPal', 'color' => 'blue'], ['id' => 'razorpay', 'label' => 'Razorpay', 'color' => 'sky'], ] as $gw) @endforeach
@csrf

Keep your secret key private. Never expose it in frontend code or version control.

{{-- ============================ TAB: QR Code Generator ============================= --}}

QR Code Generator

Generate QR codes for school IDs, payment links, admission forms, and more.

{{-- Generator Form --}}
@csrf
@foreach([ ['Text / URL', 'url'], ['Student ID', 'student'], ['Payment Link', 'payment'], ['Admission Form','admission'], ] as $type) @endforeach
{{-- QR Code Preview --}}
@if(session('qr_url'))
Generated QR Code
QR Code

{{ session('qr_text') }}

@else

Your QR code preview

Enter content and click Generate

@endif
{{-- ============================ TAB: System Info ============================= --}}

System Information

Technical details about this installation of Iqra School Management.

@foreach([ ['Application Name', config('app.name', 'Iqra SMS')], ['Laravel Version', app()->version()], ['PHP Version', PHP_VERSION], ['Environment', strtoupper(app()->environment())], ['Debug Mode', config('app.debug') ? 'Enabled' : 'Disabled'], ['App URL', config('app.url')], ['Timezone', config('app.timezone')], ['Database Driver', config('database.default')], ] as [$label, $value])
{{ $label }} @if($label === 'Environment') {{ $value }} @elseif($label === 'Debug Mode') {{ $value }} @else {{ $value }} @endif
@endforeach

Iqra School Management System

Version 1.0.0 • Built with Laravel {{ app()->version() }}

Active
{{-- end right col --}}
{{-- end grid --}}
@endsection