Bug 35784

Summary: Wrong POD for updateWrongTransfer
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: martin.renvoize
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28294
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marcel de Rooy 2024-01-12 09:52:27 UTC
=head2 updateWrongTransfer

  $items = updateWrongTransfer($itemNumber,$borrowernumber,$waitingAtLibrary,$FromLibrary);

This function validate the line of brachtransfer but with the wrong destination (mistake from a librarian ...), and create a new line in branchtransfer from the actual library to the original library of reservation

=cut

Check this with parameters in code:

sub updateWrongTransfer {
    my ( $itemNumber,$waitingAtLibrary,$FromLibrary ) = @_;


NOTE: $FromLibrary is NOT USED at all.
Comment 1 Martin Renvoize (ashimema) 2024-01-12 17:15:40 UTC
I actually remove the routine entirely in bug 28294...