update csv queries
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user