[freeside-commits] branch master updated. 0cf5ea1f85245f80e595f853b86aee03e3438042

Jonathan Prykop jonathan at 420.am
Sat Sep 19 17:37:14 PDT 2015


The branch, master has been updated
       via  0cf5ea1f85245f80e595f853b86aee03e3438042 (commit)
      from  15278bb4dcfaf4bdb79c7f8781320e24ef8f1e7d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0cf5ea1f85245f80e595f853b86aee03e3438042
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Sat Sep 19 19:36:55 2015 -0500

    RT#36813: Monthly Recurring Total [fixed order by]

diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
index f7ea68a..0c9f74a 100644
--- a/httemplate/view/cust_main/billing.html
+++ b/httemplate/view/cust_main/billing.html
@@ -44,7 +44,7 @@
 %       'hashref'   => { 'custnum' => $cust_main->custnum, },
 %       'extra_sql' => 'AND ( cancel IS NULL OR cancel = 0 )
 %                       AND freq = '. dbh->quote($freq),
-%       'order_by'  => 'ORDER BY pkgnum', # to ensure old pkgs come before change_to_pkg
+%       'order_by'  => 'ORDER BY COALESCE(start_date,0), pkgnum', # to ensure old pkgs come before change_to_pkg
 %     }) or next;
 % 
 %     my $freq_pretty = $cust_pkg[0]->part_pkg->freq_pretty;

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/cust_main/billing.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list