@extends('layouts.app') @php($value = fn ($key, $default = '') => $settings->get($key)?->value ?? $default) @section('title', 'System Settings') @section('subtitle', 'School identity, finance and training rules') @section('content')
@csrf @method('PUT')

School identity

@error('school_name')
{{ $message }}
@enderror
@error('school_email')
{{ $message }}
@enderror

Finance & training

Use KSh for Kenyan Shillings.
%

M-Pesa (Daraja)

STK push & callback
Leave secrets blank to keep the saved value. Public callback: {{ route('mpesa.callback') }} — expose it through your tunnel or public host in production.

SMS gateway

Africa's Talking
With the log provider, messages are recorded as sent but never leave the server — ideal for demos.

School logo

@if ($schoolLogo) School logo @else
@endif @error('logo')
{{ $message }}
@enderror
PNG or JPG up to 2 MB.
The school name appears in the sidebar, login page and emails. Currency symbol is used across invoices and analytics.
@endsection