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

Settings

Everything here is configurable at runtime — no code changes or redeploys needed.

@csrf @method('PUT')

Whichever of these you fill in is printed on every receipt and bill, so customers know where to pay.

Shift variances beyond this amount are highlighted for manager review.

When happy hour is on, every product and service added to an order or tab is priced this percentage lower. Items already on an order keep the price they were added at.

@foreach ([1 => 'Mon', 2 => 'Tue', 3 => 'Wed', 4 => 'Thu', 5 => 'Fri', 6 => 'Sat', 7 => 'Sun'] as $n => $label) @endforeach

Times are {{ config('pos.company.timezone') }} time. A window past midnight (e.g. 18:00 – 01:00) works.

@if ($mpesa['configured'])
M-Pesa is connected ({{ $mpesa['env'] }}).

Callback URL registered with each request: {{ $mpesa['callback_url'] }}

@else
M-Pesa is not set up yet.

Add the Safaricom Daraja keys to the server’s .env file (the M-Pesa block in .env.example), then run php artisan config:clear. Keys are kept in the file, not in this screen, so they never sit in the database.

@endif
{{-- Logo --}}

Business logo

Shown on the sign-in screen, the sidebar, and printed receipts.

@if ($general['logo_path']) Current logo @else
{{ substr($general['company_name'], 0, 1) }}
@endif
@csrf
@if ($general['logo_path'])
@csrf @method('DELETE')
@endif

PNG, JPG or WEBP, up to 2MB. Square images look best.

{{-- Theme --}}

Colour theme

Applies everywhere immediately — sign-in screen, buttons, badges — no restart needed.

@csrf @method('PUT')
@foreach ($theme['presets'] as $key => $p) @endforeach

Departments

@foreach ($departments as $dept) {{ $dept->name }} @endforeach

Each department automatically gets its own dashboard tile, store, and P&L line. Manage tables, categories and levies per department from their respective screens.

@endsection