Implement tooltips for suppliers table view

This commit is contained in:
2013-03-11 21:46:56 +01:00
parent 0979eda9be
commit 7386768991
28 changed files with 6641 additions and 19 deletions
+4
View File
@@ -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