Koha-clms/t/db_dependent/Letters
Jonathan Druart b9dbe40cfb Bug 23765: Do not display localized templates if TranslateNotices is off
To test:
1. Enable multi-languages
2. Set the preference 'TranslateNotices' on  'Allow'
3. Go to: tools==>Notices & slips==>Edit, make sure it has multilingual
email templates.
4. Set the preference TranslateNotices on 'Don't allow'.
5. Go to: tools==>Notices & slips==>Edit, the template shows several tab
for the same transport type.
6. Apply the patch.
7. Repeat the steps 4 and 5
8. Success. It only shows the default template when TranslateNotices is
'Dont allow'.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 86f999812e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2019-11-15 13:43:02 +01:00
..
GetLetterTemplates.t Bug 23765: Do not display localized templates if TranslateNotices is off 2019-11-15 13:43:02 +01:00
GetLettersAvailableForALibrary.t Bug 14334: Remove AutoCommit from tests 2018-12-14 13:42:37 +00:00
TemplateToolkit.t Bug 23579: (RM follow-up) Fix failing tests 2019-11-08 16:21:42 +01:00