LP#1891550: stamp schema update and add release notes entry
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 10 Mar 2021 22:14:47 +0000 (17:14 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 10 Mar 2021 22:14:47 +0000 (17:14 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1253.data.booking-print-context.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.booking-print-context.sql [deleted file]
docs/RELEASE_NOTES_NEXT/miscellaneous.adoc

index 326fc4f..50e8047 100644 (file)
@@ -92,7 +92,7 @@ CREATE TRIGGER no_overlapping_deps
     BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
     FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
 
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1252', :eg_version); -- sandbergja/rhamby/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1253', :eg_version); -- berick/terranm/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1253.data.booking-print-context.sql b/Open-ILS/src/sql/Pg/upgrade/1253.data.booking-print-context.sql
new file mode 100644 (file)
index 0000000..e910477
--- /dev/null
@@ -0,0 +1,16 @@
+
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1253', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.print.template_context.booking_capture', 'gui', 'string',
+    oils_i18n_gettext(
+        'eg.print.template_context.booking_capture',
+        'Print Template Context: booking_capture',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.booking-print-context.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.booking-print-context.sql
deleted file mode 100644 (file)
index 3b9c902..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version);
-
-INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
-VALUES (
-    'eg.print.template_context.booking_capture', 'gui', 'string',
-    oils_i18n_gettext(
-        'eg.print.template_context.booking_capture',
-        'Print Template Context: booking_capture',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;
index 3d1b765..0f4d43a 100644 (file)
@@ -13,5 +13,8 @@
  * The staff catalog now has the ability to add all search results (up to
    1,000 titles) to the basket in one fell swoop.
  * Add 'All Videos' as a search format.
+ * Server-side print templates can now have print contexts set.
+ * Add ability to set the print context for a print template to "No-Print"
+   to specify, well, that a given receipt should never be printed.
 
 For acknowledgments: Carmen Oleskevich (French translations; staff member at BC Coop)