]> git.koha-community.org Git - koha.git/commit
Bug 24776: Remove Borrowers.HasOverdues call
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 Mar 2020 14:18:34 +0000 (17:18 +0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 16 Mar 2020 14:52:07 +0000 (14:52 +0000)
commite0483bd6e244fe81a858ad3e22cbd92fe2a83672
tree6d1c1049d698ffec5bda2fe3a60e4804f08af8a8
parentf4f841fd8ce5e21c1c84dba21dace6081451fa8b
Bug 24776: Remove Borrowers.HasOverdues call

Borrowers Template Toolkit plugin contains method HasOverdues that can be directly called from Koha::Patron object.

Test plan :
1) Go to circulation page of a patron with overdues
2) Click on print button
3) You see "Print overdues"
4) Go to circulation page of a patron without overdues
5) Click on print button
6) You don't see "Print overdues"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc