[freeside-commits] freeside/httemplate/browse nas.html,1.1,1.2
Mark Wells
mark at wavetail.420.am
Wed Dec 28 15:55:34 PST 2011
- Previous message: [freeside-commits] freeside/FS/FS Schema.pm, 1.345, 1.346 nas.pm, 1.12, 1.13 svc_broadband.pm, 1.32, 1.33
- Next message: [freeside-commits] freeside/httemplate/edit nas.html, 1.2, 1.3 part_export.cgi, 1.33, 1.34 svc_broadband.cgi, 1.26, 1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv5724/httemplate/browse
Modified Files:
nas.html
Log Message:
broadband_nas export, #15284
Index: nas.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/nas.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- nas.html 14 Oct 2011 08:56:04 -0000 1.1
+++ nas.html 28 Dec 2011 23:55:32 -0000 1.2
@@ -28,6 +28,14 @@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
-my $link = [ $p.'edit/nas.html?', 'nasnum' ];
+my $link = sub {
+ my $nas = shift;
+ if ( $nas->svcnum ) {
+ return [ $p.'view/svc_broadband.cgi?', 'svcnum' ];
+ }
+ else {
+ return [ $p.'edit/nas.html?', 'nasnum' ];
+ }
+};
</%init>
- Previous message: [freeside-commits] freeside/FS/FS Schema.pm, 1.345, 1.346 nas.pm, 1.12, 1.13 svc_broadband.pm, 1.32, 1.33
- Next message: [freeside-commits] freeside/httemplate/edit nas.html, 1.2, 1.3 part_export.cgi, 1.33, 1.34 svc_broadband.cgi, 1.26, 1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list