projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merging changes form main trunk 2.2.5-2.2.6
[fa-stable.git]
/
reporting
/
rep110.php
diff --git
a/reporting/rep110.php
b/reporting/rep110.php
index 5afa8b825f5be99aa0791c89253ad4e5263ad54e..3116978072c9c6c8fdb80dd29ba6ee6291423d01 100644
(file)
--- a/
reporting/rep110.php
+++ b/
reporting/rep110.php
@@
-105,6
+105,9
@@
function print_deliveries()
$SubTotal = 0;
while ($myrow2=db_fetch($result))
{
+ if ($myrow2["quantity"] == 0)
+ continue;
+
$Net = round2(((1 - $myrow2["discount_percent"]) * $myrow2["unit_price"] * $myrow2["quantity"]),
user_price_dec());
$SubTotal += $Net;