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