[Koha-bugs] [Bug 12827] NewOrder returns basketno

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 28 11:06:01 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12827

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31171|0                           |1
        is obsolete|                            |
  Attachment #31172|0                           |1
        is obsolete|                            |

--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 31235
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31235&action=edit
Bug 12827: NewOrder should not return basketno

Since the basketno parameter is needed to insert an order, it is useless
to return it.

This patch changes the prototype for the C4::Acquisition::NewOrder
subroutine. The return value is now a scalar containing the ordernumber
created.

Test plan:
Verify there is no regression on an acquisition workflow:
1/ Create an order with several items
2/ Modify the order
3/ Receive some items
4/ Cancel the receipt
4/ Receive some items
5/ Receive all remaining items
6/ Cancel the receipt

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list