From 66b35f505b2b5c02ebf76b820742caacb0c2ed9e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 25 Nov 2021 14:28:03 +0000 Subject: [PATCH] Bug 28854: Enable claims return view when BundleLostValue is set This patch adds the alternation of BundleLostValue to enable the return claims functionality when Bundles are enbled. Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/circ/circulation.tt | 8 ++++---- .../intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index f433448406..9a3131d730 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -842,7 +842,7 @@ [% END %] - [% IF Koha.Preference('ClaimReturnedLostValue') %] + [% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %]
  • [% IF ( patron.return_claims.count ) %] @@ -970,7 +970,7 @@ [% END %] - [% IF Koha.Preference('ClaimReturnedLostValue') %] + [% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %] [% INCLUDE 'patron-return-claims.inc' %] [% END %] @@ -1006,7 +1006,7 @@ - [% IF Koha.Preference('ClaimReturnedLostValue') %] + [% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %] [% INCLUDE 'modals/resolve_return_claim.inc' %] [% END %] @@ -1054,7 +1054,7 @@ [% Asset.js("js/pages/circulation.js") | $raw %] [% Asset.js("js/checkouts.js") | $raw %] - [% IF Koha.Preference('ClaimReturnedLostValue') %] + [% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %] [% Asset.js("js/resolve_claim_modal.js") | $raw %] [% END %] [% Asset.js("js/holds.js") | $raw %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index bf90be1d45..98ab46586d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -671,7 +671,7 @@
  • [% END %] - [% IF Koha.Preference('ClaimReturnedLostValue') %] + [% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %]
  • [% IF ( patron.return_claims.count ) %] -- 2.39.5