From 305196a8632844f0224ed58b59aae51e4c6a80cc Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 15 Dec 2015 03:55:44 -0600 Subject: [PATCH] RT#39201 Quotation Descriptions --- httemplate/edit/quick-charge.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 78752c081..4d87fab28 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -1,5 +1,5 @@ <& /elements/header-popup.html, mt('One-time charge'), '', - ( $cgi->param('error') ? '' : 'onload="addRow()"' ), + ( ($quotationnum || $cgi->param('error')) ? '' : 'onload="addRow()"' ), &> @@ -327,13 +327,14 @@ function bill_now_changed (what) { +% my $row = 0; +% unless ($quotationnum) { <% mt('Optional additional description (also printed on invoice):') |h %> -% my $row = 0; -% foreach (@description) { +% foreach (@description) { @@ -348,8 +349,9 @@ function bill_now_changed (what) { > -% $row++; -% } +% $row++; +% } +% } -- 2.11.0