Update: 2026-05-07 02:08:54

This commit is contained in:
Hamza-Ayed
2026-05-07 02:08:54 +03:00
parent 57ac6047b8
commit 272971fc5b

View File

@@ -31,7 +31,7 @@ try {
$stmt = $db->prepare("
SELECT q.*, b.tenant_id, b.company_id, b.uploaded_by
FROM invoice_processing_queue q
JOIN invoice_batches b ON q.batch_id = b.id
JOIN invoice_batches b ON q.batch_id = b.id COLLATE utf8mb4_unicode_ci
WHERE q.status = 'pending' AND b.status = 'processing'
ORDER BY q.created_at ASC
LIMIT 1