diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-07-22 11:52:22 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-07-22 11:52:22 -0700 |
commit | 4d81e21107622f8731a6301c3c811108840582fd (patch) | |
tree | 1ba3e9be4969d7877695742c0208983b381d7836 /httemplate/elements/tr-cust_svc.html | |
parent | 3107476389f090334fe1d92df6fab68c366408b4 (diff) |
nibblebill integrateion, RT#19587
Diffstat (limited to 'httemplate/elements/tr-cust_svc.html')
-rw-r--r-- | httemplate/elements/tr-cust_svc.html | 11 |
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: <b><% $hashref->{'Balance'} %></b> </FONT> +% } +% } % if ( $curuser->access_right('Recharge customer service') % && $part_svc->svcdb eq 'svc_acct' % && ! $opt{no_links} |