X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fbilling.html;h=aeebc5ab2b46a1c273280d4d5b8e4b0f6eeeb74a;hp=6c4524476f113877c24c7b7af68e8cba30bc5715;hb=b9229d6233a5ecaa894c5ed7035cf2743ee6c295;hpb=073207439e4d49538b1b9111b8f03eb65d5a423c diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index 6c4524476..aeebc5ab2 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -33,8 +33,7 @@ 'subs' => [ 'get_display_recurring'] &> +% # 10 is an arbitrary number, use ajax for customers with many packages +% if ( $cust_main->num_billing_pkgs > 10 ) { +<& '/elements/xmlhttp.html', + 'url' => $fsurl.'misc/xmlhttp-cust_main-display_recurring.html', + 'subs' => [ 'get_display_recurring'] &> + +% } else { + +% } + % if ( $conf->exists('cust_main-select-prorate_day') ) { <% mt('Prorate day of month') |h %>