projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added prepayment amount invoiced in Prepayment Invoice view.
[fa-stable.git]
/
sales
/
view
/
view_invoice.php
diff --git
a/sales/view/view_invoice.php
b/sales/view/view_invoice.php
index 2c53b622a5a6cfc0a18866d0dfeff999ec405c2b..f605fc6934084e7bd384a62366dc5d9dad5c4a1e 100644
(file)
--- 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");
label_row(_("TOTAL INVOICE"), $display_total, "colspan=6 align=right",
"nowrap align=right");
+if ($myrow['prep_amount'])
+ label_row(_("PREPAYMENT AMOUNT INVOICED"), '<b>'.price_format($myrow['prep_amount']).'</b>', "colspan=6 align=right",
+ "nowrap align=right");
end_table(1);
$voided = is_voided_display(ST_SALESINVOICE, $trans_id, _("This invoice has been voided."));
end_table(1);
$voided = is_voided_display(ST_SALESINVOICE, $trans_id, _("This invoice has been voided."));