add testing device images and a lot more, before bootstrap:themed

This commit is contained in:
2012-08-24 13:46:59 +02:00
parent 5b27d6dcd9
commit e3c189d187
33 changed files with 2003 additions and 51 deletions
+8
View File
@@ -22,6 +22,10 @@ class List
table.supplier
end
def table_number
@table_number ||= table.number
end
def active?
state == 'active'
end
@@ -35,4 +39,8 @@ class List
ProductOrder.create order: @order, product_id: product_id, amount: number if number > 0
end
end
def as_json
super.merge(table_number: table_number)
end
end