Commented out fixaccounts (not used anywhere). Also improved getnextacctno.
authorJoe Atzberger <joe.atzberger@liblime.com>
Tue, 27 May 2008 23:05:57 +0000 (18:05 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 29 May 2008 12:04:37 +0000 (07:04 -0500)
commitf36b8fd59a68c621c4a394e5333dea736caa9bf6
tree22bd25c9ab1f642332bb7d0d61d449451730554d
parentdca0e73aedf96278052f0a095fa9ed1d2b5cf776
Commented out fixaccounts (not used anywhere). Also improved getnextacctno.

You can test getnextacctno like:
perl -e 'use C4::Accounts; print getnextacctno(33), "\n";'
where 33 is a borrowernumber out of the accountlines table.  Get that number like:
mysql> select borrowernumber,accountno from accountlines LIMIT 100;

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Accounts.pm
t/lib/KohaTest/Accounts.pm