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.2 KiB
PHP
21 lines
1.2 KiB
PHP
<x-app-layout title="Register device">
|
|
<div class="mx-auto max-w-lg">
|
|
<form method="POST" action="{{ route('qms.devices.store') }}" class="space-y-4 rounded-2xl border bg-white p-6">
|
|
@csrf
|
|
<div><label class="block text-sm font-medium">Name</label><input name="name" required class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
|
|
<div><label class="block text-sm font-medium">Type</label>
|
|
<select name="type" class="mt-1 w-full rounded-lg border-slate-300 text-sm">
|
|
@foreach ($deviceTypes as $k => $v)<option value="{{ $k }}">{{ $v }}</option>@endforeach
|
|
</select>
|
|
</div>
|
|
<div><label class="block text-sm font-medium">Branch</label>
|
|
<select name="branch_id" class="mt-1 w-full rounded-lg border-slate-300 text-sm">
|
|
<option value="">—</option>
|
|
@foreach ($branches as $b)<option value="{{ $b->id }}">{{ $b->name }}</option>@endforeach
|
|
</select>
|
|
</div>
|
|
<button type="submit" class="btn-primary w-full">Register</button>
|
|
</form>
|
|
</div>
|
|
</x-app-layout>
|