Supplier with specced time zone and night offset support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user