Add service-point routing so call-next cannot steal assigned tickets.
Deploy Ladill Queue / deploy (push) Successful in 2m17s

Counters gain destination/staff metadata; tickets can be pre-assigned to a
service point with assigned_only queues for healthcare while shared_pool
preserves generic bank/government behavior. Display and announcements expose
ticket, staff, and destination clearly for Care and public boards.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-17 17:21:56 +00:00
co-authored by Cursor
parent 2d1f8c1eff
commit 0854b431bc
17 changed files with 753 additions and 42 deletions
+10 -1
View File
@@ -19,7 +19,8 @@ class Counter extends Model
protected $fillable = [
'uuid', 'owner_ref', 'organization_id', 'branch_id', 'department_id',
'name', 'code', 'status', 'settings', 'is_active',
'name', 'code', 'destination', 'staff_ref', 'staff_display_name',
'status', 'settings', 'is_active',
];
protected function casts(): array
@@ -30,6 +31,14 @@ class Counter extends Model
];
}
/** Public display label (Room 4, Counter 2, etc.). Falls back to name. */
public function displayDestination(): string
{
$destination = trim((string) ($this->destination ?? ''));
return $destination !== '' ? $destination : (string) $this->name;
}
protected static function booted(): void
{
static::creating(function (self $counter) {