[Koha-bugs] [Bug 22272] Calendar: When entering date ranges grey out dates in the past from the start date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 26 20:51:37 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22272

--- Comment #7 from Nadine Pierre <nadine.pierre at InLibro.com> ---
Created attachment 91839
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91839&action=edit
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 at inLibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list