Bug 19249: Fix date inputs on patron quick add form
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 May 2023 14:15:28 +0000 (16:15 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 12:13:25 +0000 (09:13 -0300)
commit28dc7f1f02b0515648b76abd71eaa142f5f52396
tree7be13001ffb29ca1a80520ecc1bb9fc90fef86c1
parente40135a219e85f91f134bb8c3edc3593d060e8a5
Bug 19249: Fix date inputs on patron quick add form

This patch create a "apply_flatpickr" JS function to make the code
reusable from the template, where we loop over the date inputs to
reinstantiate flatpickr.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt