From 0caa2351d8a540a387ac818d4a65d275a2dbe864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Mon, 10 Nov 2025 07:47:51 +0000 Subject: [PATCH] update csv queries --- REST/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/REST/functions.php b/REST/functions.php index e96f8055..e385d9b5 100644 --- a/REST/functions.php +++ b/REST/functions.php @@ -246,7 +246,7 @@ function brecho($msg) } function createCSVReports() { - generateProductComponentsCSV(); + // generateProductComponentsCSV(); $db = $GLOBALS['db']; $exportDir = __DIR__ . "/export"; @@ -270,7 +270,7 @@ function createCSVReports() GROUP_CONCAT(c.name ORDER BY cb.position SEPARATOR ' | ') AS category, ii.quantity, ii.price_netto, - cur.name AS currency_name, + cur.name AS currency_name FROM ecminvoiceouts AS i INNER JOIN ecminvoiceoutitems AS ii ON i.id = ii.ecminvoiceout_id INNER JOIN ecmproducts AS p ON ii.ecmproduct_id = p.id @@ -311,7 +311,7 @@ ORDER BY i.register_date DESC; GROUP_CONCAT(c.name ORDER BY cb.position SEPARATOR ' | ') AS category, ii.quantity, ii.price_netto, - cur.name AS currency_name, + cur.name AS currency_name FROM ecminvoiceouts AS i INNER JOIN ecminvoiceoutitems AS ii ON i.id = ii.ecminvoiceout_id INNER JOIN ecmproducts AS p ON ii.ecmproduct_id = p.id