Supplier with specced time zone and night offset support

This commit is contained in:
2014-01-14 17:33:58 -03:00
parent c6f0976d11
commit 6c00604b83
13 changed files with 5972 additions and 3897 deletions
-1
View File
@@ -64,7 +64,6 @@ class ProductCategory
h = {table_number: table.number, table_occupied: table.occupied?, supplier_name: supplier.name, my_list: list.try(:user_ids).to_a.include?(user.id)}
#(products - product_categories.map(&:products).flatten).each{ |p| other.add_product(p) }
h[:categories] = product_categories.map(&:to_client_format).select(&:present?)
h
end