Bug 15899

Summary: Remove the use of recordpayment
Product: Koha Reporter: Kyle M Hall (khall) <kyle>
Component: Architecture, internals, and plumbingAssignee: Kyle M Hall (khall) <kyle>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: josef.moravec, veron
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 15895, 15900, 15901, 15902, 15903    
Bug Blocks: 15894, 18580, 21915    
Attachments: Bug 15899 - Fix up unit tests
Bug 15899 - Remove C4::Accounts::recordpayment
Bug 15899 - Remove C4::Accounts::recordpayment
Bug 15899 - Fix up unit tests
Bug 15899 - Fix up unit tests
Bug 15899 - Remove C4::Accounts::recordpayment
Bug 15899 - Fix up unit tests
Bug 15899 - Remove C4::Accounts::recordpayment
Bug 15899 - Fix up unit tests
Bug 15899 - Remove C4::Accounts::recordpayment

Description Kyle M Hall (khall) 2016-02-24 14:58:43 UTC
With recordpayment now simply being a wrapper round Koha::Account::pay, we can remove the calls to recordpayment and replace them with direct calls to Koha::Account::pay.
Comment 1 Kyle M Hall (khall) 2016-02-24 15:43:11 UTC Comment hidden (obsolete)
Comment 2 Kyle M Hall (khall) 2016-02-24 15:43:19 UTC Comment hidden (obsolete)
Comment 3 Kyle M Hall (khall) 2016-02-24 15:47:35 UTC Comment hidden (obsolete)
Comment 4 Kyle M Hall (khall) 2016-06-07 15:05:59 UTC Comment hidden (obsolete)
Comment 5 Kyle M Hall (khall) 2016-06-07 15:11:57 UTC Comment hidden (obsolete)
Comment 6 Kyle M Hall (khall) 2016-06-07 15:12:06 UTC Comment hidden (obsolete)
Comment 7 Josef Moravec 2016-08-23 09:41:37 UTC
Created attachment 54749 [details] [review]
Bug 15899 - Fix up unit tests

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 8 Josef Moravec 2016-08-23 09:41:47 UTC
Created attachment 54750 [details] [review]
Bug 15899 - Remove C4::Accounts::recordpayment

Test Plan:
1) Apply this patch
2) prove t/db_dependent/Accounts.t
3) git grep recordpayment should show no calls to the recordpayment sub

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 9 Jonathan Druart 2016-09-28 11:10:30 UTC
Created attachment 55878 [details] [review]
Bug 15899 - Fix up unit tests

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 10 Jonathan Druart 2016-09-28 11:10:33 UTC
Created attachment 55879 [details] [review]
Bug 15899 - Remove C4::Accounts::recordpayment

Test Plan:
1) Apply this patch
2) prove t/db_dependent/Accounts.t
3) git grep recordpayment should show no calls to the recordpayment sub

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 11 Kyle M Hall (khall) 2016-09-29 11:19:03 UTC
Pushed to master for 16.11!