summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-12-15 03:55:44 -0600
committerJonathan Prykop <jonathan@freeside.biz>2015-12-19 00:58:49 -0600
commit8f002272a3e5dab09c0df7ef5bad6dc712a4c0ad (patch)
tree028238182f61f7cc8ea694b1662a2cb62853fbe4
parent39e94017fa012d970f281099858ccceb997fa6b5 (diff)
RT#39201 Quotation Descriptions
-rw-r--r--httemplate/edit/quick-charge.html12
1 files 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()"' ),
&>
<LINK REL="stylesheet" TYPE="text/css" HREF="<%$fsurl%>elements/calendar-win2k-2.css" TITLE="win2k-2">
@@ -327,13 +327,14 @@ function bill_now_changed (what) {
</TD>
</TR>
+% my $row = 0;
+% unless ($quotationnum) {
<TR>
<TD></TD>
<TD><FONT SIZE="-1"><% mt('Optional additional description (also printed on invoice):') |h %> </FONT></TD>
</TR>
-% my $row = 0;
-% foreach (@description) {
+% foreach (@description) {
<TR>
<TD></TD>
<TD>
@@ -348,8 +349,9 @@ function bill_now_changed (what) {
>
</TD>
</TR>
-% $row++;
-% }
+% $row++;
+% }
+% }
</TABLE>