[freeside-commits] freeside/httemplate/edit svc_dsl.cgi,1.5,1.6
Erik Levinson
levinse at wavetail.420.am
Mon Jan 10 14:00:12 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv5189/httemplate/edit
Modified Files:
svc_dsl.cgi
Log Message:
add VPI/VCI fields to svc_dsl, RT5059
Index: svc_dsl.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_dsl.cgi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- svc_dsl.cgi 7 Dec 2010 19:04:43 -0000 1.5
+++ svc_dsl.cgi 10 Jan 2011 22:00:10 -0000 1.6
@@ -55,7 +55,7 @@
# 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 @@
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 @@
},
);
+ if ( scalar(@exports) == 1 ) {
my $export = @exports[0];
if($export->exporttype eq 'ikano') {
my $ddd = $cust_pkg->start_date;
@@ -120,8 +120,8 @@
}
# 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>
More information about the freeside-commits
mailing list