summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-cust_svc.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-07-22 11:52:22 -0700
committerIvan Kohler <ivan@freeside.biz>2013-07-22 11:52:22 -0700
commit4d81e21107622f8731a6301c3c811108840582fd (patch)
tree1ba3e9be4969d7877695742c0208983b381d7836 /httemplate/elements/tr-cust_svc.html
parent3107476389f090334fe1d92df6fab68c366408b4 (diff)
nibblebill integrateion, RT#19587
Diffstat (limited to 'httemplate/elements/tr-cust_svc.html')
-rw-r--r--httemplate/elements/tr-cust_svc.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/httemplate/elements/tr-cust_svc.html b/httemplate/elements/tr-cust_svc.html
index 3710b27ff..cc5ec0f50 100644
--- a/httemplate/elements/tr-cust_svc.html
+++ b/httemplate/elements/tr-cust_svc.html
@@ -60,8 +60,17 @@ $cust_svc->overlimit )
</TR>
% }
<TR>
-% # first column: recharge link
+% # first column: (optional external balance and) recharge link
<TD ALIGN="right" VALIGN="top" STYLE="padding-bottom:5px; padding-top:0px">
+% if ( $part_svc->svcdb eq 'svc_phone'
+% && ! $opt{no_links}
+% )
+% {
+% my( $html, $hashref ) = $svc_x->export_getstatus;
+% if ( length($hashref->{'Balance'}) ) { #quelle hack
+ <FONT SIZE="-1">Balance:&nbsp;<b><% $hashref->{'Balance'} %></b>&nbsp;</FONT>
+% }
+% }
% if ( $curuser->access_right('Recharge customer service')
% && $part_svc->svcdb eq 'svc_acct'
% && ! $opt{no_links}