Bring Frontdesk service-queue console to Queue handoff parity.
Deploy Ladill Frontdesk / deploy (push) Successful in 47s

Match Care/Queue hand-off UX so visitors keep their ticket number across services.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-14 22:58:28 +00:00
co-authored by Cursor
parent 78694edaf7
commit 23c1dcb1c2
3 changed files with 105 additions and 38 deletions
+6 -2
View File
@@ -108,9 +108,13 @@ class QueueClient
/**
* @param array<string, mixed> $payload
* @return array<string, mixed>
*/
public function consoleAction(string $owner, string $counterUuid, array $payload): void
public function consoleAction(string $owner, string $counterUuid, array $payload): array
{
$this->http($owner)->post($this->base().'/counters/'.$counterUuid.'/console', $payload)->throw();
$response = $this->http($owner)->post($this->base().'/counters/'.$counterUuid.'/console', $payload);
$response->throw();
return (array) ($response->json('data') ?? []);
}
}