update accounting model for bigger decimal

This commit is contained in:
2017-03-02 16:11:11 +01:00
parent 1323976521
commit 778078e86d
2 changed files with 21 additions and 1 deletions

View File

@@ -102,7 +102,7 @@ class Accounting(models.Model):
desk = models.ForeignKey(Desk, verbose_name="Tisch")
time_from = models.DateTimeField(verbose_name="Beginn")
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")
prize = models.DecimalField(max_digits=6, decimal_places=2, blank=True, null=True, verbose_name="Preis")
billed = models.BooleanField(default=False, verbose_name="Abgerechnet")
def __str__(self):