From 87621206dd1e89cf9e01a8ec2ebf1fb5f80af2e2 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 24 Oct 2019 16:53:11 +0100 Subject: [PATCH] Bug 23805: (QA follow-up) Add missing mappings in Koha::Account::Line Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- Koha/Account/Line.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/Account/Line.pm b/Koha/Account/Line.pm index 8b7ff53c4b..9004f97df1 100644 --- a/Koha/Account/Line.pm +++ b/Koha/Account/Line.pm @@ -422,7 +422,8 @@ on the API. sub to_api_mapping { return { accountlines_id => 'account_line_id', - accounttype => 'account_type', + credit_type_code => 'credit_type', + debit_type_code => 'debit_type', amountoutstanding => 'amount_outstanding', borrowernumber => 'patron_id', branchcode => 'library_id', -- 2.39.5