Bug 7317: Add partner_code checks to abot page
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Nov 2017 15:45:24 +0000 (12:45 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 9 Nov 2017 14:42:14 +0000 (11:42 -0300)
commit4b79948400f1a02549329fe1329e7c0cab004cd0
tree09af9b10f528383d63774c8e09952ab32c65fca2
parentdd52583363430b75097dbfc923a83d13a007391c
Bug 7317: Add partner_code checks to abot page

This patch adds checks to the configured (or fallback) partner_code.
It produces two different warnings:

- Configured partner_code doesn't match an existing patron category
code.
- partner_code is not defined, a fallback to ILLLIBS is done

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
about.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt