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>
21 lines
1.1 KiB
PHP
21 lines
1.1 KiB
PHP
<x-app-layout title="Counters">
|
|
<div class="mb-6 flex justify-between">
|
|
<h1 class="text-2xl font-semibold">Counters</h1>
|
|
<a href="{{ route('qms.counters.create') }}" class="btn-primary">New counter</a>
|
|
</div>
|
|
<div class="grid gap-4 md:grid-cols-2">
|
|
@foreach ($counters as $counter)
|
|
<div class="rounded-2xl border bg-white p-5 dark:border-slate-700 dark:bg-slate-900">
|
|
<div class="flex justify-between">
|
|
<h2 class="font-semibold">{{ $counter->name }}</h2>
|
|
<span class="text-sm capitalize">{{ $counter->status }}</span>
|
|
</div>
|
|
<p class="mt-1 text-sm text-slate-500">{{ $counter->branch?->name }}</p>
|
|
<p class="mt-2 text-sm">Queues: {{ $counter->serviceQueues->pluck('name')->join(', ') ?: '—' }}</p>
|
|
<a href="{{ route('qms.console.show', $counter) }}" class="btn-primary mt-4 inline-block text-sm">Open console</a>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
<div class="mt-4">{{ $counters->links() }}</div>
|
|
</x-app-layout>
|