States in report rounding
This commit is contained in:
@@ -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
|
||||
@@ -157,9 +157,6 @@
|
||||
$query .= "GROUP BY pozycja.id
|
||||
COLLATE utf8_polish_ci;";
|
||||
|
||||
echo $query;
|
||||
|
||||
|
||||
}else if ($searchBy=="contractor"){
|
||||
$query = "SELECT
|
||||
faktura.parent_name as 'name',
|
||||
|
||||
@@ -329,7 +329,7 @@
|
||||
{/if}
|
||||
{if $searchBy=="product"}
|
||||
<td class="oddListRowS1 alignLeft" >{$ROW.code}</td>
|
||||
<td class="oddListRowS1 alignLeft" >{$ROW.state}</td>
|
||||
<td class="oddListRowS1 alignRight" >{$ROW.state}</td>
|
||||
{/if}
|
||||
<td class="oddListRowS1" >{$ROW.ilosc|number_format:0:",":"."}</td>
|
||||
<td class="oddListRowS1" >{$ROW.netto|number_format:2:",":"."}</td>
|
||||
|
||||
Reference in New Issue
Block a user