@@ -, +, @@
- Check out to a patron and check the holds tab
- View patron details and check the holds tab
- Patron hold history
- Patron details -> Print -> Print summary
- Place a hold on a title which already has at least one hold on it,
check the table of existing holds.
- Log in to the OPAC as a patron with holds
- Your summary -> Holds tab
- Your holds history (OPACHoldsHistory must be enabled).
---
.../intranet-tmpl/prog/en/includes/holds_table.inc | 8 +++--
.../prog/en/modules/circ/circulation.tt | 1 +
.../prog/en/modules/members/holdshistory.tt | 41 +++++++++++++---------
.../prog/en/modules/members/moremember-print.tt | 8 +++--
.../prog/en/modules/members/moremember.tt | 1 +
koha-tmpl/intranet-tmpl/prog/js/holds.js | 5 ++-
.../bootstrap/en/includes/holds-table.inc | 36 ++++++++++---------
.../bootstrap/en/modules/opac-holdshistory.tt | 20 ++++++-----
8 files changed, 74 insertions(+), 46 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
@@ -12,7 +12,9 @@
Patron
Notes
Date
-
Expiration
+ [% IF Koha.Preference('ReserveExpiration') %]
+
Expiration
+ [% END %]
Pickup library
Details
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
@@ -117,7 +119,9 @@
[% hold.date | $KohaDates %]
[% END %]
-
+ [% IF Koha.Preference('ReserveExpiration') %]
+
+ [% END %]
[% IF ( hold.found ) %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -1094,6 +1094,7 @@
relatives_borrowernumbers.push("[% b | html %]");
[% END %]
var SuspendHoldsIntranet = [% ( Koha.Preference('SuspendHoldsIntranet') ) ? 1 : 0 | html %];
+ var ReserveExpiration = [% ( Koha.Preference('ReserveExpiration') ) ? 1 : 0 | html %];
[% Asset.js("js/pages/circulation.js") | $raw %]
[% Asset.js("js/checkouts.js") | $raw %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt
@@ -48,9 +48,7 @@