summaryrefslogtreecommitdiff
path: root/httemplate/elements/table-commissions.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-08-20 16:56:46 -0700
committerIvan Kohler <ivan@freeside.biz>2013-08-20 16:56:46 -0700
commit97c2b84e4a0ac12f203d7fa907e020d9ec784069 (patch)
tree3d0815e66c32ee6f6ccfb5d5793499b12b594304 /httemplate/elements/table-commissions.html
parent6db14d0fe65daec3d136edaa33a32a1fb24ba06a (diff)
continue sales person work: customer and package selection, commissions, reporting. RT#23402
Diffstat (limited to 'httemplate/elements/table-commissions.html')
-rw-r--r--httemplate/elements/table-commissions.html25
1 files changed, 24 insertions, 1 deletions
diff --git a/httemplate/elements/table-commissions.html b/httemplate/elements/table-commissions.html
index ce5808ded..b972ed927 100644
--- a/httemplate/elements/table-commissions.html
+++ b/httemplate/elements/table-commissions.html
@@ -18,6 +18,8 @@
% my $param = 'classnum'. $thing_pkg_class{classnum};
<TR>
+ <TD><% $pkg_class ? $pkg_class->classname : mt('(no package class)') |h %>:
+ </TD>
<TD><INPUT TYPE = "text"
NAME = "<% $param %>"
VALUE = "<% $cgi->param($param) || $thing_pkg_class->commission_percent |h %>"
@@ -25,7 +27,28 @@
MAXLENGTH = 7
>%
</TD>
- <TD><% $pkg_class ? $pkg_class->classname : mt('(no package class)') |h %>
+% if ( $opt{'show_duration'} ) {
+ <TD>
+ for <INPUT TYPE = "text"
+ NAME = "<% $param %>_duration"
+ VALUE = "<% $cgi->param($param.'_duration') || $thing_pkg_class->commission_duration |h %>"
+ SIZE = 2
+ MAXLENGTH = 3
+ >
+ months
+ </TD>
+% }
+ </TR>
+
+% }
+
+% if ( $opt{'show_duration'} ) {
+
+ <TR>
+ <TD COLSPAN=2>
+ </TD>
+ <TD>
+ <FONT SIZE="-2"><I>blank for no time limit</I></FONT>
</TD>
</TR>