From 5f15fc0295c5ffd0581cbec06ff92991743bac9b Mon Sep 17 00:00:00 2001
From: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Date: Fri, 4 Oct 2024 15:11:49 +0000
Subject: [PATCH] Bug 38012: Remove ispermanent from returns and
branchtransfers
To test:
There should be no change in behavior, as this code is not referred to elsewhere in Koha. Make sure you can still do checkeckins and transfers.
Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
---
.../intranet-tmpl/prog/en/modules/circ/branchtransfers.tt | 3 ---
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 3 ---
2 files changed, 6 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt
index cc2d68dcf86..7f10546a901 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt
@@ -191,9 +191,6 @@
[% IF ( errmsgloo.errbadcode ) %]
<li>No item with barcode: [% errmsgloo.msg | html %]</li>
[% END %]
- [% IF ( errmsgloo.errispermanent ) %]
- <li>Please return item to home library: [% Branches.GetName( errmsgloo.msg ) | html %]</li>
- [% END %]
[% IF ( errmsgloo.errnotallowed ) %]
<li>Transfer is not allowed for:
<ol>
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
index 48abdd7aac7..9d14bf5ecd5 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
@@ -326,9 +326,6 @@
[% IF ( errmsgloo.badbarcode ) %]
<p class="problem ret_badbarcode">No item with barcode: [% errmsgloo.msg | html %]</p>
[% END %]
- [% IF ( errmsgloo.ispermanent ) %]
- <p class="problem ret_ispermenant">Please return item to: [% Branches.GetName( errmsgloo.msg ) | html %]</p>
- [% END %]
[% IF ( errmsgloo.notissued ) %]
<p class="problem ret_notissued">Not checked out.</p>
[% END %]
--
2.39.5