Commit 055a04e2 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'nkupdates' into 'master'

Sort GL account listing

See merge request !54
parents 02dc15b2 49ac9148
Pipeline #5240 passed with stages
in 3 minutes and 38 seconds
# 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