Wire Care lists into Ladill Queue workflows instead of reception panels.
Deploy Ladill Care / deploy (push) Successful in 1m45s

When Queue integration is on, role pages issue tickets into their own
department queues and drive Call next → Serve → Complete on the native
lists. Integration off leaves existing UI unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-17 16:27:48 +00:00
co-authored by Cursor
parent 15638d1672
commit 015a4cc7fe
38 changed files with 1857 additions and 196 deletions
@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
foreach (['care_appointments', 'care_prescriptions', 'care_investigation_requests', 'care_bills'] as $table) {
Schema::table($table, function (Blueprint $blueprint) {
$blueprint->string('queue_ticket_uuid', 36)->nullable()->after('uuid');
$blueprint->string('queue_ticket_number', 32)->nullable()->after('queue_ticket_uuid');
$blueprint->string('queue_ticket_status', 32)->nullable()->after('queue_ticket_number');
$blueprint->index('queue_ticket_uuid');
});
}
}
public function down(): void
{
foreach (['care_appointments', 'care_prescriptions', 'care_investigation_requests', 'care_bills'] as $table) {
Schema::table($table, function (Blueprint $blueprint) {
$blueprint->dropIndex(['queue_ticket_uuid']);
$blueprint->dropColumn(['queue_ticket_uuid', 'queue_ticket_number', 'queue_ticket_status']);
});
}
}
};