@@ -, +, @@ --- C4/Circulation.pm | 2 - .../intranet-tmpl/prog/en/modules/circ/returns.tt | 61 +++++----------------- 2 files changed, 13 insertions(+), 50 deletions(-) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -1828,8 +1828,6 @@ sub AddReturn { } } - my $item = GetItem($itemnumber) or die "GetItem($itemnumber) failed"; - # full item data, but no borrowernumber or checkout info (no issue) my $hbr = GetBranchItemRule($item->{'homebranch'}, $item->{'itype'})->{'returnbranch'} || "homebranch"; # get the proper branch to which to return the item --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -466,19 +466,19 @@ [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
Not for loan status updated.
-
Old value:
- [% IF errmsgloo.NotForLoanStatusUpdated.from %]
- [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) %].
- [% ELSE %]
- Available for loan.
- [% END %]
-
New value:
- [% IF errmsgloo.NotForLoanStatusUpdated.to %]
- [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) %].
- [% ELSE %]
- Available for loan.
- [% END %]
-
@@ -522,41 +522,6 @@ [% END %] [% IF ( errmsgloo.waslost ) %]
Item was lost, now found.
- [% IF ( LostItemFeeRefunded ) %] -A refund has been applied to the borrowing patron's account.
- [% ELSE %] -Any lost item fees for this item will remain on the patron's account.
- [% END %] - [% END %] - [% IF ( errmsgloo.withdrawn ) %] - [% IF BlockReturnOfWithdrawnItems %] -NOT CHECKED IN
-Item is withdrawn.
- [% ELSE %] -Item is withdrawn.
- [% END %] - [% END %] - [% IF ( errmsgloo.debarred ) %] -[% errmsgloo.debarname %]([% errmsgloo.debarcardnumber %]) is now debarred until [% errmsgloo.debarred | $KohaDates %].
- [% END %] - [% IF ( errmsgloo.prevdebarred ) %] -Reminder: Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].
- [% END %] - [% IF ( errmsgloo.badbarcode ) %] -No item with barcode: [% errmsgloo.msg | html %]
- [% END %] - [% IF ( errmsgloo.ispermanent ) %] -Please return item to: [% Branches.GetName( errmsgloo.msg ) %]
- [% END %] - [% IF ( errmsgloo.notissued ) %] -Not checked out.
- [% END %] - [% IF ( errmsgloo.localuse) %] -Local use recorded
- [% END %] - [% IF ( errmsgloo.waslost ) %] -Item was lost, now found.
[% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %]A refund has been applied to the borrowing patron's account.
[% ELSIF Koha.Preference('BlockReturnOfLostItems') %] --