Bug 19826: Add K::Acq::Budget(s) and K::Acq::Fund(s)
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 18 Dec 2017 14:25:00 +0000 (11:25 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Dec 2017 15:05:51 +0000 (12:05 -0300)
commit9e541af7543d2169e2f926b5b2a8189f5e49c97f
tree03cda0c4f1cbbda65d54a606579148c2427d7344
parent8592be20367790582c7235988ceafc5350a036b3
Bug 19826: Add K::Acq::Budget(s) and K::Acq::Fund(s)

This patch introduces Koha::Object(s)-derived classes for budgets and funds (aqbudgetperiods and aqbudgets respectively).

C4::Budgets already uses DBIC calls on those tables so transition should be easy on top of this.

To test:
- Check the referenced schema files are the right ones.
- QA scripts shoudl be happy.
- Sign off :-D

Note: the POD coverage report throws a false negative result on singular classes which is trivially wrong.

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Acquisition/Budget.pm [new file with mode: 0644]
Koha/Acquisition/Budgets.pm [new file with mode: 0644]
Koha/Acquisition/Fund.pm [new file with mode: 0644]
Koha/Acquisition/Funds.pm [new file with mode: 0644]