From: Janusz Dobrowolski Date: Fri, 13 Oct 2017 09:04:22 +0000 (+0200) Subject: Added prepayment amount invoiced in Prepayment Invoice view. X-Git-Tag: v2.4.3~21^2~1 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=3fa7c52655bbe41028f941d7062487368bff1013 Added prepayment amount invoiced in Prepayment Invoice view. --- diff --git a/sales/view/view_invoice.php b/sales/view/view_invoice.php index 2c53b622..f605fc69 100644 --- a/sales/view/view_invoice.php +++ b/sales/view/view_invoice.php @@ -167,6 +167,9 @@ $display_total = price_format($myrow["ov_freight"]+$myrow["ov_gst"]+$myrow["ov_a label_row(_("TOTAL INVOICE"), $display_total, "colspan=6 align=right", "nowrap align=right"); +if ($myrow['prep_amount']) + label_row(_("PREPAYMENT AMOUNT INVOICED"), ''.price_format($myrow['prep_amount']).'', "colspan=6 align=right", + "nowrap align=right"); end_table(1); $voided = is_voided_display(ST_SALESINVOICE, $trans_id, _("This invoice has been voided."));