Skip to content
Snippets Groups Projects
Verified Commit 68fb0de2 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Reformat

parent 662664d3
No related branches found
No related tags found
1 merge request!15Update dependency django-payments to v1
Pipeline #60597 failed
......@@ -8,14 +8,12 @@ from .models.invoice import Invoice
class InvoicesFilter(FilterSet):
variant = ChoiceFilter(choices=Invoice.get_variant_choices())
status = ChoiceFilter(choices=PaymentStatus.CHOICES)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.form.layout = Layout(
Row("variant", "status"),
)
class Meta:
models = Invoice
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment