Bug 14157: Notices tab in the patron record should not depend on EnhancedMessagingPre...
commit8e4c2bb2c7df66c13f11a408bed32da8fc1fc6dd
authorSophie Meynieux <sophie.meynieux@biblibre.com>
Wed, 4 Nov 2015 18:04:26 +0000 (4 19:04 +0100)
committerLiz Rea <wizzyrea@gmail.com>
Wed, 9 Dec 2015 23:13:20 +0000 (10 12:13 +1300)
treeaf0e04cd3ef59aae7f334adbb381a5a060fd62eb
parent1fe5ce9aa001ad57265adb7f76080cbe8ae5edd8
Bug 14157: Notices tab in the patron record should not depend on EnhancedMessagingPreferences to display

Overdue and Hold notices can be sent even if EnhancedMessagingPreference
is set to "Don't Allow", so Notices tab have to be visible in all cases.

Test plan :
  - without patch :
    - set EnhancedMessagingPreference to "Don't Allow" and go to patron
      record : there is no Notices tab
    - set EnhancedMessagingPreference to "Allow" and og to patron
      record: there is a Notices tab

  - apply this patch :
    - go to patron record, you cas see a Notices tab
    - change the value of EnhanceMessagingPreferences, Notices tab is
      always visible.

Followed test plan, works as expected
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 471b1a8b69ff3842fbddda1e0aa068d439c85a0d)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Conflicts:
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
3.20 had some other new (unrelated) things, resolved conflict and retested, all ok.
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/members-menu.inc