https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26597

--- Comment #28 from Hammat wele <[email protected]> ---

(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 protected]",
...
}

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to