Koha-clms/Koha/Acquisition
Tomas Cohen Arazi c742686651
Bug 18731: Overload K::A::Fund->to_api to avoid conflict
This patch overloads the to_api methods on the Fund class, so
conflicting (on mapping) attribute names are not a problem.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Acquisition/Fund.t \
           t/db_dependent/Koha/REST/Plugin/Objects.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-01-14 09:24:31 +00:00
..
Bookseller Bug 13726: Make Koha::Acq::Bookseller using Koha::Object 2016-12-30 11:54:32 +00:00
Invoice Bug 22541: Invoice adjustments should show invoice number and include link on ordered.pl and spent.pl 2019-04-11 11:45:24 +00:00
Basket.pm Bug 18731: Add API mappings to K::A::{Basket,Invoice} 2020-01-09 16:25:47 +00:00
BasketGroup.pm Bug 20366: Add new method Koha::Acquisition::Basket->basket_group 2018-08-30 13:48:08 +00:00
BasketGroups.pm Bug 20366: Add new method Koha::Acquisition::Basket->basket_group 2018-08-30 13:48:08 +00:00
Baskets.pm Bug 15774: Use Koha::Object(s) for additional fields 2019-03-07 20:37:05 +00:00
Bookseller.pm Bug 23843: Add mapping to Koha::Acquisition::Bookseller 2019-10-23 18:03:21 +01:00
Booksellers.pm Bug 19130: (followup) Add POD 2017-08-25 11:53:44 -03:00
Budget.pm Bug 19826: Add K::Acq::Budget(s) and K::Acq::Fund(s) 2017-12-26 12:05:51 -03:00
Budgets.pm Bug 19826: Add tests 2017-12-26 12:52:01 -03:00
Currencies.pm Bug 15084: Fix conflict with bug 15446 (type vs _type) 2016-03-03 20:39:03 +00:00
Currency.pm Bug 16053: Do not remove the active flag when editing the active currency 2016-03-21 21:35:04 +00:00
Fund.pm Bug 18731: Overload K::A::Fund->to_api to avoid conflict 2020-01-14 09:24:31 +00:00
Funds.pm Bug 19826: Add tests 2017-12-26 12:52:01 -03:00
Invoice.pm Bug 18731: (QA follow-up) Spelling and POD corrections 2020-01-09 16:26:07 +00:00
Invoices.pm Bug 20726: Add new method Acquisition::Order->invoice 2018-08-30 13:40:37 +00:00
Order.pm Bug 18731: /acquisitions/orders endpoint 2020-01-09 16:25:41 +00:00
Orders.pm Bug 19256: (QA followup) Add missing POD 2017-09-07 15:03:04 -03:00