if order
  json.order_id  order.order_id

  json.date     order.date.try(:utc)

  json.source   order.source

  json.customer_id  order.customer_id

  json.customer_name order.try(:customer).try(:name)

  json.order_by  order.waiters

  json.order_items order.order_items, partial: "api/order_items/order_item", as: :order_item
end
