]> git.koha-community.org Git - koha.git/commit
Bug 21604: Fix add/edit fund/budget
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 18 Oct 2018 21:10:19 +0000 (18:10 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 9 Nov 2018 16:36:44 +0000 (16:36 +0000)
commitbe3fec7132e015f241fa0f1ef95e0b95eebaaee8
tree266b5938857c205543e162ae443bbaa178019b77
parente1783e2c4adbce67642b264e5a14f14ac21e1a13
Bug 21604: Fix add/edit fund/budget

[Strict SQL modes context]

For insert aqbudgetperiods:
Incorrect integer value: '' for column 'budget_period_id'

For insert/update aqbudgets
Incorrect integer value: '' for column 'budget_owner_id'
Incorrect decimal value: '' for column 'budget_encumb'

Test plan:
Add/edit budgets and funds

A good example of why we should use Koha::Object for all our objects

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 7085772e8de25fe49b77555e318cc03ab6bcb33b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Budgets.pm