diff options
author | ivan <ivan> | 2009-10-22 12:50:05 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-10-22 12:50:05 +0000 |
commit | 09d3b99715ac707d64b1a06d8a2432b76ddb173d (patch) | |
tree | fb30940e8e62851814f1795dcfa98cabc2c4f56b /httemplate/edit/part_pkg.cgi | |
parent | 11e7e902c43e46585ccf43e67b11ed040f6655f7 (diff) |
restrict additinal package order option, RT#6029
Diffstat (limited to 'httemplate/edit/part_pkg.cgi')
-rwxr-xr-x | httemplate/edit/part_pkg.cgi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index 690e884db..fcde22bf6 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -29,6 +29,7 @@ 'pkg' => 'Package (customer-visible)', 'comment' => 'Comment (customer-hidden)', 'classnum' => 'Package class', + 'addon_classnum' => 'Restrict additional orders to package class', 'promo_code' => 'Promotional code', 'freq' => 'Recurring fee frequency', 'setuptax' => 'Setup fee tax exempt', @@ -76,6 +77,13 @@ onchange => 'agent_changed', }, {field=>'classnum', type=>'select-pkg_class' }, + ( $conf->exists('pkg-addon_classnum') + ? ( { field=>'addon_classnum', + type =>'select-pkg_class', + } + ) + : () + ), {field=>'disabled', type=>$disabled_type, value=>'Y'}, { type => 'tablebreak-tr-title', |