MemberDataSheet: Minor improvements

This commit is contained in:
2023-12-21 22:49:57 +01:00
parent 1bdb7183ed
commit f7cdd7a4c1
4 changed files with 10 additions and 6 deletions

View File

@ -64,7 +64,7 @@ aside table thead:not(:first-child) tr {
border-top: 0.5pt solid #808080; border-top: 0.5pt solid #808080;
} }
aside table thead th { aside table thead tr {
background-color: #E0E0E0; background-color: #E0E0E0;
font-size: 10pt; font-size: 10pt;
} }

View File

@ -100,6 +100,10 @@ main table.tiny tr.subheading td {
font-size: 8pt; font-size: 8pt;
} }
main table tr.sectionheading {
background-color: #E0E0E0;
}
main table tr.sectionheading th { main table tr.sectionheading th {
padding-top: 1mm; padding-top: 1mm;
padding-bottom: 1mm; padding-bottom: 1mm;

View File

@ -19,10 +19,10 @@
<tbody> <tbody>
<tr class="sectionheading"><th colspan="5">Persönliche Daten</th></tr> <tr class="sectionheading"><th colspan="5">Persönliche Daten</th></tr>
<tr> <tr>
<th class="small">Titel</th> <th class="small">Titel (vorangestellt)</th>
<th class="small">Vorname</th> <th class="small">Vorname</th>
<th colspan="2" class="small">Nachname</th> <th colspan="2" class="small">Nachname</th>
<th class="small">Titel</th> <th class="small">Titel (nachgestellt)</th>
</tr> </tr>
<tr> <tr>
<td class="large">@Model.Member.Prefix</td> <td class="large">@Model.Member.Prefix</td>
@ -174,7 +174,7 @@
</tr> </tr>
@foreach (var areaCom in contractType.AreaComs) { @foreach (var areaCom in contractType.AreaComs) {
<tr class="area-commitment"> <tr class="area-commitment">
<td>@areaCom.Kg.AtKg.Name <span style="font-size: 8pt;">(@areaCom.Kg.AtKg.KgNr)</span></td> <td>@areaCom.Kg.AtKg.Name <span style="font-size: 8pt;">(@($"{areaCom.Kg.AtKg.KgNr:00000}"))</span></td>
<td>@areaCom.Rd?.Name</td> <td>@areaCom.Rd?.Name</td>
<td class="text">@areaCom.GstNr.Replace(",", ", ").Replace("-", "")</td> <td class="text">@areaCom.GstNr.Replace(",", ", ").Replace("-", "")</td>
<td class="number">@($"{areaCom.Area:N0}")</td> <td class="number">@($"{areaCom.Area:N0}")</td>

View File

@ -1,6 +1,6 @@
 
h2 { table.member {
/*break-before: page;*/ margin-bottom: 5mm;
} }
table.area-commitements { table.area-commitements {