@@ -, +, @@
---
.../intranet-tmpl/prog/en/modules/circ/returns.tt | 130 ++++++++++++---------
1 file changed, 78 insertions(+), 52 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
@@ -183,12 +183,12 @@ $(document).ready(function () {
[% END %]
-[% IF ( collectionItemNeedsTransferred ) %]
+[% IF collectionItemNeedsTransferred %]
Patron has outstanding fines of [% fines %].
Make payment.
@@ -211,7 +211,7 @@ $(document).ready(function () {
[% END %]
-[% IF ( waiting_holds ) %]
+[% IF waiting_holds %]
[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.
Check out to this patron.
@@ -230,7 +230,7 @@ $(document).ready(function () {
[% END %]
-[% IF ( wrongbranch ) %]
+[% IF wrongbranch %]
[% END %]
-
-[% IF ( WrongTransfer ) %]
-
+
+[% IF WrongTransfer %]
+ [% IF !wborcnum %]
+
+
+ [% ELSIF wborcnum %]
+
+
+ [% END %]
[% END %]
[% IF ( found ) %]
@@ -387,11 +407,11 @@ $(document).ready(function () {
[% END %]
[% END %]
- [% IF ( transfer ) %]
+ [% IF transfer || ( WrongTransfer && !wborcnum ) %]