missing file
authorMark Wells <mark@freeside.biz>
Wed, 4 Sep 2013 21:20:28 +0000 (14:20 -0700)
committerMark Wells <mark@freeside.biz>
Wed, 4 Sep 2013 21:20:28 +0000 (14:20 -0700)
httemplate/view/svc_acct/router.html [new file with mode: 0644]

diff --git a/httemplate/view/svc_acct/router.html b/httemplate/view/svc_acct/router.html
new file mode 100644 (file)
index 0000000..59cfc86
--- /dev/null
@@ -0,0 +1,14 @@
+<%args>
+$svc_acct
+</%args>
+% if ( my $router = qsearchs('router', { svcnum => $svc_acct->svcnum }) ) {
+<& /view/elements/tr.html,
+  label => 'Attached router',
+  value => $router->routername
+&>
+% my $block = qsearchs('addr_block', { routernum => $router->routernum });
+<& /view/elements/tr.html,
+  label => 'Attached address block',
+  value => ($block ? $block->cidr : '<i>(none)</i>')
+&>
+% }