Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials
Julian Maurice 47a9afcb7e Bug 12003: Do not calculate next pubdate for irregular subscriptions
Show 'Unknown' when planneddate and publisheddate cannot be calculated

Also fixes SQL query in misc/cronjobs/serialsUpdate.pl that was still
using "periodicity != 32" to exclude irregular subscriptions from
results

Test plan:

1) Create a subscription in the serials module. Make sure to choose:
   Frequency = Irregular
2) Test the prediction pattern, first publication date is set to
   "First issue publication date" field, others will show as
   'unknown'
3) Save the subscription
4) Check the created issue - it will show a published date and a
   planned date (same as "First issue publication date" field)
5) Receive the issue and check the next generated issue, planned
   date and published date should show as 'Unknown'
6) Generate a next issue, planned date and published date should
   also show as 'Unknown'

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as described following test plan.
No koha-qa errors

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Also tested:
- multi receiving generates mulitple issues without dates - 'unknown'
- staff detail page shows the dates empty, which is fine
- OPAC detail page shows the dates empty, which is fine
- serial collection page shows 'unknown' and those issues appear
  on the 'manage' tab, as they did in the past
- Editing the issue from the serial collection page leaves the
  date fields empty.
- Receving the issue, setting the status to 'Arrived' the Expected on
  date is set to 'today' automatically. Date published has to be
  entered manually (maybe something we could improve later
- subscription detail > issues tab shows Uknown.
- t/db_dependent/Serials/GetNextDate.t pass.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-18 20:57:51 +00:00
..
acqui-search-result.tt
acqui-search.tt
checkexpiration.tt Bug 10570: Show nonpublic note on check expiration page 2013-09-16 16:22:31 +00:00
claims.tt Bug 11861: Add ISSN column in serials claims table 2014-03-12 17:42:41 +00:00
member-search.tt
result.tt Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
routing-preview-slip.tt
routing-preview.tt
routing.tt bug 10365: change routing slips to use date published rather than planned date 2013-10-10 23:38:11 +00: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 12003: Do not calculate next pubdate for irregular subscriptions 2014-04-18 20:57:51 +00:00
serials-edit.tt Bug 10851: add additional "missing" statuses for serials issues 2014-02-04 17:43:49 +00:00
serials-home.tt Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
serials-recieve.tt Bug 10851: add additional "missing" statuses for serials issues 2014-02-04 17:43:49 +00:00
serials-search.tt Bug 10852: (follow-up) tweak wording of serials search form 2013-12-14 00:35:21 +00:00
showpredictionpattern.tt Bug 11938: fix capitalization: Serial prediction pattern preview - Publication Date 2014-03-17 15:21:32 +00:00
subscription-add.tt Bug 11386: standardize validation of the subscription add/edit form 2014-03-13 16:51:48 +00: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 12003: Do not calculate next pubdate for irregular subscriptions 2014-04-18 20:57:51 +00:00
subscription-frequencies.tt Bug 7688: (follow-up) fix typo 2013-10-30 00:39:11 +00:00
subscription-history.tt Bug 7688: Change subscription numbering pattern and frequencies 2013-10-30 00:29:38 +00:00
subscription-numberpatterns.tt Bug 11225: remove \n from some strings to be translated 2013-12-06 15:15:08 +00:00
subscription-renew.tt
viewalerts.tt