@extends('layouts.app') @section('title', 'System Settings') @section('content')
{{-- Page Header --}}

System Settings

Manage your pharmacy branding, contact info, and theme colors
@if(session('success')) @endif @if($errors->any()) @endif
@csrf
{{-- ===== Basic Information Card ===== --}}
Business Information
{{-- ===== Theme Colors Card ===== --}}
Theme Colors
{{ $settings['primary_color'] ?? '#1E3A8A' }}
{{ $settings['secondary_color'] ?? '#10B981' }}
{{-- Live Color Preview --}}
Primary
Secondary
Navbar Preview Admin User
{{-- ===== Logo Upload Card ===== --}}
System Logo
Used in sidebar, receipts, and login page
{{-- Current / Preview Image --}}
@if(isset($settings['logo'])) Current Logo Current @else

No logo uploaded

Logo Preview @endif
{{-- Upload Input --}}
JPG, PNG, SVG, WEBP — Max 2MB
{{-- File name display --}}
{{-- ===== Favicon Upload Card ===== --}}
Favicon
Browser tab icon (recommended: 64×64px)
{{-- Current / Preview Image --}}
@if(isset($settings['favicon'])) Current Favicon Current @else

No favicon

Favicon Preview @endif
{{-- Upload Input --}}
ICO, PNG, SVG — Max 1MB
{{-- File name display --}}
{{-- Save Button --}}
@endsection @section('scripts') @endsection