Update: 2026-05-08 14:35:20
This commit is contained in:
@@ -132,6 +132,7 @@ try {
|
||||
$db->commit();
|
||||
echo "Success: Created Invoice $invoiceId\n";
|
||||
|
||||
try {
|
||||
// Send silent push update for progress
|
||||
$stmt = $db->prepare("SELECT total_images, processed_images, uploaded_by FROM invoice_batches WHERE id = ?");
|
||||
$stmt->execute([$batchId]);
|
||||
@@ -145,7 +146,6 @@ try {
|
||||
'total' => $currentBatch['total_images']
|
||||
]);
|
||||
}
|
||||
|
||||
} catch (\Exception $pushErr) {
|
||||
echo "Push error: " . $pushErr->getMessage() . "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user