[freeside-commits] freeside/httemplate/elements tr-select-discount.html, 1.3, 1.4
Erik Levinson
levinse at wavetail.420.am
Fri Apr 29 05:10:22 PDT 2011
- Previous message: [freeside-commits] freeside/httemplate/edit/process cust_pkg_discount.html, 1.3, 1.4 quick-cust_pkg.cgi, 1.24, 1.25
- Next message: [freeside-commits] freeside/FS/FS Schema.pm, 1.239.2.35, 1.239.2.36 cust_pkg.pm, 1.179.2.22, 1.179.2.23 cust_pkg_discount.pm, 1.6.4.1, 1.6.4.2 discount.pm, 1.5, 1.5.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv24946/httemplate/elements
Modified Files:
tr-select-discount.html
Log Message:
apply discount to setup fees, part 1 of 2, RT11512
Index: tr-select-discount.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-discount.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- tr-select-discount.html 5 Feb 2010 02:39:31 -0000 1.3
+++ tr-select-discount.html 29 Apr 2011 12:10:20 -0000 1.4
@@ -64,6 +64,16 @@
)
%>
+ <% include( '/elements/tr-checkbox.html',
+ 'label' => '<B>Apply discount to setup fee</B>',
+ 'field' => $name.'_setup',
+ 'id' => $name.'_setup',
+ 'curr_value' => scalar($cgi->param($name.'_setup')),
+ 'value' => 'Y',
+ 'colspan' => $opt{'colspan'},
+ )
+ %>
+
<SCRIPT TYPE="text/javascript">
% my $ge = 'document.getElementById';
@@ -83,6 +93,10 @@
<% $ge %>('<% $name %>_months').style.visibility = '';
<% $ge %>('<% $name %>_months_postfix').style.display = '';
<% $ge %>('<% $name %>_months_postfix').style.visibility = '';
+ <% $ge %>('<% $name %>_setup_label0').style.display = '';
+ <% $ge %>('<% $name %>_setup_label0').style.visibility = '';
+ <% $ge %>('<% $name %>_setup').style.display = '';
+ <% $ge %>('<% $name %>_setup').style.visibility = '';
} else {
<% $ge %>('<% $name %>__type_label0').style.display = 'none';
@@ -111,6 +125,11 @@
<% $ge %>('<% $name %>_months_postfix').style.display = 'none';
<% $ge %>('<% $name %>_months_postfix').style.visibility = 'hidden';
+ <% $ge %>('<% $name %>_setup_label0').style.display = 'none';
+ <% $ge %>('<% $name %>_setup_label0').style.visibility = 'hidden';
+ <% $ge %>('<% $name %>_setup').style.display = 'none';
+ <% $ge %>('<% $name %>_setup').style.visibility = 'hidden';
+
}
}
- Previous message: [freeside-commits] freeside/httemplate/edit/process cust_pkg_discount.html, 1.3, 1.4 quick-cust_pkg.cgi, 1.24, 1.25
- Next message: [freeside-commits] freeside/FS/FS Schema.pm, 1.239.2.35, 1.239.2.36 cust_pkg.pm, 1.179.2.22, 1.179.2.23 cust_pkg_discount.pm, 1.6.4.1, 1.6.4.2 discount.pm, 1.5, 1.5.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list