diff --git a/jdav_web/finance/models.py b/jdav_web/finance/models.py index 91f0a6c..1cfc2a4 100644 --- a/jdav_web/finance/models.py +++ b/jdav_web/finance/models.py @@ -283,7 +283,7 @@ class Statement(CommonModel): if self.excursion is None: return 0 - return self.total_staff / self.excursion.staff_count + return cvt_to_decimal(self.total_staff / self.excursion.staff_count) @property def total_staff(self): diff --git a/jdav_web/jdav_web/settings/local.py b/jdav_web/jdav_web/settings/local.py index 2e68dfd..4e3d49e 100644 --- a/jdav_web/jdav_web/settings/local.py +++ b/jdav_web/jdav_web/settings/local.py @@ -22,7 +22,7 @@ MAX_AGE_GOOD_CONDUCT_CERTIFICATE_MONTHS = 24 # finance -ALLOWANCE_PER_DAY = 10 +ALLOWANCE_PER_DAY = 22 MAX_NIGHT_COST = 11 CLOUD_LINK = 'https://nc.cloud-jdav-hd.de'