Bug 5260: QA follow-up: Fix error when no notice template is defined
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 19 Oct 2016 21:26:22 +0000 (23:26 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 11:52:26 +0000 (11:52 +0000)
commit1e120924c2bfd11c4e0bf4a8479897d6cc2cf921
tree3bac6a1a1b85ce91118c61011ab817dbf059dec0
parent0ca7ac9dd5726bf8f39d3e28eda9a466ac12ff4c
Bug 5260: QA follow-up: Fix error when no notice template is defined

When no notice template ACQORDER was defined, you'r receive a false
positive "email sent" message. Now it will display a specific
error message instead.

Also includes 2 unit tests to test for the warn and new error code.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Letters.pm
acqui/basket.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
t/db_dependent/Letters.t