X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=1ceefcb8163652e728b3c61cddb7b92d60ac4df8;hp=de427c18c54da6a652a9840bfd9e8ad6f48218a8;hb=de1462c50bb8f9c841d193accddd1e4a4e9390e6;hpb=83a67f4751c0ffe5a176a1a2043ad9f1f5a33c5c diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index de427c18c..1ceefcb81 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++; +% } +% }