]> git.koha-community.org Git - koha.git/commit
Bug 22272: Calendar: When entering date ranges grey out dates in the past from the...
authorEmmi <emmi.takkinen@outlook.com>
Wed, 10 Jul 2019 06:25:43 +0000 (09:25 +0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 13 Aug 2019 10:53:25 +0000 (11:53 +0100)
commit06e28c3ac5b708ce01ea1265fa993c1f85e98645
treee377d25356edf5ff03fd3814b664e454a0ea3cd9
parent5c2daf28a5b027187f0e4c29111ed03b1525a33e
Bug 22272: Calendar: When entering date ranges grey out dates in the past from the start date

In "Calendar" tool it's possible to pick dates before start
date as end date.

This patch sets end date calendars "minDate" as picked start day
to grey out past dates. Also reindents datepicker code for
better readability.

Test plan:
- Apply this patch
- Set start date from first calendar
- Set end date from second calendar
=> Dates before start date are greyed out

Signed-off-by: Nadine Pierre <nadine.pierre@inLibro.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt