X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fview%2Fview_credit.php;h=f800c3a730ecaad9475ba87cbf4cabf411c5faf1;hb=2383d33373d6ddec06906658a0ed6398077c1147;hp=0ddf27f496c10148c710131b35a7f6e6b4b58658;hpb=818719f38b8327cdca616d58b13913dbd174d96a;p=fa-stable.git diff --git a/sales/view/view_credit.php b/sales/view/view_credit.php index 0ddf27f4..f800c3a7 100644 --- a/sales/view/view_credit.php +++ b/sales/view/view_credit.php @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ $page_security = 1; $path_to_root="../.."; @@ -96,7 +96,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"]), @@ -137,7 +137,7 @@ if ($sub_total != 0) "nowrap align=right width=15%"); label_row(_("Shipping"), $display_freight, "colspan=6 align=right", "nowrap align=right"); -$tax_items = get_customer_trans_tax_details(11, $trans_id); +$tax_items = get_trans_tax_details(11, $trans_id); display_customer_trans_tax_details($tax_items, 6); label_row("" . _("TOTAL CREDIT") . "