Implement tooltips for suppliers table view
This commit is contained in:
@@ -314,6 +314,10 @@ class List
|
||||
Order.count_active_for_supplier_and_list(supplier_id, id) > 0
|
||||
end
|
||||
|
||||
def active_orders
|
||||
Order.active_for_supplier_and_list(supplier_id, id)
|
||||
end
|
||||
|
||||
# Return a join requests object in the form of:
|
||||
# {join_request: [{user_id: '1saf3...', user_email: 'info@qwaiter.com'}, [....]]}
|
||||
def join_requests_as_json
|
||||
|
||||
Reference in New Issue
Block a user