Bug 23120: Pass necessary inputs through when transferring item automatically
authorNick Clemens <nick@bywatersolutions.com>
Fri, 14 Jun 2019 12:02:25 +0000 (12:02 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 18 Jun 2019 09:07:16 +0000 (10:07 +0100)
To test:
 1 - Find an item in you system
 2 - Have syspref  AutomaticItemReturn = Do
 3 - Check in the item at a branch that is not its homebranch
 4 - Click 'Print slip' on the modal popup
 5 - Error!
 6 - Apply patch
 7 - Check the item in at its homebranch (to clear transfers)
 8 - Check it in at another branch again
 9 - Print slip
10 - Success!

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt

index 6277ed8..b4824f2 100644 (file)
                         <p>
                         Transfer now?
                         </p>
+                        [% END %]
                         <input type="hidden" name="tobranch" value="[% returnbranch | html %]" />
                         <input type="hidden" name="transferitem" value="[% itemnumber | html %]" />
                         <input type="hidden" name="barcode" value="0" />
-                        [% END %]
                     </div>
                     <div class="modal-footer">
                         [% IF !transfer %]