Commit Graph

6 Commits

Author SHA1 Message Date
Andreas Zweili
2646b964ca fix the get_objects function 2020-02-29 19:26:17 +01:00
Andreas Zweili
19ff961cfa correct get_objects to return 404 with wrong value 2020-02-29 19:01:16 +01:00
Andreas Zweili
7b511ccda2 add various comments 2020-02-29 15:35:46 +01:00
Andreas Zweili
26dcbf4cb5 add a function to get objects limited to customer
this function will return a queryset containing only items which are
related to customers the user is allowed to view.
2020-02-29 15:16:26 +01:00
Andreas Zweili
e882e062e8 add function to get customer objects for user
With this function we get a list of customers the user is allowed to view.
2020-02-29 15:00:22 +01:00
Andreas Zweili
da1375a030 calculate the warranty duration from the dates provided 2020-02-16 20:15:47 +01:00