diff options
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_main.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 72b84504f..124cbccca 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -6756,7 +6756,7 @@ Returns all batched payments (see L<FS::cust_pay_void>) for this customer. sub cust_pay_batch { my $self = shift; - sort { $a->_date <=> $b->_date } + sort { $a->paybatchnum <=> $b->paybatchnum } qsearch( 'cust_pay_batch', { 'custnum' => $self->custnum } ) } |