Koha-clms/installer/data/mysql
Jonathan Druart 777814a260 Bug 10845: Multi transport types for holds
The HOLD_PRINT and HOLD_PHONE notices become useless.
This patch modifies existing notices in order to group them into the
main notice type 'HOLD', with any pre-existing print and phone
templates in the appropriate places.

Test plan:
- Apply the patch and execute the update database entry.
- Verify that your previous HOLD_PHONE and HOLD_PRINT are displayed
  when editing the HOLD notice (under phone and print).
- Choose a patron and check SMS, email, phone for "Hold filled"
  (on the patron messaging preferences).
- Place a hold.
- Check the item in and confirm the hold.
- If the patron has an email *and* a SMS number, 2 new messages are put
  into the  message_queue table: 1 sms and 1 email.
  If the patron does not have 1 of them, there are 2 new messages: 1
  sms/email and 1 print.
  If the user has neither of them, there is 1 new message: 1 print.
- The generated messages should correspond with the notices defined,
  depending the message transport type.

Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Just noting that if email and SMS are disabled in the msg prefs, the user
will not have a print message.
And if the SMS driver fails, the record status in message_queue is 'failed',
but staff may not be aware of that.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-05-02 20:29:19 +00:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 10845: Remove the notice code HOLD_PRINT in seed data 2014-05-02 20:29:19 +00:00
en Bug 10845: Remove the notice code HOLD_PRINT in seed data 2014-05-02 20:29:19 +00:00
es-ES Bug 10845: Remove the notice code HOLD_PRINT in seed data 2014-05-02 20:29:19 +00:00
fr-FR Bug 10845: Remove the notice code HOLD_PRINT in seed data 2014-05-02 20:29:19 +00:00
it-IT Bug 10845: Remove the notice code HOLD_PRINT in seed data 2014-05-02 20:29:19 +00:00
nb-NO Bug 10845: Remove the notice code HOLD_PRINT in seed data 2014-05-02 20:29:19 +00:00
pl-PL Bug 10845: Remove the notice code HOLD_PRINT in seed data 2014-05-02 20:29:19 +00:00
ru-RU Bug 10845: Remove the notice code HOLD_PRINT in seed data 2014-05-02 20:29:19 +00:00
uk-UA Bug 9032: (follow-up) wording tweaks 2014-04-20 22:00:46 +00:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 9016: DB changes: new table overduerules_transport_types 2014-05-02 20:29:17 +00:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sysprefs.sql Bug 11334: (follow-up) fix errors in database update 2014-04-29 16:06:52 +00:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 10845: Multi transport types for holds 2014-05-02 20:29:19 +00:00