From 469e254d9c3dfbb2161a8d672b6c92227bc679dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Thu, 27 Nov 2025 20:45:31 +0100 Subject: [PATCH] csv fix --- REST/functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/REST/functions.php b/REST/functions.php index 1699a7e5..8a62b727 100644 --- a/REST/functions.php +++ b/REST/functions.php @@ -278,7 +278,7 @@ INNER JOIN ecminvoiceoutitems AS ii INNER JOIN ecmproducts AS p ON ii.ecmproduct_id = p.id AND p.deleted = 0 -INNER JOIN currencies AS cur +LEFT JOIN currencies AS cur ON cur.id = i.currency_id AND cur.deleted = 0 LEFT JOIN ecmproductcategories_bean AS cb @@ -324,7 +324,7 @@ INNER JOIN ecminvoiceoutitems AS ii INNER JOIN ecmproducts AS p ON ii.ecmproduct_id = p.id AND p.deleted = 0 -INNER JOIN currencies AS cur +LEFT JOIN currencies AS cur ON cur.id = i.currency_id AND cur.deleted = 0 LEFT JOIN ecmproductcategories_bean AS cb @@ -375,7 +375,7 @@ INNER JOIN ecmproducts AS p INNER JOIN ecminvoiceouts AS oi ON oi.id = i.ecminvoiceout_id AND oi.deleted = 0 -INNER JOIN currencies AS cur +LEFT JOIN currencies AS cur ON cur.id = i.currency_id AND cur.deleted = 0 LEFT JOIN ecmproductcategories_bean AS cb @@ -427,7 +427,7 @@ INNER JOIN ecmproducts AS p INNER JOIN ecminvoiceouts AS oi ON oi.id = i.ecminvoiceout_id AND oi.deleted = 0 -INNER JOIN currencies AS cur +LEFT JOIN currencies AS cur ON cur.id = i.currency_id AND cur.deleted = 0 LEFT JOIN ecmproductcategories_bean AS cb