[freeside-commits] freeside/httemplate/browse part_bill_event.cgi, 1.9, 1.10

Ivan,,, ivan at wavetail.420.am
Wed Feb 1 15:13:51 PST 2006


Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail:/tmp/cvs-serv19329/httemplate/browse

Modified Files:
	part_bill_event.cgi 
Log Message:
finish adding freeside-monthly and monthly events

Index: part_bill_event.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_bill_event.cgi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- part_bill_event.cgi	31 Jan 2006 11:02:54 -0000	1.9
+++ part_bill_event.cgi	1 Feb 2006 23:13:48 -0000	1.10
@@ -32,7 +32,8 @@
      my $oldfreq = '';
 
      my @payby_part_bill_event =  grep { $payby eq $_->payby }
-                                  sort {    $a->seconds   <=> $b->seconds
+                                  sort {    $a->freq      cmp $b->freq # for now
+                                         || $a->seconds   <=> $b->seconds
                                          || $a->weight    <=> $b->weight
                                          || $a->eventpart <=> $b->eventpart
                                        }



More information about the freeside-commits mailing list