many important fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class Users::ProductOrderSerializer
|
||||
include Qwaiter::UserBaseSerializer
|
||||
attributes :quantity, :price, :product_name, :product_variant
|
||||
# belongs_to :product #DO NOT USE THIS, THIS IS NOT NEEDED
|
||||
# belongs_to :product #DO NOT USE THIS, THIS IS NOT NEEDED, already included in /tables/:id/supplier
|
||||
has_one :order, serializer: Users::OrderSerializer
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user