[Koha-bugs] [Bug 12830] Move the order-related code into its own module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 18 15:12:38 CEST 2014


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31549|0                           |1
        is obsolete|                            |
  Attachment #31550|0                           |1
        is obsolete|                            |

--- Comment #20 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 31714
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31714&action=edit
Bug 12830: Move the order-related code into Koha::Acquisition::Order

The C4::Acquisition module should be exploded in order to add
readability and maintainability to this part of the code.

This patch is a POC, it introduces a new Koha::Acquisition::Order module and
put in
it the code from NewOrder and NewOrderItem.

Test plan:
1/ Create an order, modify it, receive it, cancel the receipt.
2/ Launch the prove command on all unit tests modified by this patch and
verify that all pass.

Signed-off-by: Paola Rossi <paola.rossi at cineca.it>

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


More information about the Koha-bugs mailing list