[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
Tue Jul 23 00:32:32 CEST 2019


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

--- Comment #6 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 91722
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91722&action=edit
Good enhancment, works well and passes qa tools. signing off

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: Lucas Gass <lucas at bywatersolutions.com>

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


More information about the Koha-bugs mailing list