extend accounting model

This commit is contained in:
2017-02-27 07:58:06 +01:00
parent 1323976521
commit 0a36d3904e
2 changed files with 21 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ class Accounting(models.Model):
time_to = models.DateTimeField(blank=True, null=True, verbose_name="Ende")
prize = models.DecimalField(max_digits=5, decimal_places=2, blank=True, null=True, verbose_name="Preis")
billed = models.BooleanField(default=False, verbose_name="Abgerechnet")
reporter_uuid = models.UUIDField(blank=True, null=True, verbose_name='Reporter UUID')
def __str__(self):
return '{}: {} -> {}, {}, {}'.format(self.desk, self.time_from, self.time_to, self.prize, self.billed)