Deploy Ladill Care / deploy (push) Failing after 13s
Healthcare management app: patients, appointments, consultations, lab, pharmacy inventory, billing, and reports at care.ladill.com. Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
1.6 KiB
PHP
29 lines
1.6 KiB
PHP
<x-app-layout title="Add team member">
|
|
<div class="mx-auto max-w-lg">
|
|
<h1 class="text-xl font-semibold text-slate-900">Add team member</h1>
|
|
<p class="mt-2 text-sm text-slate-600">Enter the Ladill user public ID (UUID) from their account profile.</p>
|
|
<form method="POST" action="{{ route('care.members.store') }}" class="mt-6 space-y-4 rounded-2xl border border-slate-200 bg-white p-6">
|
|
@csrf
|
|
<div><label class="block text-sm font-medium">User public ID</label><input type="text" name="user_ref" required class="mt-1 w-full rounded-lg border-slate-300 font-mono text-sm"></div>
|
|
<div>
|
|
<label class="block text-sm font-medium">Role</label>
|
|
<select name="role" class="mt-1 w-full rounded-lg border-slate-300 text-sm">
|
|
@foreach ($roles as $value => $label)
|
|
<option value="{{ $value }}">{{ $label }}</option>
|
|
@endforeach
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label class="block text-sm font-medium">Branch (optional)</label>
|
|
<select name="branch_id" class="mt-1 w-full rounded-lg border-slate-300 text-sm">
|
|
<option value="">All branches</option>
|
|
@foreach ($branches as $branch)
|
|
<option value="{{ $branch->id }}">{{ $branch->name }}</option>
|
|
@endforeach
|
|
</select>
|
|
</div>
|
|
<button type="submit" class="btn-primary w-full">Save</button>
|
|
</form>
|
|
</div>
|
|
</x-app-layout>
|