Koha-clms/installer/data/mysql
Jonathan Druart 8ecb0ef544 Bug 13380: Fill order cancellation reasons from AV
Since bug 7162, it's possible to give a cancellation reason on deleting
an order.
This would be better to fill an authorised values category with the
different possible values.
Like that we will avoid to have duplicate or similar reasons.

Also, it will be easier to filter or create reports.

Test plan:
0/ Don't apply the patch
1/ Cancel some orders and give a cancelletion reason
2/ Apply the patch and execute the updatedb entry
3/ Cancel an order and verify the you have a list with the reason you
previously filled + 3 new ones ('No reason', 'Sold out' and
'Restocking');
4/ Choose one and verify the value is correctly displayed on the basket
page
5/ You can also try to add other values from the admin module.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit b475728a50)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Conflicts:
	installer/data/mysql/updatedatabase.pl
	koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
2015-03-17 20:31:35 +13:00
..
atomicupdate Bug 11867: MTT: Manage *_PHONE notices 2014-05-02 20:29:20 +00:00
de-DE Bug 13566 - Change translation for 'Rotating collection' in German web installer 2015-01-18 15:00:17 +13:00
en Bug 13380: Add the AV in the install files 2015-03-17 20:27:05 +13:00
es-ES Bug 12298: The "feed" MTT does not seem to be used and can be removed 2014-11-25 17:14:50 -03:00
fr-FR Bug 12298: The "feed" MTT does not seem to be used and can be removed 2014-11-25 17:14:50 -03:00
it-IT Bug 11954 - Clean up currency default files 2015-02-14 19:57:02 +13:00
mandatory Bug 12250: Update descriptions for languages, scripts and regions 2014-11-07 15:18:01 -03:00
nb-NO Bug 12298: The "feed" MTT does not seem to be used and can be removed 2014-11-25 17:14:50 -03:00
pl-PL Bug 13373 - [QA Followup] - Update Polish web installer sample data files 2015-02-04 20:34:59 +13:00
ru-RU Bug 11954 - Clean up currency default files 2015-02-14 19:57:02 +13:00
uk-UA Bug 11954 - Clean up currency default files 2015-02-14 19:57:02 +13:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 13523 - AddBiblio fails on mysql with STRICT_TRANS_TABLES 2015-03-11 08:08:02 +13: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 - 5511 [Followup]: QA Fixes 2015-02-14 20:08:50 +13:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 13380: Fill order cancellation reasons from AV 2015-03-17 20:31:35 +13:00