%inherit file="/page.mako" />
- Beschreibung: ${exp.description}
- Kategorie: ${exp.category.name}
- Betrag: ${exp.expense}
- Betrag pro Monat: ${exp.monthly}
- Start: ${dformat(exp.start)}
- Ende: ${dformat(exp.end)}
- Zahlungsrhythmus:
% if exp.months == 1:
jeden Monat
% else:
alle ${exp.months} Monate
% endif
Edit Create new based on this
<%
def create(p):
return ("const/%s" % p.id, "%s (%s-%s)" % (p.description, dformat(p.start), dformat(p.end)))
p = exp.prev
if p:
context.write(self.left_arrow(*create(p)))
p = exp.next
if p:
context.write(self.right_arrow(*create(p)))
%>
<%def name="heading()">
Konstante Kosten
%def>