Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Marcel de Rooy 963a3a4715
Bug 35341: Improve processing hard due date and auto renewal date
After quite a struggle, came up with this approach using
flatpickr's parseDate and setDate. Seems to be the best.
The dateformat variable is set in calendar.inc.

Test plan:
Test edit, save, clear rules, focus on both dates.
Toggle all I18N preference date formats.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Bug 35341: Do not reinstantiate flatpickr

We do not need to reinstantiate flatpickr, we need to retrieve the
existing instance.

Test plan:
See previous patch.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
12-01-2024 Squashed both patches. Removed the unused hidden inputs for
hardduedatecompare and added a data attribute for the duedate.
The check with is_valid_date seems no longer needed here. Normally
date is empty or valid. A js warning from parseDate should be
exceptional. Made code for both dates a bit more consistent.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-01-16 12:06:15 +01:00
..
acqui Bug 35650: Standardize on 'Check the logs for details.' 2024-01-11 15:44:38 +01:00
admin Bug 35341: Improve processing hard due date and auto renewal date 2024-01-16 12:06:15 +01:00
authorities Bug 35245: Set default width for select2 in authorities 2023-11-06 08:42:51 -03:00
basket
batch
bookings Bug 35475: Improve concatenated string and fix error in JS file 2024-01-16 12:05:58 +01:00
catalogue Bug 35650: Standardize on 'Check the logs for details.' 2024-01-11 15:44:38 +01:00
cataloguing Bug 35651: Add check to make sure user has advanced_editor permission 2024-01-16 12:06:12 +01:00
circ Bug 25835: Include overdues with fines in overdues_report permission 2024-01-11 15:44:45 +01:00
clubs
course_reserves
erm Bug 34587: Usage statistics table column data 2023-10-31 16:45:55 -03:00
errors Bug 33928: Improve translation of title tags: Various 2023-11-06 08:42:46 -03:00
ill
installer Bug 35686: (follow-up) Correct page heading 2024-01-11 15:44:42 +01:00
labels
mana
members Bug 35510: Non-patron guarantor missing from CollapseFieldsPatronAddForm options 2024-01-16 12:06:11 +01:00
offline_circ Bug 34529: (QA follow-up) Update column heading to "Card number or username" 2023-11-06 11:34:45 -03:00
onboarding
patron_lists Bug 34977: The "Patron Lists" only allows deleting one list at a time 2023-11-08 11:41:32 -03:00
patroncards
plugins Bug 25672: Restore redirect on restricted upload 2023-10-31 11:02:44 -03:00
pos Bug 31041: (follow-up) Clean up and generalise 2023-11-08 09:59:00 -03:00
preservation
recalls
reports Bug 35498: Allow tab to indent lines and trigger autocomplete 2023-12-12 15:04:53 +01:00
reserve Bug 34519: Add a template plugin for fetch searchable patron attributes 2023-11-08 17:52:37 -03:00
reviews Bug 34802: Improve translation of title tags: Tags and comments 2023-11-03 12:04:39 -03:00
rotating_collections
serials Bug 28012: (QA follow-up) Use form validation for numbering patterns 2023-12-27 19:06:08 +01:00
services
suggestion
tags Bug 34802: Improve translation of title tags: Tags and comments 2023-11-03 12:04:39 -03:00
test
tools Bug 32477: Fix hiding all columns in item batch mod tools 2024-01-16 12:06:04 +01:00
virtualshelves
about.tt Bug 35504: Add full maintainers list into development branch 2024-01-11 15:44:50 +01:00
auth.tt Bug 34188: (QA follow-up) Add standard validation to login form 2023-11-08 17:41:41 -03:00
intranet-main.tt Bug 33928: Improve translation of title tags: Various 2023-11-06 08:42:46 -03:00