X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fdiscount.html;h=c2853bd47a557bf32f8c6435fd49de70faeb09d8;hp=4f440b2cbd6e25728c4aab349b6c55e8e90ddb83;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=4cacb3fa439b56fc7c9a742b69ec3f6ffd660433 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 = <