'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',
{ field => 'months', type => 'text', size => 2,
postfix => '<BR><FONT SIZE="-1"><I>(blank for non-expiring discount)</I></FONT>',
},
+ { field => 'setup', type => 'checkbox', value=>'Y', },
],
'labels' => {
'discountnum' => 'Discount #',
'_type' => 'Type ',
'amount' => 'Amount ',
'percent' => 'Percentage ',
- 'months' => '# of Months',
+ 'months' => 'Duration (months)',
+ 'setup' => 'Apply to setup fees',
},
'viewall_dir' => 'browse',
'new_callback' => $new_callback,