summaryrefslogtreecommitdiff
path: root/procurement/static
diff options
context:
space:
mode:
Diffstat (limited to 'procurement/static')
-rw-r--r--procurement/static/procurement/css/suppliers.css13
-rw-r--r--procurement/static/procurement/js/component_search.js3
2 files changed, 16 insertions, 0 deletions
diff --git a/procurement/static/procurement/css/suppliers.css b/procurement/static/procurement/css/suppliers.css
new file mode 100644
index 0000000..396a446
--- /dev/null
+++ b/procurement/static/procurement/css/suppliers.css
@@ -0,0 +1,13 @@
+/* hide component field on search form */
+#id_component {
+ display: none;
+}
+label[for=id_component] {
+ display: none;
+}
+.record-list {
+ display: block;
+}
+.record-updated{
+ display: block;
+} \ No newline at end of file
diff --git a/procurement/static/procurement/js/component_search.js b/procurement/static/procurement/js/component_search.js
new file mode 100644
index 0000000..cba0a16
--- /dev/null
+++ b/procurement/static/procurement/js/component_search.js
@@ -0,0 +1,3 @@
+$(document).ready(function(){
+ $("#id_component").select2();
+}); \ No newline at end of file