big refactor for test and admin namespace
This commit is contained in:
@@ -24,6 +24,7 @@ class Order
|
||||
}
|
||||
}], reduce_function: '_sum'
|
||||
view :by_supplier_id_and_id, key: [:supplier_id, :_id]
|
||||
view :by_list_id, key: :list_id
|
||||
|
||||
# Return all currently active orders for a given supplier
|
||||
def self.active_for_supplier(supplier_id)
|
||||
|
||||
Reference in New Issue
Block a user