diff options
author | jeff <jeff> | 2010-03-04 05:31:27 +0000 |
---|---|---|
committer | jeff <jeff> | 2010-03-04 05:31:27 +0000 |
commit | a78537f28bba3c27b22158b29e5ee31e9a7d5bae (patch) | |
tree | 50b41bc281c7bb83c41f9e4e195f18a46f4e7a57 | |
parent | 1f036801a2595981d4cb712d4202c7d154d39027 (diff) |
always show the previous section when previous_balance-summary_only is enabled
-rw-r--r-- | FS/FS/cust_bill.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 0f08aaa51..85628fbf5 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -2630,7 +2630,9 @@ sub print_generic { $invoice_data{current_less_finance} = sprintf('%.2f', $self->charged - $invoice_data{finance_amount} ); - if ( $multisection && !$conf->exists('disable_previous_balance') ) { + if ( $multisection && !$conf->exists('disable_previous_balance') + || $conf->exists('previous_balance-summary_only') ) + { unshift @sections, $previous_section if $pr_total; } |