Deploy Ladill Queue / deploy (push) Successful in 56s
Phases 1–6: tickets, counters, displays, appointments, workflows, rules, analytics, reports, feedback, admin, device API, and Gitea deploy workflow for queue.ladill.com. Co-authored-by: Cursor <cursoragent@cursor.com>
37 lines
2.4 KiB
PHP
37 lines
2.4 KiB
PHP
<x-app-layout title="Settings">
|
|
<div class="mx-auto max-w-lg">
|
|
<h1 class="text-2xl font-semibold">Organization settings</h1>
|
|
<form method="POST" action="{{ route('qms.settings.update') }}" class="mt-6 space-y-4 rounded-2xl border bg-white p-6 dark:border-slate-700 dark:bg-slate-900">
|
|
@csrf @method('PUT')
|
|
<div><label class="block text-sm font-medium">Organization name</label>
|
|
<input name="name" value="{{ $organization->name }}" @disabled(! $canManage) required class="mt-1 w-full rounded-lg border-slate-300 text-sm">
|
|
</div>
|
|
<div><label class="block text-sm font-medium">Timezone</label>
|
|
<input name="timezone" value="{{ $organization->timezone }}" @disabled(! $canManage) required class="mt-1 w-full rounded-lg border-slate-300 text-sm">
|
|
</div>
|
|
<div><label class="block text-sm font-medium">Appointment mode</label>
|
|
<select name="appointment_mode" @disabled(! $canManage) class="mt-1 w-full rounded-lg border-slate-300 text-sm">
|
|
@foreach ($appointmentModes as $v => $l)
|
|
<option value="{{ $v }}" @selected(($organization->settings['appointment_mode'] ?? 'hybrid') === $v)>{{ $l }}</option>
|
|
@endforeach
|
|
</select>
|
|
</div>
|
|
<div><label class="block text-sm font-medium">Industry</label>
|
|
<select name="industry" @disabled(! $canManage) class="mt-1 w-full rounded-lg border-slate-300 text-sm">
|
|
@foreach ($industries as $v => $l)
|
|
<option value="{{ $v }}" @selected(($organization->settings['industry'] ?? '') === $v)>{{ $l }}</option>
|
|
@endforeach
|
|
</select>
|
|
</div>
|
|
<label class="flex items-center gap-2 text-sm">
|
|
<input type="checkbox" name="notifications_enabled" value="1" @checked($organization->settings['notifications_enabled'] ?? true) @disabled(! $canManage)>
|
|
Enable SMS/email queue notifications
|
|
</label>
|
|
@if ($canManage)
|
|
<button type="submit" class="btn-primary w-full">Save settings</button>
|
|
@endif
|
|
</form>
|
|
<p class="mt-4 text-sm text-slate-600">{{ $branchCount }} branch{{ $branchCount === 1 ? '' : 'es' }} configured.</p>
|
|
</div>
|
|
</x-app-layout>
|