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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 5 16:19:53 CEST 2014


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

--- Comment #12 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 31401
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31401&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

Signed-off-by: Zeno Tajoli <z.tajoli at cineca.it>

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


More information about the Koha-bugs mailing list