projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00de593
)
missing file
author
Mark Wells
<mark@freeside.biz>
Wed, 4 Sep 2013 21:20:04 +0000
(14:20 -0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 4 Sep 2013 21:20:04 +0000
(14:20 -0700)
httemplate/view/svc_acct/router.html
[new file with mode: 0644]
patch
|
blob
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
+++ 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>')
+&>
+% }