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