summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-09-04 14:20:28 -0700
committerMark Wells <mark@freeside.biz>2013-09-04 14:20:28 -0700
commit0f9ba3cb4bccfe3bcd2b085698f88938cd94bdf4 (patch)
treeeb81cf231e27c0620b3d7808738d0cdabe073ac8
parentf1a024ad18faf7246176f7679f0443e0377785b6 (diff)
missing file
-rw-r--r--httemplate/view/svc_acct/router.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/view/svc_acct/router.html b/httemplate/view/svc_acct/router.html
new file mode 100644
index 000000000..59cfc86e8
--- /dev/null
+++ b/httemplate/view/svc_acct/router.html
@@ -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>')
+&>
+% }