From b727b5011bc5cd78e83a73e54f99fb36f226d06f Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Fri, 18 Jan 2019 12:38:22 -0500 Subject: [PATCH] LP1759343: Bills Annotation Persistance Make the Annotate option on the patron Bills page persistant and a workstation setting. Signed-off-by: Jason Boyer Signed-off-by: Terran McCanna Signed-off-by: Jane Sandberg --- .../src/sql/Pg/upgrade/XXXX.data.annotate_payment_setting.sql | 8 ++++++++ Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 | 2 +- Open-ILS/web/js/ui/default/staff/circ/patron/bills.js | 11 ++++++++++- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.data.annotate_payment_setting.sql diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.annotate_payment_setting.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.annotate_payment_setting.sql new file mode 100644 index 0000000000..ed749c986c --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.annotate_payment_setting.sql @@ -0,0 +1,8 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + +INSERT INTO config.workstation_setting_type (name,label,grp,datatype) VALUES ('eg.circ.bills.annotatepayment','Bills: Annotate Payment', 'circ', 'bool'); + +COMMIT; + diff --git a/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 index 52c2965b01..69d04396c8 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 @@ -81,7 +81,7 @@
- +