summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2004-12-31 08:47:08 +0000
committerivan <ivan>2004-12-31 08:47:08 +0000
commit658e271baebcdf077e5756735204f8f10567a0ad (patch)
tree1f3e2fa192582f48e8164c1d3d6594675b02880f /httemplate/edit
parenteb0fb11854244a8dcd154ecabc56befc8ff2913a (diff)
add ignore_unrateable flag to voip price plan
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index b3c389c9d..1790cdfeb 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -302,6 +302,12 @@ my $widget = new HTML::Widgets::SelectLayers(
? $plandata{$field}
: $href->{$field}{'default'} ).
qq!" onChange="fchanged(this)">!;
+ } elsif ( $href->{$field}{'type'} eq 'checkbox' ) {
+ $html .= qq!<INPUT TYPE="checkbox" NAME="$field" VALUE=1 !.
+ ( exists($plandata{$field}) && $plandata{$field}
+ ? ' CHECKED'
+ : ''
+ ). '>';
} elsif ( $href->{$field}{'type'} =~ /^select/ ) {
$html .= '<SELECT';
$html .= ' MULTIPLE'