htmlpage Tankkarte_Details(ID)
displayname = "Tankkarte Details"
print = true
pdf = true
content
<%{
Mitarbeiter = Personalien [ID == input.ID.toLong()];%> <strong> Mitarbeiter</strong>: <u><%=Mitarbeiter.Name%> <%=Mitarbeiter.Vorname%></u><%if (Mitarbeiter.ID == input.ID.toLong())
{%> <table width="200" border="3" align="center" cellpadding="2" cellspacing="2">
<caption><span style="color: rgb(0, 0, 255);"><strong>Tankkarte Details</strong></span></caption>
<tbody>
<tr>
<th scope="row">Monat<span class="Apple-tab-span" style="white-space:pre"> </span></th>
<td><strong> Betrag (CHF)</strong></td>
</tr>
<%for each rec in Tankkarte [recID == Mitarbeiter.ID]
{%>
<tr>
<td style="text-align: center;"> <%=rec.Monat%> </td>
<td style="text-align: center;"> <%=rec.Betrag%> </td>
</tr>
<%}%>
</tbody>
</table>
<%}
}%>