[freeside-commits] branch master updated. ac19a70d9484310aa4f5f107914425668a3fa78e
Jonathan Prykop
jonathan at 420.am
Mon Apr 13 20:42:31 PDT 2015
The branch, master has been updated
via ac19a70d9484310aa4f5f107914425668a3fa78e (commit)
from a179189cab28d3c1b7ae0101df5c1a95c4a72003 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ac19a70d9484310aa4f5f107914425668a3fa78e
Author: Jonathan Prykop <jonathan at freeside.biz>
Date: Mon Apr 13 22:42:09 2015 -0500
RT#34494: Add routername to advanced wireless broadband report
diff --git a/httemplate/search/svc_broadband.cgi b/httemplate/search/svc_broadband.cgi
index 8561977..ad1a2c5 100755
--- a/httemplate/search/svc_broadband.cgi
+++ b/httemplate/search/svc_broadband.cgi
@@ -10,6 +10,7 @@
'Router',
@tower_header,
'IP Address',
+ 'Attached Router',
FS::UI::Web::cust_header($cgi->param('cust_fields')),
],
'fields' => [ 'svcnum',
@@ -20,6 +21,11 @@
},
@tower_fields,
'ip_addr',
+ sub {
+ my $svc = shift;
+ my $router = qsearchs('router', { svcnum => $svc->svcnum });
+ return $router ? $router->routername : '';
+ },
\&FS::UI::Web::cust_fields,
],
'links' => [ $link,
@@ -27,11 +33,12 @@
'', #$link_router,
(map '', @tower_fields),
$link,
+ '',
( map { $_ ne 'Cust. Status' ? $link_cust : '' }
FS::UI::Web::cust_header($cgi->param('cust_fields'))
),
],
- 'align' => 'rll'.('r' x @tower_fields).'r'.
+ 'align' => 'rll'.('r' x @tower_fields).'rl'.
FS::UI::Web::cust_aligns(),
'color' => [
'',
@@ -39,6 +46,7 @@
'',
(map '', @tower_fields),
'',
+ '',
FS::UI::Web::cust_colors(),
],
'style' => [
@@ -47,6 +55,7 @@
'',
(map '', @tower_fields),
'',
+ '',
FS::UI::Web::cust_styles(),
],
-----------------------------------------------------------------------
Summary of changes:
httemplate/search/svc_broadband.cgi | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list