]> git.koha-community.org Git - koha.git/commit
Bug 23268: Make "Suspend all holds" calendar select a date from tomorrow
authorEmmi <emmi.takkinen@outlook.com>
Fri, 5 Jul 2019 08:46:15 +0000 (11:46 +0300)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 2 Apr 2020 20:35:46 +0000 (20:35 +0000)
commit0c3b750f1af64c201d26428d8eacbedd03f925e7
tree82c10a221bd083d145b82bc900ec4b2c67aa2d11
parentd6a0b07984ed63e91723fa484890f111077dbd10
Bug 23268: Make "Suspend all holds" calendar select a date from tomorrow

This patch removes "circulation" and moremember" templates functions
for Datepicker plugin. They now use options common for all inputs with
"datepicker" class and get "minDate" option from class "futuredate" assigned
function in "calender.inc".

To test:
- Apply patch
- Add holds for patron
- Use "Suspend all holds" calendar
=>Calendar greys out dates past from today

Signed-off-by: David Roberts <david.roberts@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt