Koha/koha-tmpl
Jonathan Druart 19e318c545
Bug 37247: Fix display of "closed"
The subscription was not shown as closed after we closed it.
This is because "closed" is not passed to the template.
It seems more reliable to rely on the subscription object (that is passed to both
serials/serials-collection.tt and serials/subscription-detail.tt, the
others are not showing the Reopen/Close buttons)

Also fetch the subscription object after and reopen/close it to display
accurate values.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-08-01 17:26:38 +02:00
..
intranet-tmpl Bug 37247: Fix display of "closed" 2024-08-01 17:26:38 +02:00
opac-tmpl Bug 36566: Correct eslint errors in OPAC enhanced content JS 2024-07-25 11:02:38 +01:00