Bug 4333 Fix erroneous message re Active Currency
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 30 Apr 2010 08:46:01 +0000 (09:46 +0100)
committerGalen Charlton <gmcharlt@gmail.com>
Fri, 30 Apr 2010 09:42:05 +0000 (05:42 -0400)
commit7604bf89f549143ac04f95fc86c5b8ab8390a731
tree809d6a7207ad3fd4ac4271a5175a6ee76d95354a
parent50375be1f288f53e0d52bce5b19c8618229f323c
Bug 4333 Fix erroneous message re Active Currency

Script was incorrectly asking user to define an active currency
Now test for active currency in the standard way
Use the currency routines in Budgets where applicable
Move the code paths in the if else to subroutines to clarify flow
Enable warnings

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
admin/currency.pl