dejmail / begrepptjanst

Begreppstjänst för VGR Informatik
0 stars 0 forks source link

Adding a view so that each beställare can see what they have ordered and follow the status #52

Closed dejmail closed 3 months ago

dejmail commented 4 years ago

beställare_view

dejmail commented 4 years ago

beställare_group

dejmail commented 4 years ago

The issue I am having is that a user and a beställare are in different tables and loggin into the django admin site means that the request.id is not the same as the beställare.id. We can maybe filter on email address then ?

dejmail commented 4 years ago

This may be better if we can create a view where we filter simply by the email address of the beställare and show them everything that is coupled to that ?

dejmail commented 4 years ago

We've fixed this on the admin side, but on the user side, we may be able to just add a search based on an email address and offer a view back ? Seems a simple solution without having to introduce new search fields etc.