@@ -, +, @@ Added a messag when an item is not checked in, becaus of answer no. (new) Test plan: 1. Create an itemtype, with the checkinmsgtype question 2. Create an item with the itemtype from 1 3. Check out the item from 2 4. Check in the item from 3 5. Click no ==> item shouldn't be check in and a message should be displayed 6. Check in the item from 3 7. Click yes ==> item should be check in Optional: Before step 4 check others item in, to check if the prevouis check in's are still shown. Sponsored-by: Bücherei Maichingen --- circ/returns.pl | 5 ----- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 5 ----- 2 files changed, 10 deletions(-) --- a/circ/returns.pl +++ a/circ/returns.pl @@ -278,11 +278,6 @@ if ($barcode) { ); } } - elsif($itemtype->checkinmsgtype eq 'question' && $accept == '1'){ - $template->param( - checkinmsgtype => "accepted", - ); - } elsif($itemtype->checkinmsgtype eq 'question' && $accept == '2'){ $template->param( checkinmsgtype => "rejected", --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -548,11 +548,6 @@ $(document).ready(function () { [% END%] -[% IF checkinmsgtype == 'accepted' %] -
-

Your item was checked in!

-
-[% END %] [% IF checkinmsgtype == 'rejected' %]

Your item was not checked in!

--