@extends('layouts.app') @section('title', 'Settings') @section('content')
System Settings

Manage your system settings and configurations

General Settings

Configure application name, timezone, currency, and display settings.

Configure
Store Information

Manage store details, contact information, and business settings.

Manage Store
@role('admin')
Tax Settings

Configure VAT rates, tax settings, and eTIMS integration.

Configure Taxes
@endrole
Backup & Restore

Create backups of your data or restore from previous backups.

Manage Backup
System Logs

View system logs, activity logs, and error reports.

View Logs
System Information

View system information, PHP configuration, and server details.

System Info

Quick Statistics
Total Users
{{ \App\Models\User::count() }}
Store Info
@if(\App\Models\StoreInformation::exists()) Configured @else Not Set @endif
Active Settings
{{ \App\Models\Setting::count() }}
Database Size
@php try { $size = \DB::select('SELECT SUM(data_length + index_length) / 1024 / 1024 as size FROM information_schema.TABLES WHERE table_schema = ?', [config('database.connections.mysql.database')]); echo round($size[0]->size ?? 0, 2) . ' MB'; } catch (\Exception $e) { echo 'N/A'; } @endphp
Last updated: {{ now()->format('Y-m-d H:i:s') }}
@endsection @push('styles') @endpush @push('scripts') @endpush