Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials
Jonathan Druart 018de8802d Bug 14969: Remove C4::Dates from serials/*.pl files
Warning: This area is a mess, especially with date management.

For the same reasons as other "Remove C4::Dates from*" patches, this one
will deal with the serials module.

Note that this patch add the datepicker on 3 input fields (on
serials/subscription-detail.tt and serials/subscription-renew.tt).
There was also weird behavior when the dates were invalid. Now default
to undefined. But with the datepicker it will reduce the number of
cases even if the user is still allowed to fill invalid dates.

Test plan:
1/ Create a subscription, fill the first issue pub date and the
subscription start date.
You can fill or not the end date.
Play with the numbering pattern and confirm that there are generated as
before this patch.
2/ On the check expiration page, confirm that the dates are correctly
displayed.
3/ Renew the subscription and confirm that the behavior is correct.
4/ Go on the subscription history page and confirm you have now the
datepicker plugin set on the 2 date fields.

QA notes: The startdate, histstartdate and enddate are not used in
the serials-collection template, this patch removes them from the pl
script.

Tested on top of 15166 15168 15171, full browser reload for date pickers.
Note for 4/: It is the link in tab planning on subscription
detail page, near "Manual history" (if manual history is enabled).
Works as advertised.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-11-17 15:35:57 -03:00
..
tables Bug 13891: DataTables server-side processing - Serial recipients 2015-04-13 10:55:21 -03:00
acqui-search-result.tt
acqui-search.tt
add_fields.tt Bug 14915: (QA followup) Switch recent commits from Glyphicons to Font Awesome 2015-10-27 10:04:53 -03:00
checkexpiration.tt Bug 14969: Remove C4::Dates from serials/*.pl files 2015-11-17 15:35:57 -03:00
claims.tt Bug 8438: Users can only claim for serials related to their branch. 2015-11-04 11:12:28 -03:00
result.tt
routing-preview-slip.tt
routing-preview.tt
routing.tt Bug 13891: DataTables server-side processing - Serial recipients 2015-04-13 10:55:21 -03:00
serial-issues-full.tt Bug 10851: add additional "missing" statuses for serials issues 2014-02-04 17:43:49 +00:00
serial-issues.tt
serials-collection.tt Bug 8296: Follow-up - don't display publisheddate when publisheddatetext is empty 2015-11-05 10:41:29 -03:00
serials-edit.tt Bug 8296: Don't fill text field automatically 2015-11-05 10:41:28 -03:00
serials-home.tt Bug 10855: Squash several fixes 2015-10-02 15:10:31 -03:00
serials-search.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
showpredictionpattern.tt Bug 11262: Don't require hardcoded translations for seasonal numbering pattern to work 2014-05-05 05:05:54 +00:00
subscription-add.tt Bug 10855: Squash several fixes 2015-10-02 15:10:31 -03:00
subscription-bib-search.tt Bug 11091: revamp search limit options for new subscription bib search form 2013-12-05 16:14:53 +00:00
subscription-detail.tt Bug 8296: Follow-up - don't display publisheddate when publisheddatetext is empty 2015-11-05 10:41:29 -03:00
subscription-frequencies.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
subscription-history.tt Bug 14969: Remove C4::Dates from serials/*.pl files 2015-11-17 15:35:57 -03:00
subscription-numberpatterns.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
subscription-renew.tt Bug 14969: Remove C4::Dates from serials/*.pl files 2015-11-17 15:35:57 -03:00
viewalerts.tt