Intervention Detail View

* adds related object overview in detail view
* adds comment field to payment model for 'Verwendungszweck'
* simplifies intervention urls
* adds translations
This commit is contained in:
mipel
2021-07-22 14:58:58 +02:00
parent 5e48bac013
commit ff11051fbb
6 changed files with 186 additions and 29 deletions

View File

@@ -23,6 +23,12 @@ class Payment(BaseResource):
"""
amount = models.FloatField(validators=[MinValueValidator(limit_value=0.00)])
due_on = models.DateField(null=True)
comment = models.CharField(
max_length=1000,
null=True,
blank=True,
help_text="Refers to german money transfer 'Verwendungszweck'",
)
class CompensationControl(BaseResource):