Bugzilla – Attachment 97624 Details for
Bug 24462
Adjust K::A::Invoice API mapping to voted RFC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24462: Adapt mapping to voted RFC (Invoices)
Bug-24462-Adapt-mapping-to-voted-RFC-Invoices.patch (text/plain), 1.34 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-01-20 14:30:33 UTC
(
hide
)
Description:
Bug 24462: Adapt mapping to voted RFC (Invoices)
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-01-20 14:30:33 UTC
Size:
1.34 KB
patch
obsolete
>From 06a203b326b5a1ed8a9a147f0f3afe1352b57cfd Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 20 Jan 2020 11:29:11 -0300 >Subject: [PATCH] Bug 24462: Adapt mapping to voted RFC (Invoices) > >This trivial patch changes the attribute names for API reprensentation >of Koha::Acquisition::Invoice objects. > >To test: >1. Open https://wiki.koha-community.org/wiki/Acquisitions_invoices_endpoint_RFC >2. Check the mappings are correct >=> SUCCESS: The patch makes the right changes to the mappings >3. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Acquisition/Invoice.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Acquisition/Invoice.pm b/Koha/Acquisition/Invoice.pm >index 111f2644af..c1505be4c9 100644 >--- a/Koha/Acquisition/Invoice.pm >+++ b/Koha/Acquisition/Invoice.pm >@@ -64,9 +64,9 @@ sub to_api_mapping { > booksellerid => 'vendor_id', > shipmentdate => 'shipping_date', > billingdate => 'invoice_date', >- closedate => 'close_date', >+ closedate => 'closed_date', > shipmentcost => 'shipping_cost', >- shipmentcost_budgetid => 'shipping_cost_budget_id', >+ shipmentcost_budgetid => 'shipping_fund_id', > message_id => undef > }; > } >-- >2.25.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24462
:
97624
|
98277
|
98616