summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorlevinse <levinse>2011-01-10 22:00:10 +0000
committerlevinse <levinse>2011-01-10 22:00:10 +0000
commit878e77215666e79591eff1ac67eb119994a08d05 (patch)
tree4e51c3bb972f7f2ed5bb3b550227b7e17b263c25 /httemplate
parentc34d1fcd9b979bb3598c32dfab4b6d79ccd5a010 (diff)
add VPI/VCI fields to svc_dsl, RT5059
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/svc_dsl.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/edit/svc_dsl.cgi b/httemplate/edit/svc_dsl.cgi
index 7493d98b9..9b4d1c77d 100644
--- a/httemplate/edit/svc_dsl.cgi
+++ b/httemplate/edit/svc_dsl.cgi
@@ -55,7 +55,7 @@ my $edit_cb = sub {
# else add any other export-specific stuff here
}
else {
- # XXX allow editing everything
+ push @fields, qw( first last company phonenum circuitnum rate_band vpi vci );
}
};
@@ -65,7 +65,6 @@ my $new_cb = sub {
die "more than one DSL-pulling export attached to svcpart ".$part_svc->svcpart
if ( scalar(@exports) > 1 );
- if ( scalar(@exports) == 1 ) {
my $cust_main = $cust_pkg->cust_main;
my $defsvctn = $cust_main->ship_daytime ? $cust_main->ship_daytime
: $cust_main->daytime;
@@ -90,6 +89,7 @@ my $new_cb = sub {
},
);
+ if ( scalar(@exports) == 1 ) {
my $export = @exports[0];
if($export->exporttype eq 'ikano') {
my $ddd = $cust_pkg->start_date;
@@ -120,8 +120,8 @@ my $new_cb = sub {
}
# else add any other export-specific stuff here
}
- else {
- # XXX display everything when no exports attached
+ else { # display non-export and non-Ikano fields
+ push @fields, qw( rate_band circuitnum vpi vci );
}
};
</%init>