Koha/misc/cronjobs
Jonathan Druart c39380ed4e Bug 8782: Close a subscription
If a subscription is no longer enough published (or we are not waiting
for a new periodical) we are allowed to close it.
If a subscription is closed, we are not able to receive or generate a
new serial.

On the serial module, we can now
- close a subscriptionn
- reopen a closed subscription

On serial search 2 tabs is displayed (opened and closed subscriptions).

This patch adds:
- a new field subscription.closed in DB
- a new status for serials (8 = stopped)

Test plan:
- search subscriptions
- close a subscription and check that you cannot receive or generate a
  new serial
- launch another search and check that the closed serial is into the "closed"
  tab.
- You are allowed to reopen a subscription on the subscription detail
  page and on the subscription result page. A javascript alert ask you
  if are certain to do this operation.
- Check the serial status "stopped" everywhere the status is
  displayed (catalogue/detail.pl, serials/claims.pl,
  serials/serial-issues-full.pl, serials/serials-collection.pl,
  serials/serials-edit.pl, serials/serials-recieve.pl,
  serials/subscription-detail.pl and opac-full-serial-issues.pl)
- The report statistics does not include the closed subscriptions if you
  don't check the "Include expired subscriptions" checkbox.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Bug 8782: Followup: add some minor modifications

- Show 'closed' information in biblio detail page
- Add a column in serials report table
- Search subscriptions on title words instead of string
- Prevent serials editing when subscription is closed
- Don't change status of "disabled" serials

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Bug 8782 - Close a subscription - Followup - Fix updatedatabase.pl

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2012-11-30 08:14:24 -05:00
..
holds bug_5911: Transport Cost Matrix 2012-09-12 14:49:25 +02:00
rss Bug 5370: Fix all references to koha.org 2010-11-08 09:41:47 +13:00
social_data Bug 7470: Babeltheque integration 2012-03-26 14:24:04 +02:00
stats Bug 2505 - remove unnecessary -w and replace with use warnings; 2010-04-07 13:27:07 -04:00
thirdparty Bug 8606 - Talking Tech broken by Bug 7001 2012-09-20 14:12:41 +02:00
advance_notices.pl Bug 3383 - Followup - Switch from GetMemberDetails to GetMember 2012-08-03 15:58:26 +02:00
backup.sh Bug 8268 follow-up: incorporate QA comments 2012-07-12 17:40:22 +02:00
batch_anonymise.pl Bug 6572: Script batch anonymisation wrapper 2011-10-20 13:57:14 +13:00
build_browser_and_cloud.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
cart_to_shelf.pl 7368 Typo in cart_to_shelf 2012-03-16 11:50:29 +01:00
check-url-quick.pl Bug 7963 follow-up: die nicely if AnyEvent libraries not installed 2012-10-05 11:44:56 +02:00
check-url.pl Bug 7963 Parallel HTTP requests when checking URLs 2012-10-05 11:44:52 +02:00
cleanup_database.pl Bug 7240: Cleaning up import tables and action_logs 2012-01-13 12:20:51 +01:00
cloud-kw.pl Bug 5385: POD Cleanups (part 2) 2010-11-12 10:06:56 +13:00
cloud-sample.conf
CONFIGURE.gmail Bug 5251 : Enhancement: [3.2] (Resubmission) Adding code to support using gmail as an SMTP server 2011-04-08 14:01:15 +12:00
create_koc_db.pl Bug 2505 - remove unnecessary -w and replace with use warnings; 2010-04-07 13:27:07 -04:00
crontab.example Bug 8741 - crontab.example missing username, fails in some systems 2012-10-09 17:55:12 +02:00
fines.pl Bug 7420 tiny bugfix 2012-07-25 18:35:36 +02:00
gather_print_notices.pl Bug 8063 - Followup - Bug fix 2012-07-16 14:54:02 +02:00
import_webservice_batch.pl Bug 7475: Teach matching rules to handle authorities 2012-09-19 17:15:56 +02:00
j2a.pl Bug 7157 follow-up: j2a.pl executable again 2012-01-27 12:18:25 +01:00
longoverdue.pl Bug 7526 - longoverdue.pl leaves items marked as lost as still checked out to patron 2012-03-20 11:22:52 +01:00
MARC21_parse_test.pl Bug 6752: Be stricter with utf-8 encoding of output 2012-01-27 12:11:06 +01:00
overdue_notices.pl Bug 8378 - <fine> syntax not working on overdues anymore 2012-09-14 17:52:25 +02:00
printoverdues.sh Bug 6048: printoverdues.sh bash odities 2011-10-07 14:14:53 +13:00
process_message_queue.pl Bug 5251 : Enhancement: [3.2] (Resubmission) Adding code to support using gmail as an SMTP server 2011-04-08 14:01:15 +12:00
purge_suggestions.pl Bug 5944 : (MT #3000) new cronjob script to delete old suggestions 2011-03-24 22:10:20 +13:00
runreport.pl Bug 7993: Save reports with Group/Subgroup hierarchy 2012-09-18 17:49:08 +02:00
serialsUpdate.pl Bug 8782: Close a subscription 2012-11-30 08:14:24 -05:00
services_throttle.pl Minor updates to minor cronjob script. 2008-12-31 09:47:54 -06:00
staticfines.pl Bug 8420: tool statisticfines.pl and hourly loan 2012-09-14 16:19:25 +02:00
update_totalissues.pl Bug 6557: Record bib popularity in totalissues 2012-06-29 14:29:22 +02:00