States in report rounding

This commit is contained in:
2025-02-06 11:59:34 +00:00
parent 7a0554fe67
commit dac814b926
2 changed files with 2 additions and 5 deletions

View File

@@ -127,7 +127,7 @@
pozycja.price_purchase*pozycja.quantity_corrected
END
) as koszt,
sum(s.quantity) AS 'state'
round(sum(s.quantity),0) AS 'state'
FROM
ecminvoiceoutitems pozycja
JOIN
@@ -156,9 +156,6 @@
}
$query .= "GROUP BY pozycja.id
COLLATE utf8_polish_ci;";
echo $query;
}else if ($searchBy=="contractor"){
$query = "SELECT