Bug 20444: Use Koha::Patron::Attribute::Types object for getting patron attributes...
authorJosef Moravec <josef.moravec@gmail.com>
Mon, 19 Mar 2018 09:27:07 +0000 (09:27 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 3 May 2018 16:26:49 +0000 (13:26 -0300)
commit4c3a257448a238ec070ef209be70f76182cc91c4
tree66bfc81f1a36ba9cf05c3c493e092dda261f0e1a
parent60e5a8a2aba887371966c593ffab44c6a4ac5d94
Bug 20444: Use Koha::Patron::Attribute::Types object for getting patron attributes in letter.pl

Test plan:
0) Apply the patch
1) Do not have any patron attribute types defined
2) Go to Tools -> Notices and slips
3) Edit any slip/letter which uses table borrower
4) Confirm the editing works, and the slip/letter itself works
5) Add some patron attributes types and define them a value for any
patron
6) Go to Tools -> Notices and slips and edit any slip/letter which uses
table borrower
7) Confirm, the attributes are listed in available fields
8) Confirm the slip/letter is working when you add a attribute to it

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
tools/letter.pl