Optional alternate rate plan when accountcode is toll free, RT#8084
[freeside.git] / httemplate / edit / part_pkg.cgi
index c8b7ecb..deefa9c 100755 (executable)
@@ -563,6 +563,10 @@ my $html_bottom = sub {
         $html .= ' MULTIPLE'
           if $href->{$field}{'type'} eq 'select_multiple';
         $html .= qq! NAME="${layer}__$field">!;
+
+        $html .= '<OPTION VALUE="">'. $href->{$field}{'empty_label'}
+          if exists($href->{$field}{'disable_empty'})
+               && ! $href->{$field}{'disable_empty'};
   
         if ( $href->{$field}{'select_table'} ) {
           foreach my $record (