Move supplier full pull to being an api for the ember app and handle login and authorization a little bit better (should be even a lot better in the future)

This commit is contained in:
2020-03-03 17:11:57 -05:00
parent a7e771557d
commit 51748d5783
15 changed files with 55 additions and 22 deletions
@@ -1,6 +1,6 @@
class Employees::EmployeeShiftSerializer
include Qwaiter::EmployeeBaseSerializer
attributes :start_from, :end_on, :description
attributes :start_from, :end_on, :description, :full_day
has_one :supplier, serializer: Employees::SupplierSerializer
has_one :employee, serializer: Employees::EmployeeSerializer
end