kohabug 2390 Setting default fund for new orders
authorChris Nighswonger <chris.nighswonger@liblime.com>
Fri, 25 Jul 2008 15:37:49 +0000 (10:37 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 27 Jul 2008 11:10:09 +0000 (06:10 -0500)
commita6c829e2bf706379305d4aa961e3cc29653b8bd4
tree3dbf0b9acb38c3a462d28889d092af8d332ae9ed
parent4f3df5d1d2b19bd6e6b5a6e6784006f5cc6980a7
kohabug 2390 Setting default fund for new orders

If a new order was created and no fund selected, a db error was thrown due to the
'bookfundid' field being set to NULL. This patch sets the first fund retrieved from
available funds as the default selection in the scrolling list.

A further enhancement might be to allow the library to choose which fund is the
default fund.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
acqui/neworderempty.pl