Bug 19303: Move C4::Members::GetFirstValidEmailAddress to Koha::Patron->first_valid_e...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 12 Sep 2017 18:28:07 +0000 (15:28 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Jan 2018 14:46:40 +0000 (11:46 -0300)
commit9782fa1846575bba8a53e934a16ca94a55bea8b1
tree4c05a941676039ed0fe710c07dbade550c508687
parent19e5eeb8e5580dbcf7c344adf5798b63ea720a88
Bug 19303: Move C4::Members::GetFirstValidEmailAddress to Koha::Patron->first_valid_email_address

This new Koha::Patron->first_valid_email_address already exists, it
should be called directly

Test plan:
- With a logged in user who have an email address defined, send a basket.
The email should be marked sent by this email address

- On the "Holds awaiting pickup", the email address must be displayed as well

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Members.pm
Koha/Patron.pm
opac/opac-sendbasket.pl