X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fdiscount.html;h=9bcd1e72431a21ddec23561ff326c0b7aac077fc;hb=431c9ca4fab151862bd24322bf8a1f9252fb38fc;hp=24d8fa507ba26173dec8ac345e6c32b89fbde1de;hpb=0fcdc36642e1430f02ebf5326740e231883bd41f;p=freeside.git
diff --git a/httemplate/edit/discount.html b/httemplate/edit/discount.html
index 24d8fa507..9bcd1e724 100644
--- a/httemplate/edit/discount.html
+++ b/httemplate/edit/discount.html
@@ -4,6 +4,8 @@
'fields' => [
'name',
{ field => 'disabled', type => 'checkbox', value=>'Y', },
+ # a weird kind of false laziness
+ # w/elements/tr-select-discount.html
{ field => '_type', type => 'select',
options => \@_type_options,
onchange => '_type_changed',
@@ -19,6 +21,8 @@
{ 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 #',
@@ -27,7 +31,9 @@
'_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,
@@ -110,6 +116,10 @@ my $javascript = <