|
|
|
@ -188,7 +188,7 @@ class Statement(CommonModel):
|
|
|
|
|
|
|
|
|
|
|
|
# excursion specific
|
|
|
|
# excursion specific
|
|
|
|
if self.excursion is None:
|
|
|
|
if self.excursion is None:
|
|
|
|
return
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
|
|
for yl in self.excursion.jugendleiter.all():
|
|
|
|
for yl in self.excursion.jugendleiter.all():
|
|
|
|
ref = _("Compensation for %(excu)s") % {'excu': self.excursion.name}
|
|
|
|
ref = _("Compensation for %(excu)s") % {'excu': self.excursion.name}
|
|
|
|
@ -349,6 +349,8 @@ class Statement(CommonModel):
|
|
|
|
'total_staff': self.total_staff,
|
|
|
|
'total_staff': self.total_staff,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return dict(context, **excursion_context)
|
|
|
|
return dict(context, **excursion_context)
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
return context
|
|
|
|
|
|
|
|
|
|
|
|
def grouped_bills(self):
|
|
|
|
def grouped_bills(self):
|
|
|
|
return self.bill_set.values('short_description')\
|
|
|
|
return self.bill_set.values('short_description')\
|
|
|
|
|