Bug 21008: Use patron object to get category_type
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 28 Jun 2018 13:31:30 +0000 (10:31 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 13 Jul 2018 13:22:01 +0000 (13:22 +0000)
commit14f818edf6a0690a39793b2e6cad0204171be375
treeac0feceee3671b9dff2c5428517aab7c9099a3d0
parent301c36b8292b6c40390dff79393ac0fd79c7960f
Bug 21008: Use patron object to get category_type

This patch makes borrower_add_additional_fields() in both pay.pl and
paycollect.pl use the right object to pick the category_type.

It also populates the extendedattributes template variable in pay.pl
which was missed by a change.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
members/pay.pl
members/paycollect.pl