projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add double-click prevention to discount popup/form, RT#73799, and clarify labels
[freeside.git]
/
httemplate
/
edit
/
cust_pkg_discount.html
diff --git
a/httemplate/edit/cust_pkg_discount.html
b/httemplate/edit/cust_pkg_discount.html
index
e1e3dae
..
79c3478
100755
(executable)
--- a/
httemplate/edit/cust_pkg_discount.html
+++ b/
httemplate/edit/cust_pkg_discount.html
@@
-1,13
+1,17
@@
<& /elements/header-popup.html, "Discount Package" &>
<& /elements/error.html &>
<& /elements/header-popup.html, "Discount Package" &>
<& /elements/error.html &>
-<FORM NAME="DiscountPkgForm" ACTION="<% $p %>edit/process/cust_pkg_discount.html" METHOD=POST>
+<FORM NAME = "DiscountPkgForm"
+ ACTION = "<% $p %>edit/process/cust_pkg_discount.html"
+ METHOD = POST
+ onSubmit = "document.DiscountPkgForm.submit.disabled=true;"
+>
<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<% $pkgnum %>">
<% ntable('#cccccc') %>
<TR>
<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<% $pkgnum %>">
<% ntable('#cccccc') %>
<TR>
- <TH ALIGN="right">
Current p
ackage </TH>
+ <TH ALIGN="right">
P
ackage </TH>
<TD COLSPAN=7>
<% $curuser->option('show_pkgnum') ? $cust_pkg->pkgnum.': ' : '' %><B><% $part_pkg->pkg |h %></B> - <% $part_pkg->comment |h %>
</TD>
<TD COLSPAN=7>
<% $curuser->option('show_pkgnum') ? $cust_pkg->pkgnum.': ' : '' %><B><% $part_pkg->pkg |h %></B> - <% $part_pkg->comment |h %>
</TD>
@@
-18,6
+22,8
@@
curr_value_recur => $recur_discountnum,
disable_setup => $disable_setup,
disable_recur => $disable_recur,
curr_value_recur => $recur_discountnum,
disable_setup => $disable_setup,
disable_recur => $disable_recur,
+ setup_label => emt('Setup fee discount'),
+ recur_label => emt('Recurring fee discount'),
&>
</TABLE>
&>
</TABLE>