Mace moving table in supplier main board work and specced

This commit is contained in:
2014-05-28 17:26:47 +02:00
parent 8faf5f3c0a
commit 901c9ac5c8
12 changed files with 34 additions and 14 deletions
@@ -2,7 +2,7 @@ class SupplierExtendedListSerializer < Qwaiter::Serializer
# user ids for facebook pictures
embed :ids, include: true
root 'list'
attributes :state, :needs_help, :needs_payment, :user_requests_closing, :is_paid, :price, :table_id, :table_number, :section_id, :supplier_id, :closed_at #, :has_active_orders
attributes :state, :needs_help, :needs_payment, :user_requests_closing, :is_paid, :price, :table_id, :section_id, :supplier_id, :closed_at #, :has_active_orders
#def has_active_orders
#object.has_active_orders?