From 4d81e21107622f8731a6301c3c811108840582fd Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 22 Jul 2013 11:52:22 -0700 Subject: nibblebill integrateion, RT#19587 --- httemplate/elements/tr-cust_svc.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'httemplate/elements/tr-cust_svc.html') 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 ) % } -% # first column: recharge link +% # first column: (optional external balance and) recharge link +% if ( $part_svc->svcdb eq 'svc_phone' +% && ! $opt{no_links} +% ) +% { +% my( $html, $hashref ) = $svc_x->export_getstatus; +% if ( length($hashref->{'Balance'}) ) { #quelle hack + Balance: <% $hashref->{'Balance'} %>  +% } +% } % if ( $curuser->access_right('Recharge customer service') % && $part_svc->svcdb eq 'svc_acct' % && ! $opt{no_links} -- cgit v1.2.1