Add queue kiosk and display devices for Care Queue management.
Deploy Ladill Care / deploy (push) Successful in 39s
Deploy Ladill Care / deploy (push) Successful in 39s
Register walk-up kiosks and waiting-room display devices under Devices, with public kiosk ticket issue and linked TV boards surfaced in sidebar and Queue shortcuts. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,26 +1,33 @@
|
||||
<x-app-layout title="Devices">
|
||||
<div class="space-y-6">
|
||||
<x-care.page-hero
|
||||
badge="Scanners · Vitals · Lab agents"
|
||||
badge="Queue · Scanners · Agents"
|
||||
title="Devices"
|
||||
description="Branch inventory for barcode scanners (browser wedge) and agent-connected clinical devices. USB scanners work in the browser; serial/BLE hardware needs the Care Device Agent."
|
||||
description="Register queue kiosks and waiting displays, plus barcode scanners and agent-connected clinical hardware."
|
||||
:stats="[
|
||||
['value' => number_format($heroStats['total']), 'label' => 'Devices'],
|
||||
['value' => number_format($heroStats['kiosks'] ?? 0), 'label' => 'Kiosks'],
|
||||
['value' => number_format($heroStats['displays'] ?? 0), 'label' => 'Displays'],
|
||||
['value' => number_format($heroStats['online']), 'label' => 'Online'],
|
||||
['value' => number_format($heroStats['agent']), 'label' => 'Agent-linked'],
|
||||
]">
|
||||
@if ($canManage)
|
||||
<x-slot name="actions">
|
||||
@if ($hasQueueDevices ?? false)
|
||||
<a href="{{ route('care.devices.create', ['type' => 'kiosk']) }}" class="btn-secondary">Add kiosk</a>
|
||||
<a href="{{ route('care.devices.create', ['type' => 'display']) }}" class="btn-secondary">Add display</a>
|
||||
@endif
|
||||
<a href="{{ route('care.devices.create') }}" class="btn-primary">Add device</a>
|
||||
</x-slot>
|
||||
@endif
|
||||
</x-care.page-hero>
|
||||
|
||||
<div class="rounded-2xl border border-sky-100 bg-sky-50 px-4 py-3 text-sm text-sky-900">
|
||||
<p class="font-medium">How devices connect</p>
|
||||
<p class="font-medium">Queue devices vs clinical devices</p>
|
||||
<ul class="mt-1 list-disc space-y-1 pl-5 text-sky-800/90">
|
||||
<li><strong>Barcode / QR scanners</strong> — USB keyboard wedge works in Patients and Lab today. Free on all plans.</li>
|
||||
<li><strong>Thermometers, BP, SpO₂, scales, analyzers</strong> — need a local Care Device Agent (Pro / Enterprise). See docs/devices.md.</li>
|
||||
<li><strong>Queue kiosk</strong> — walk-up ticket issue on a tablet (Pro).</li>
|
||||
<li><strong>Queue display</strong> — registers a waiting-room TV board URL (Pro).</li>
|
||||
<li><strong>Barcode / QR scanners</strong> — USB keyboard wedge in Patients and Lab (all plans).</li>
|
||||
<li><strong>Vitals / analyzers</strong> — Care Device Agent (Pro).</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user