From 1a6ed52a5281b62f757d13be18a120ddc8330d62 Mon Sep 17 00:00:00 2001 From: Hamza-Ayed Date: Fri, 8 May 2026 01:04:27 +0300 Subject: [PATCH] Update: 2026-05-08 01:04:27 --- app/cron/process_batches.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cron/process_batches.php b/app/cron/process_batches.php index b0cfe10..e51acfb 100644 --- a/app/cron/process_batches.php +++ b/app/cron/process_batches.php @@ -111,7 +111,7 @@ try { // Save Lines if (!empty($extracted['lines'])) { - $lineStmt = $db->prepare("INSERT INTO invoice_lines (id, invoice_id, line_number, description, quantity, unit_price, tax_rate, total_amount) VALUES (?,?,?,?,?,?,?,?)"); + $lineStmt = $db->prepare("INSERT INTO invoice_lines (id, invoice_id, line_number, description, quantity, unit_price, tax_rate, line_total) VALUES (?,?,?,?,?,?,?,?)"); foreach ($extracted['lines'] as $idx => $line) { $lineStmt->execute([ vsprintf('%s%s-%s-%s-%s-%s%s%s', str_split(bin2hex(random_bytes(16)), 4)),