X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fdiscount.html;h=c2853bd47a557bf32f8c6435fd49de70faeb09d8;hb=67d171a04ecbccbfd7d5fc2f1be2810299008c15;hp=24d8fa507ba26173dec8ac345e6c32b89fbde1de;hpb=0fcdc36642e1430f02ebf5326740e231883bd41f;p=freeside.git diff --git a/httemplate/edit/discount.html b/httemplate/edit/discount.html index 24d8fa507..c2853bd47 100644 --- a/httemplate/edit/discount.html +++ b/httemplate/edit/discount.html @@ -3,7 +3,10 @@ '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 { field => '_type', type => 'select', options => \@_type_options, onchange => '_type_changed', @@ -19,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, @@ -110,6 +118,10 @@ my $javascript = <