DeliveryConfirmation: Add Statistics table

This commit is contained in:
2023-10-16 22:23:42 +02:00
parent 8c49cc8ef2
commit ff2968c989
8 changed files with 268 additions and 147 deletions

View File

@ -52,45 +52,45 @@ table.delivery tr.sum td {
padding-top: 1mm;
}
table.delivery-stats {
table.delivery-note-stats {
font-size: 8pt;
break-inside: avoid;
break-after: avoid;
}
table.delivery-stats th,
table.delivery-stats td {
table.delivery-note-stats th,
table.delivery-note-stats td {
padding: 0.125mm 0;
}
table.delivery-stats:not(.expanded) tr.optional {
table.delivery-note-stats:not(.expanded) tr.optional {
display: none;
}
table.delivery-stats tr.subheading th {
table.delivery-note-stats tr.subheading th {
text-align: left;
}
table.delivery-stats.expanded tr.subheading:not(:has(~ tr)),
table.delivery-stats tr.subheading:not(:has(~ tr:not(.optional))) {
table.delivery-note-stats.expanded tr.subheading:not(:has(~ tr)),
table.delivery-note-stats tr.subheading:not(:has(~ tr:not(.optional))) {
display: none;
}
table.delivery-stats thead th {
table.delivery-note-stats thead th {
font-weight: normal;
font-style: italic;
text-align: right;
}
table.delivery-stats thead th:first-child {
table.delivery-note-stats thead th:first-child {
text-align: left;
}
table.delivery-stats td {
table.delivery-note-stats td {
text-align: right;
}
table.delivery-stats tbody th {
table.delivery-note-stats tbody th {
font-weight: normal;
font-style: italic;
text-align: left;