Add push buttons and support inactive products

This commit is contained in:
2015-03-24 14:53:02 +01:00
parent b0bab98be8
commit e720d6b31c
22 changed files with 74 additions and 21 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
class ProductSerializer < Qwaiter::Serializer
attributes :name, :price, :description, :image, :code, :position, :visible, :product_category_id
attributes :name, :price, :description, :image, :code, :position, :visible, :active, :product_category_id
def image
if object.image.present?