Improve stuff and add counters

This commit is contained in:
2014-04-07 10:46:10 +02:00
parent 7915cc6684
commit 19acd26dbc
8 changed files with 64 additions and 6 deletions
@@ -1,7 +1,7 @@
class UserExtendedSupplierSerializer < Qwaiter::Serializer
self.root = :supplier
embed :ids, include: true
attributes :extended_version, :open, :name
attributes :extended_version, :open, :name, :orders_in_process_count, :orders_placed_count
has_many :product_categories
def extended_version