working ember... again
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
class ListSerializer < Qwaiter::Serializer
|
||||
embed :ids
|
||||
attributes :state, :needs_help, :needs_payment, :is_paid, :price, :table_id, :table_number, :section_id
|
||||
attributes :state, :needs_help, :needs_payment, :is_paid, :price, :table_id, :table_number, :section_id, :has_active_orders
|
||||
|
||||
def has_active_orders
|
||||
object.has_active_orders?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user