X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-cust_svc.html;h=cc5ec0f502e3453fe38b9cdf0fd4e65d6d46936f;hp=3710b27ffa0765a8a5e832d72e6f1aa8a54c6272;hb=4d81e21107622f8731a6301c3c811108840582fd;hpb=3107476389f090334fe1d92df6fab68c366408b4 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}