@extends('layouts.app') @section('title', 'Settings') @section('breadcrumb') @endsection @section('content') {{-- Settings Navigation --}}
General Receipt & Invoice Printers & Devices POS Settings Tax Settings Inventory Notifications Backup & Restore
{{-- General Settings --}}
Business Information
@csrf
@if($store->logo)
Logo
@endif
{{-- Receipt Settings --}}
Receipt & Invoice Settings
@csrf
{{-- Print Layout Settings --}}
Print Layout Settings
settings['show_logo_on_receipt'] ?? true) ? 'checked' : '' }}>
settings['show_tax_breakdown'] ?? true) ? 'checked' : '' }}>
settings['auto_print_receipt'] ?? false) ? 'checked' : '' }}>
settings['print_duplicate'] ?? false) ? 'checked' : '' }}>
{{-- Live Receipt Preview --}}
Live Preview

{{ $store->name }}

@if($store->address)

{{ $store->address }}

@endif @if($store->phone)

Tel: {{ $store->phone }}

@endif

Order: ORD-20240101-001
Date: {{ date('d/m/Y, H:i:s') }}
Cashier: {{ auth()->user()->name }}

Sample Product A
2 x Rs.500.00Rs.1,000.00
Sample Product B
1 x Rs.750.00Rs.750.00

SubtotalRs. 1,750.00
TOTALRs. 1,750.00
Paid (Cash)Rs. 2,000.00
ChangeRs. 250.00

{{-- Devices Settings --}}
{{-- Printer Settings --}}
Printer Configuration
Configure your printers below. Ceyloan POS supports USB, Network/IP, Bluetooth, and WiFi printers.
@csrf
@php $printers = $store->settings['printers'] ?? []; @endphp @forelse($printers as $index => $printer)
@empty

No printers configured. Click "Add Printer" to get started.

@endforelse
{{-- Barcode Scanner --}}
Barcode Scanner
@csrf
{{-- Card Reader --}}
Card Reader / Payment Terminal
@csrf
{{-- Cash Drawer --}}
Cash Drawer
@csrf
{{-- Customer Display --}}
Customer Display
@csrf
{{-- POS Settings --}}
Point of Sale Settings
@csrf
POS Behavior
{{-- Season Mode / Bill-Only Settings --}} @if(auth()->user()->isManager())
Season Mode (Bill-Only)
Season Mode

When enabled, all cashiers can process payments directly. When disabled, cashiers set to "Bill Only" mode will create bills without payment - a main cashier must approve and collect payment.

Use this during busy seasons (e.g., Avurudu) to allow faster checkout at all counters.

settings['season_mode'] ?? false) ? 'checked' : '' }} onchange="toggleSeasonMode(this.checked)" style="width: 3rem; height: 1.5rem;">
@if($store->settings['season_mode'] ?? false) Season Mode Active: All cashiers can process payments directly. @else Normal Mode: Bill-only cashiers create bills without payment. Main cashier approves payments. @endif
@endif
{{-- Tax Settings --}}
Tax Configuration
@csrf
@forelse($taxes as $tax) @empty @endforelse
Tax Name Rate (%) Type Apply To Status
is_active ? 'checked' : '' }}>
No taxes configured
{{-- Inventory Settings --}}
Inventory Settings
@csrf
Inventory Behavior
{{-- Notification Settings --}}
Notification Settings
@csrf
Email Notifications
System Alerts
{{-- Backup Settings --}}
Backup Data

Create a backup of your data. This includes products, customers, orders, and settings.

Download Backup
Restore Data

Restore data from a previous backup file. This will overwrite existing data.

@csrf
Warning: Restoring will replace existing data. Make sure to backup first!
Auto Backup
@csrf
Reset Data

Clear specific data from your system. Use with caution.

@push('styles') @endpush @push('scripts') @endpush @endsection