X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=344030404ff23cea332eb5d5bc92ab424ccb3b2b;hb=6816a23d70984027517d33d6eb0ccd49ddd57704;hp=95ce60b1deae210440af44c068045eb60db448f8;hpb=0af38652da3b3be7da2d35b048285ef6f2194e1a;p=freeside.git diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index 95ce60b1d..344030404 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -104,18 +104,41 @@ % my $br = 0; % if ( $cust_bill->num_cust_event ) { $br++; ( <% mt('View invoice events') |h %> ) -% } +% } % if ( $cust_bill->num_cust_bill_event ) { $br++; ( <% mt('View deprecated, old-style invoice events') |h %> ) % } +% my @modes = grep {! $_->disabled} +% $cust_bill->cust_main->agent->invoice_modes; +% if ( @modes ) { +( <% mt('View as:') %> +