Commit 49ac9148 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Sort GL account listing

parent 2846ae05
# General ledger functions # General ledger functions
# Copyright (C) 2009-2014, AllWorldIT # Copyright (C) 2009-2020, AllWorldIT
# Copyright (C) 2008, LinuxRulz # Copyright (C) 2008, LinuxRulz
# Copyright (C) 2006-2007 Nigel Kukard <nkukard@lbsd.net> # Copyright (C) 2006-2007 Nigel Kukard <nkukard@lbsd.net>
# #
...@@ -541,6 +541,9 @@ sub getGLAccounts ...@@ -541,6 +541,9 @@ sub getGLAccounts
DBFreeRes($sth); DBFreeRes($sth);
# Sort account listing
@accounts = sort { $a->{'Number'} cmp $b->{'Number'} } @accounts;
return \@accounts; return \@accounts;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment