]> git.koha-community.org Git - koha.git/commit
Bug 18906: Display all funds the logged in user can use
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 6 Jul 2017 21:10:10 +0000 (18:10 -0300)
committerKatrin Fischer <katrin.fischer.83@web.de>
Fri, 15 Sep 2017 23:22:30 +0000 (01:22 +0200)
commit65eb8108509cc5c50a2e819585efe34bdb6f7ff3
tree4f12bb45acd5ff4bc3ebca290fb90e72337f1e9e
parentfc4a184a5fda8571a7548996d5813205d25e6e5f
Bug 18906: Display all funds the logged in user can use

There are complex conditions to know if a librarian can use a fund, we
cannot do that with a SQL query, we need to use C4::Budgets::CanUserUseBudget

When this patch is applied then all funds are visible to both
superlibrarian patrons and patrons with all acq permissions

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 19a7b498e1f4355ab1e4ee0adb5db299613f3f5c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d179da572b1d6bd7066d96f494aa805b86b92ae1)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
admin/aqbudgets.pl