summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_pkg.cgi
diff options
context:
space:
mode:
authorivan <ivan>2010-07-13 22:55:07 +0000
committerivan <ivan>2010-07-13 22:55:07 +0000
commit4b839572abcdc6341e8c0f3cf85eb232ac2b4609 (patch)
treef3dd20311c2820d204c0ec50cd911a640292d696 /httemplate/edit/part_pkg.cgi
parent99af479c12baf1f7da52e06841f0ac4f4832d766 (diff)
Optional alternate rate plan when accountcode is toll free, RT#8084
Diffstat (limited to 'httemplate/edit/part_pkg.cgi')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index c8b7ecb58..deefa9cc1 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -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 (