]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 Sep 2019 13:53:46 +0000 (15:53 +0200)
commit98635c1a61514cd50052f1668ace75406876d0f4
treee801df3de57ec8fc91d54bb52ecac086d397d4c7
parent68f1d4487381198af84c803b79e451b89cece937
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>
(cherry picked from commit 06e28c3ac5b708ce01ea1265fa993c1f85e98645)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt