Basic fullcalendar integration

This commit is contained in:
2015-02-19 20:37:58 +01:00
parent c17442ad77
commit adeedb2f1b
34 changed files with 11018 additions and 8 deletions
@@ -1,5 +1,5 @@
class Suppliers::EmployeeSerializer < Qwaiter::Serializer
self.root = :employee
embed :ids, include: true
attributes :name, :email, :manager, :active
attributes :name, :email, :manager, :active, :color
end
@@ -0,0 +1,5 @@
class Suppliers::EmployeeShiftSerializer < Qwaiter::Serializer
self.root = :employee_shift
#embed :ids, include: true
attributes :start_on, :end_on, :employee_id
end
@@ -9,4 +9,5 @@ class Suppliers::SupplierSerializer < Qwaiter::Serializer
end
has_many :sections, serializer: Suppliers::ExtendedSectionSerializer
has_many :product_categories
has_many :employees, serializer: Suppliers::EmployeeSerializer
end