filter unpaid, cancelled and refunded orders from backoffice view
This commit is contained in:
parent
adbf1f4280
commit
2e4a44271d
|
@ -22,5 +22,5 @@ class BackofficeIndexView(StaffMemberRequiredMixin, TemplateView):
|
||||||
|
|
||||||
class InfodeskView(StaffMemberRequiredMixin, ListView):
|
class InfodeskView(StaffMemberRequiredMixin, ListView):
|
||||||
template_name = "infodesk.html"
|
template_name = "infodesk.html"
|
||||||
queryset = Order.objects.filter(orderproductrelation__handed_out=False).distinct()
|
queryset = Order.objects.filter(paid=True, cancelled=False, refunded=False, orderproductrelation__handed_out=False).distinct()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue