Bug 15084: Make sure the previous active currency is marked as inactive
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 29 Oct 2015 15:31:39 +0000 (15:31 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 3 Mar 2016 20:39:00 +0000 (20:39 +0000)
commitb574b615919a6463708d4c1d7b1153a061c1ea0a
tree2372f6ab9e8e2d7c5526e98fd810802942d7afd8
parent6cd3975f64bd8cf31d626c6061d33f1974df9ea8
 Bug 15084: Make sure the previous active currency is marked as inactive

On inserting an active currency, others should be marked as inactive.
We can only have 1 active currency at the same time.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
Koha/Acquisition/Currency.pm