From: Janusz Dobrowolski Date: Tue, 9 Dec 2008 10:31:57 +0000 (+0000) Subject: Fixed to hide empty credit note lines. X-Git-Tag: 2.3-final~1358 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=952e85a507cf73c18307839782a523a6b343c3a2;p=fa-stable.git Fixed to hide empty credit note lines. --- diff --git a/sales/view/view_credit.php b/sales/view/view_credit.php index 05e73eb0..8a31c0cc 100644 --- a/sales/view/view_credit.php +++ b/sales/view/view_credit.php @@ -87,7 +87,7 @@ if (db_num_rows($result) > 0) while ($myrow2 = db_fetch($result)) { - + if ($myrow2["quantity"] == 0) continue; alt_table_row_color($k); $value = round2(((1 - $myrow2["discount_percent"]) * $myrow2["unit_price"] * $myrow2["quantity"]),