From f250a306e269e903ac1df4060381809e8e70ed85 Mon Sep 17 00:00:00 2001 From: Karl Lum Date: Mon, 8 Sep 2025 09:49:33 -0700 Subject: [PATCH] Updates to the vendor views (#175) --- OConnor/module.properties | 2 +- .../queries/oconnor/vendors.query.xml | 87 +++-- .../vendors/dashboard_vendors.qview.xml | 32 +- .../postgresql/oconnor-25.000-25.001.sql | 2 + OConnor/resources/schemas/oconnor.xml | 2 +- OConnor/resources/views/enabled_vendors.html | 307 ++++++------------ .../resources/views/enabled_vendors.view.xml | 1 + 7 files changed, 166 insertions(+), 267 deletions(-) create mode 100644 OConnor/resources/schemas/dbscripts/postgresql/oconnor-25.000-25.001.sql diff --git a/OConnor/module.properties b/OConnor/module.properties index 98e38f0e..89d405f4 100644 --- a/OConnor/module.properties +++ b/OConnor/module.properties @@ -1,4 +1,4 @@ Name: OConnor -SchemaVersion: 25.000 +SchemaVersion: 25.001 RequiredServerVersion: 16.30 ManageVersion: true diff --git a/OConnor/resources/queries/oconnor/vendors.query.xml b/OConnor/resources/queries/oconnor/vendors.query.xml index 5effa07c..462729f1 100644 --- a/OConnor/resources/queries/oconnor/vendors.query.xml +++ b/OConnor/resources/queries/oconnor/vendors.query.xml @@ -1,47 +1,44 @@ - - - - vendor - - - false - false - - - true - - - URL - - - Purchase order number -50 - - - - 50 - - - 125 - - - 125 - - - 50 - - - 50 - - - 50 - - - 50 - - -
-
-
+ + + + vendor + + + false + false + + + true + + + URL + + + Purchase order number + 50 + + + 50 + + + + 125 + + + 50 + + + 50 + + + 50 + + + 50 + + +
+
+
diff --git a/OConnor/resources/queries/oconnor/vendors/dashboard_vendors.qview.xml b/OConnor/resources/queries/oconnor/vendors/dashboard_vendors.qview.xml index 7df53d8d..3e3acf6e 100644 --- a/OConnor/resources/queries/oconnor/vendors/dashboard_vendors.qview.xml +++ b/OConnor/resources/queries/oconnor/vendors/dashboard_vendors.qview.xml @@ -1,23 +1,15 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/OConnor/resources/schemas/dbscripts/postgresql/oconnor-25.000-25.001.sql b/OConnor/resources/schemas/dbscripts/postgresql/oconnor-25.000-25.001.sql new file mode 100644 index 00000000..d0417c93 --- /dev/null +++ b/OConnor/resources/schemas/dbscripts/postgresql/oconnor-25.000-25.001.sql @@ -0,0 +1,2 @@ +ALTER TABLE oconnor.vendors ADD COLUMN shopUW BOOLEAN; +ALTER TABLE oconnor.vendors DROP COLUMN fax; diff --git a/OConnor/resources/schemas/oconnor.xml b/OConnor/resources/schemas/oconnor.xml index 61d222ae..bbb5c0b3 100644 --- a/OConnor/resources/schemas/oconnor.xml +++ b/OConnor/resources/schemas/oconnor.xml @@ -739,7 +739,7 @@ - + diff --git a/OConnor/resources/views/enabled_vendors.html b/OConnor/resources/views/enabled_vendors.html index 9263f673..d006490e 100644 --- a/OConnor/resources/views/enabled_vendors.html +++ b/OConnor/resources/views/enabled_vendors.html @@ -1,211 +1,118 @@ - + theWindow.show(); + }; + }); + - -
+ +
\ No newline at end of file diff --git a/OConnor/resources/views/enabled_vendors.view.xml b/OConnor/resources/views/enabled_vendors.view.xml index 5f7d8f99..d19c5e4f 100644 --- a/OConnor/resources/views/enabled_vendors.view.xml +++ b/OConnor/resources/views/enabled_vendors.view.xml @@ -1,5 +1,6 @@ +