It's a follow-up of
commit
9c6f634469de4364d71bc0eb7520d04ead61fd00
Bug 16912: Koha::Patrons - Move AddEnrolmentFeeIfNeeded to->add_enrolment_fee_if_needed
One of the known issue:
> update categories set enrolmentfee=2;
The use misc/devel/create_superlibrarian.pl to create a new
superlibrarian patron
Signed-off-by: Victor Grousset <victor.grousset@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
use Module::Load::Conditional qw( can_load );
use Text::Unaccent qw( unac_string );
+use C4::Accounts;
use C4::Context;
use C4::Log;
use Koha::AuthUtils;