[Koha-bugs] [Bug 26597] Transfer information from guarantor when adding a guarantor to an existing patron
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 31 14:51:16 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26597
--- Comment #28 from Hammat wele <hammat.wele at inlibro.com> ---
(In reply to Jonathan Druart from comment #27)
> If you are removing the REST API fetch I don't see why you are still passing
> and using to_api_mapping.
With borrower, I get all the guarantor's data i need but it is not associated
with the name of the fields of the form. the to_api_mapping allows me to
retrieve the name of the fields to be filled.
the data received from borrower is like
{
...
"altaddress_address": "addressvalue",
"altaddress_address2": "address2value",
"altaddress_city": "addressCityvalue",
"altaddress_country": "addresscontryvalue",
"altaddress_email": "email at example.com",
...
}
to be able to fill the form with these data i need to get the name of the
fields to be filled in and the to_api_mapping help me to get it
{
B_address => 'altaddress_address',
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list