@extends('layouts.admin') @section('content')
{{-- Header --}}

โš™๏ธ Settings

Configure your POS system settings

{{-- Success/Error Messages --}} @if(session('success'))
โœ… {{ session('success') }}
@endif @if(session('error'))
โŒ {{ session('error') }}
@endif @if($errors->any())
@endif {{-- Tabbed Interface --}}
value ?? 'Mahagalkadawala, Galgamuwa')) }}', shopPhone: '{{ addslashes($settings['shop_phone']->value ?? '0779294928') }}', shopEmail: '{{ addslashes($settings['shop_email']->value ?? '') }}', shopWebsite: '{{ addslashes($settings['shop_website']->value ?? '') }}', showEmail: {{ ($settings['receipt_show_email']->value ?? '1') == '1' ? 'true' : 'false' }}, showWebsite: {{ ($settings['receipt_show_website']->value ?? '1') == '1' ? 'true' : 'false' }}, receiptSlogan: '{{ addslashes($settings['receipt_slogan']->value ?? 'Best Products at Lowest Price') }}', receiptSpecialText: '{{ addslashes(str_replace(["\r", "\n"], '\n', $settings['receipt_special_text']->value ?? 'Warranty is subject to manufacturer terms.')) }}', thermalHeader: '{{ addslashes(str_replace(["\r", "\n"], '\n', $settings['thermal_header']->value ?? '')) }}', thermalFooter: '{{ addslashes(str_replace(["\r", "\n"], '\n', $settings['thermal_footer']->value ?? '')) }}', thermalShowLogo: {{ ($settings['thermal_show_logo']->value ?? '0') == '1' ? 'true' : 'false' }}, paperWidth: '{{ $settings['thermal_paper_width']->value ?? '80' }}' }" class="bg-white rounded-2xl shadow-sm border border-slate-200"> {{-- Tab Headers --}}
{{-- Tab Content --}}
{{-- Left Column: Form Controls --}}
{{-- Shop Information Tab --}}
@csrf
{{-- Logo Upload --}}

Shop Logo

@csrf @if($settings['shop_logo']->value ?? false)
Shop Logo
@endif
{{-- Thermal Receipt Tab --}}
@csrf
{{-- Receipt Header Image Upload --}}

Receipt Header Image

Upload an image to replace the text header on the receipt.

@csrf @if($settings['thermal_header_image']->value ?? false)

Current Header Image:

Receipt Header
@endif
{{-- Security Tab --}}
{{-- Password Change --}}

Change Password

@csrf
{{-- Session Timeout --}}

Session Settings

@csrf
{{-- System Tab --}}
{{-- System Actions --}}

System Actions

@csrf
@csrf
{{-- System Information --}}

System Information

Laravel Version
{{ $systemInfo['laravel_version'] }}
PHP Version
{{ $systemInfo['php_version'] }}
Database Size
{{ $systemInfo['database_size'] }}
Disk Usage
{{ $systemInfo['disk_usage'] }}
Total Products
{{ number_format($systemInfo['total_products']) }}
Total Invoices
{{ number_format($systemInfo['total_invoices']) }}
{{-- End Left Column --}} {{-- Persistent Live Preview Box (Right Column) --}}

Live Invoice Preview

{{-- Thermal Bill Mock --}}
{{-- Optional Header Image/Logo --}}
[LOGO]
{{-- Custom Thermal Header --}}
Invoice No: COL01-260711-00022026-07-11 12:00
Cashier: Admin UserCust: Walk-in
Qty Price Total
Samsung Galaxy
1 x 21,000.00 21,000.00
New 12 Months Warranty
Subtotal:21,000.00
TOTAL:LKR 21,000.00

{{-- Custom Thermal Footer --}}

Software by Camellia Network - 0710875417

{{-- End Right Column --}}
{{-- End Grid Container --}}
@endsection