Bug 29005: Add option to send welcome email from patron imports
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 1 Oct 2021 09:40:50 +0000 (10:40 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 20 Apr 2022 19:03:39 +0000 (09:03 -1000)
commitc6e2c6fb6002538204a9f1f39d07a2257f74fef4
tree77a048cb850ed9ab42bfa42a033abbca7077e9de
parent437e5844077cfd7d315f6ef2f6657d5da619925d
Bug 29005: Add option to send welcome email from patron imports

This patch adds the ability to send the ACCTDETAILS notice for new users
added using the patron import tool.

Test plan
1. Create a valid csv for patron import that includes some new users,
   ensuring you add a valid email address for which you have access.
2. Import the users using the patron import tool and select the new
   'Send email to new patrons' checkbox.
3. Check that the notice appears in the new patrons notices
4. Check that you received a welcome email for the user.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Patrons/Import.pm
koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt
tools/import_borrowers.pl