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 <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Martin Renvoize 2021-11-25 14:28:03 +00:00 committed by Tomas Cohen Arazi
parent c66032ba2c
commit 66b35f505b
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 5 additions and 5 deletions

View file

@ -842,7 +842,7 @@
</li>
[% END %]
[% IF Koha.Preference('ClaimReturnedLostValue') %]
[% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %]
<li>
[% IF ( patron.return_claims.count ) %]
<a href="#return-claims" id="return-claims-tab">
@ -970,7 +970,7 @@
</div>
[% END %]
[% IF Koha.Preference('ClaimReturnedLostValue') %]
[% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %]
[% INCLUDE 'patron-return-claims.inc' %]
[% END %]
@ -1006,7 +1006,7 @@
</div> <!-- /.row -->
</main>
[% IF Koha.Preference('ClaimReturnedLostValue') %]
[% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %]
[% INCLUDE 'modals/resolve_return_claim.inc' %]
[% END %]
@ -1054,7 +1054,7 @@
</script>
[% 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 %]

View file

@ -671,7 +671,7 @@
</li>
[% END %]
[% IF Koha.Preference('ClaimReturnedLostValue') %]
[% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %]
<li>
[% IF ( patron.return_claims.count ) %]
<a href="#return-claims" id="return-claims-tab">