extend accounting model
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user