From: Bill Erickson Date: Wed, 28 Oct 2015 20:52:02 +0000 (-0400) Subject: JBAS-944 update ACQ cancel reason labels X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bba013a50ab2cb98c0786d771df9d0029a46e585;p=working%2FEvergreen.git JBAS-944 update ACQ cancel reason labels Signed-off-by: Bill Erickson --- diff --git a/KCLS/sql/schema/deploy/2.5-to-2.7-upgrade.sql b/KCLS/sql/schema/deploy/2.5-to-2.7-upgrade.sql index 5c99ab4b3e..3104a1b368 100644 --- a/KCLS/sql/schema/deploy/2.5-to-2.7-upgrade.sql +++ b/KCLS/sql/schema/deploy/2.5-to-2.7-upgrade.sql @@ -6666,6 +6666,14 @@ UPDATE acq.cancel_reason SET label = oils_i18n_gettext(1,'Delayed: Backorder', 'acqcr', 'label') WHERE id = 1283 AND label = 'Backorder quantity'; +-- KCLS CUSTOM +-- Go ahead and update all cancel reasons + +UPDATE acq.cancel_reason SET label = 'Canceled: ' || label + WHERE keep_debits is FALSE AND label NOT ILIKE 'cancel%'; + +UPDATE acq.cancel_reason SET label = 'Delayed: ' || label + WHERE keep_debits is TRUE AND label NOT ILIKE 'delay%'; -- PO template mods used to live here.