Bug 23838: Add renewals modal
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Fri, 18 Oct 2019 07:56:21 +0000 (08:56 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Jul 2022 14:39:09 +0000 (11:39 -0300)
commit968c5865e71196bcda562d38be9db4e09b83ebb2
tree9df0a69fe66d492388574970431dd916b6d015db
parentb3c9e95face6b2b253d8af187be18ec3fbf541be
Bug 23838: Add renewals modal

This patch adds the display of the renewals modal when appropriate. A
"View" link is displayed next to renewals count where appropriate.
Clicking the link opens the modal that displays the logged renewals.

Sponsored-by: Loughborough University
Signed-off-by: Myka Kennedy Stephens <mkstephens@lancasterseminary.edu>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com>
Signed-off-by: Ben Veasey <B.T.Veasey@lboro.ac.uk>
Rescued-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
I rescued this patchset by squashing previous work and updating it to
utilise the new renewals API routes introduced in bug 30275.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-renewal-modal-strings.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/patron-renewal-modal.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt
koha-tmpl/intranet-tmpl/prog/js/patron-renewal-modal.js [new file with mode: 0644]
members/readingrec.pl