From 25794c57f88cba8a5cd0be9f3b588b9625786512 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>
---
.../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 cc2d68dcf8..7f10546a90 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 6c132ef2b8..68d48353bc 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.44.0