supplier client sections working with problematic authentication still active

This commit is contained in:
2020-02-27 15:44:43 -05:00
parent 9e86b18c3e
commit 2149345d3d
33 changed files with 456 additions and 281 deletions
+1
View File
@@ -11,6 +11,7 @@ class SectionElement
view :by_supplier_id, key: :supplier_id
view :by_section_id, key: :section_id
view :by_supplier_id_and_id, key: [:supplier_id, :_id]
def self.for_supplier(supplier)
find_all_by_supplier_id(supplier.id)