diff options
Diffstat (limited to 'httemplate/elements')
-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} |