This commit is contained in:
2021-02-22 13:44:20 +01:00
parent 08f2ddf3cb
commit 04548d428e
2 changed files with 11 additions and 3 deletions

View File

@ -2,4 +2,4 @@ MAILTO = wolfgang.hottgenroth@icloud.com
CONTENT_TYPE = "text/html" CONTENT_TYPE = "text/html"
0 0 1 * * user /opt/app/monatliche-forderung-eintragen.py 0 0 1 * * user /opt/app/monatliche-forderung-eintragen.py
* * * * * user /opt/app/monatliche-forderung-ueberwachen.py 0 14 * * * user /opt/app/monatliche-forderung-ueberwachen.py

View File

@ -1,14 +1,22 @@
<html> <html>
<head> <head>
<style type="text/css"> <style type="text/css">
td.saldo { text-align: right } .saldo { text-align: right }
.mieter { text-align: left }
tr:nth-child(even) { background: #ccc }
tr:nth-child(odd) { background: #fff }
</style> </style>
</head> </head>
<body> <body>
<h1>Offene Mietforderungen</h1>
<table> <table>
<tr>
<th class="mieter">Mieter</th>
<th class="saldo">Saldo</th>
</tr>
#for $mieter in $mietersToReport #for $mieter in $mietersToReport
<tr> <tr>
<td>$mieter.vorname $mieter.nachname</td> <td class="mieter">$mieter.vorname $mieter.nachname</td>
<td class="saldo">$mieter.saldo €</td> <td class="saldo">$mieter.saldo €</td>
</tr> </tr>
#end for #end for