[freeside-commits] freeside/httemplate/browse nas.html, 1.1.2.2, 1.1.2.3
Mark Wells
mark at wavetail.420.am
Wed Dec 28 15:56:22 PST 2011
- Previous message: [freeside-commits] freeside/FS/FS Schema.pm, 1.317.2.25, 1.317.2.26 nas.pm, 1.9.12.3, 1.9.12.4 svc_broadband.pm, 1.24.2.8, 1.24.2.9
- Next message: [freeside-commits] freeside/httemplate/edit nas.html, 1.1.2.3, 1.1.2.4 part_export.cgi, 1.32.2.1, 1.32.2.2 svc_broadband.cgi, 1.24.2.2, 1.24.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv6000/httemplate/browse
Modified Files:
Tag: FREESIDE_2_3_BRANCH
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.2.2
retrieving revision 1.1.2.3
diff -u -w -d -r1.1.2.2 -r1.1.2.3
--- nas.html 14 Oct 2011 08:56:11 -0000 1.1.2.2
+++ nas.html 28 Dec 2011 23:56:19 -0000 1.1.2.3
@@ -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.317.2.25, 1.317.2.26 nas.pm, 1.9.12.3, 1.9.12.4 svc_broadband.pm, 1.24.2.8, 1.24.2.9
- Next message: [freeside-commits] freeside/httemplate/edit nas.html, 1.1.2.3, 1.1.2.4 part_export.cgi, 1.32.2.1, 1.32.2.2 svc_broadband.cgi, 1.24.2.2, 1.24.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list