X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=14c3f51e6867b2aa9925b51cab42d247999dcd28;hb=f19956cf9995fee8897542fafa6c7ec13afde381;hp=78752c081b05b6310c974d3be8e8d905615069cf;hpb=8142815f404a02df9ba3f92ad8e703a7355c5bcd;p=freeside.git diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 78752c081..14c3f51e6 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,16 @@ function bill_now_changed (what) { +% my $row = 0; +% # quotation details are handled by quotation_pkg_detail records, added via link from view/quotation.html +% # the details below get attached to the part_pkg record, and there's no way to edit that from quotations +% unless ($quotationnum) { <% mt('Optional additional description (also printed on invoice):') |h %> -% my $row = 0; -% foreach (@description) { +% foreach (@description) { @@ -348,8 +351,9 @@ function bill_now_changed (what) { > -% $row++; -% } +% $row++; +% } +% }