X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=4822ab718391f6a0f2f96014bf71d4c2986eb0b4;hb=eb3bd392a89b8b666dc512951e78913c05b98810;hp=a8b4ac15cfaabc4ee7edb8eeb8d96b2ad7ba3bb1;hpb=ce1b61e7d65317a74f680afb4cb8d8306e14fa5f;p=freeside.git diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index a8b4ac15c..4822ab718 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -104,12 +104,35 @@ % 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:') %> +