X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fdiscount.html;h=c2853bd47a557bf32f8c6435fd49de70faeb09d8;hp=b195eb37be41a5b7ea6529c2b2d191aca7d839e3;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=e774555a6ae69da65e7774c701232fdf9dd052b1 diff --git a/httemplate/edit/discount.html b/httemplate/edit/discount.html index b195eb37b..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 @@ -22,16 +23,19 @@ 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' => 'Duration (months)', 'setup' => 'Apply to setup fees', + #'linked' => 'Apply to add-on packages', }, 'viewall_dir' => 'browse', 'new_callback' => $new_callback, @@ -114,6 +118,10 @@ my $javascript = <