show merch stuff in backoffice regardless of paid status
This commit is contained in:
parent
f205802f89
commit
4c1e36f72b
|
@ -1379,8 +1379,6 @@ class MerchandiseOrdersView(CampViewMixin, OrgaTeamPermissionMixin, ListView):
|
||||||
|
|
||||||
return (
|
return (
|
||||||
OrderProductRelation.objects.filter(
|
OrderProductRelation.objects.filter(
|
||||||
ticket_generated=False,
|
|
||||||
order__paid=True,
|
|
||||||
order__refunded=False,
|
order__refunded=False,
|
||||||
order__cancelled=False,
|
order__cancelled=False,
|
||||||
product__category__name="Merchandise",
|
product__category__name="Merchandise",
|
||||||
|
@ -1397,8 +1395,6 @@ class MerchandiseToOrderView(CampViewMixin, OrgaTeamPermissionMixin, TemplateVie
|
||||||
camp_prefix = "BornHack {}".format(timezone.now().year)
|
camp_prefix = "BornHack {}".format(timezone.now().year)
|
||||||
|
|
||||||
order_relations = OrderProductRelation.objects.filter(
|
order_relations = OrderProductRelation.objects.filter(
|
||||||
ticket_generated=False,
|
|
||||||
order__paid=True,
|
|
||||||
order__refunded=False,
|
order__refunded=False,
|
||||||
order__cancelled=False,
|
order__cancelled=False,
|
||||||
product__category__name="Merchandise",
|
product__category__name="Merchandise",
|
||||||
|
|
Loading…
Reference in a new issue