X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fdiscount.html;h=c2853bd47a557bf32f8c6435fd49de70faeb09d8;hb=ee6aef9f16f3c9b766ff41e5dc780d034858bb29;hp=4f440b2cbd6e25728c4aab349b6c55e8e90ddb83;hpb=4cacb3fa439b56fc7c9a742b69ec3f6ffd660433;p=freeside.git
diff --git a/httemplate/edit/discount.html b/httemplate/edit/discount.html
index 4f440b2cb..c2853bd47 100644
--- a/httemplate/edit/discount.html
+++ b/httemplate/edit/discount.html
@@ -3,6 +3,7 @@
'table' => 'discount',
'fields' => [
'name',
+ { field => 'classnum', type => 'select-discount_class' },
{ field => 'disabled', type => 'checkbox', value=>'Y', },
# a weird kind of false laziness
# w/elements/tr-select-discount.html
@@ -21,15 +22,20 @@
{ field => 'months', type => 'text', size => 2,
postfix => '
(blank for non-expiring discount)',
},
+ { field => 'setup', type => 'checkbox', value=>'Y', },
+ #{ field => 'linked', type => 'checkbox', value=>'Y', },
],
'labels' => {
'discountnum' => 'Discount #',
'name' => 'Name ',
+ 'classnum' => 'Class',
'disabled' => 'Disabled ',
'_type' => 'Type ',
'amount' => 'Amount ',
'percent' => 'Percentage ',
- 'months' => '# of Months',
+ 'months' => 'Duration (months)',
+ 'setup' => 'Apply to setup fees',
+ #'linked' => 'Apply to add-on packages',
},
'viewall_dir' => 'browse',
'new_callback' => $new_callback,
@@ -112,6 +118,10 @@ my $javascript = <