]> git.koha-community.org Git - koha.git/commit
Bug 33581: Disable sample holiday if libraries are not selected
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 7 Jun 2023 09:31:20 +0000 (11:31 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 18 Jul 2023 10:06:09 +0000 (11:06 +0100)
commitafb52c1eaacf86094a830d694f0f5b1d50a4edaa
treee49e63e7e08fc93bd09b3a4d32fb783281b8b09c
parentac1febd685936a168f853741be45fd58a445c1c3
Bug 33581: Disable sample holiday if libraries are not selected

If libraries are not selected we should not try to insert holidays, or
the installer will fail with a missing FK.

This patch simply disable and uncheck the checkbox when libraries are
not going to be inserted.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 1137511e63e9b6fd0b1d52f34fb35b0ffb8dc363)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt