]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 10 Mar 2020 15:20:19 +0000 (15:20 +0000)
commit6fc8d02995b7c5c085c913bde6af3fcd24536107
treeaa1bd552222cdc8b97d629784c258073be95826a
parent32421f8de6e09453d78ec4ae511b7ffb888bff2f
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>
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