[freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.111, 1.112
Ivan,,,
ivan at wavetail.420.am
Thu Oct 22 05:50:07 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv4854/httemplate/edit
Modified Files:
part_pkg.cgi
Log Message:
restrict additinal package order option, RT#6029
Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_pkg.cgi,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- part_pkg.cgi 20 Jul 2009 14:26:12 -0000 1.111
+++ part_pkg.cgi 22 Oct 2009 12:50:05 -0000 1.112
@@ -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',
More information about the freeside-commits
mailing list