Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Owen Leonard 79960f3c65 Bug 29278: Fix selector of hint used to show age
This patch modifies the patron entry form to correct a problem with the
write_age() function introduced by the switch to Flatpickr on this page
(Bug 28937).

Rather than selecting the element based on the sequence of elements on
the page, we should add an ID for direct selection.

To test, apply the patch and go to Patrons.

- Locate a patron record which has a date of birth saved.
  - When you open that patron for editing, you should see their age
    displayed below the date of birth input field, e.g. "Age: 23 years 9
    months."
  - Changing the date in the date of birth field should update the age
    string correctly.
- Go to Patrons -> New patron.
  - The date of birth field should have a hint showing the required date
    format, e.g. "(DD.MM.YYYY)".
  - When you select a date of birth using the Flatpickr calendar the age
    string should be updated correctly.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-25 13:56:35 +02:00
..
tables Bug 29261: (bug 15812 follow-up) Fix translation issue in include file 2021-10-21 10:04:38 +02:00
accountline-details.tt Bug 22435: Update accountline-details page to show all history 2021-08-04 14:06:43 +02:00
apikeys.tt Bug 28772: Display API secret once 2021-09-30 09:19:05 +02:00
boraccount.tt Bug 28346: (QA follow-up) Add -action for consistency 2021-08-18 15:10:18 +02:00
deletemem.tt
discharge.tt
discharges.tt
files.tt
holdshistory.tt
housebound.tt Bug 26544: Add housebound details to delivery page 2021-10-07 11:07:04 +02:00
ill-requests.tt
mancredit.tt
maninvoice.tt
member-flags.tt Bug 28882: Disable select/hide all links 2021-09-09 10:59:37 +02:00
member-password.tt
member.tt Bug 28867: (follow-up) Make error message translatable 2021-10-21 12:24:04 +02:00
memberentrygen.tt Bug 29278: Fix selector of hint used to show age 2021-10-25 13:56:35 +02:00
members-update.tt Bug 28073: Patron modifications should auto-open panel for referring patron record 2021-07-26 12:46:32 +02:00
merge-patrons.tt
moremember-brief.tt
moremember-print.tt
moremember.tt Bug 29083: Update article requests-related Koha::Patron methods to use relationships 2021-10-07 10:54:59 +02:00
notices.tt Bug 28803: (QA follow-up) Reinstate UNKNOWN_ERROR in templates 2021-09-28 10:22:36 +02:00
pay.tt
paycollect.tt
printfeercpt.tt
printinvoice.tt
purchase-suggestions.tt
readingrec.tt Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
routing-lists.tt
statistics.tt
update-child.tt