DeliveryConfirmation: Keep last two tables together on page

This commit is contained in:
2023-12-19 22:04:34 +01:00
parent 18600a44da
commit 16d429e9e4
2 changed files with 10 additions and 2 deletions

View File

@ -77,7 +77,7 @@ namespace Elwig.Documents {
tbl += "<tr class=\"sum\"><td></td>" + string.Join("", totals.Select(v => $"<td class=\"number\">{v:N0}</td>")) +
$"<td class=\"number\">{totalDict.Values.Sum():N0}</td></tr>";
return "<table class=\"small number cohere\">" + tbl + "</table>";
return "<table class=\"sortenaufteilung small number cohere\">" + tbl + "</table>";
}
private static string FormatRow(int obligation, int right, int delivery, int? payment = null, bool isGa = false, bool showPayment = false) {
@ -154,7 +154,7 @@ namespace Elwig.Documents {
}
tbl += "\n</tbody>\n";
return $"<table class=\"{(isTiny ? "tiny" : "small")} number cohere\">\n" + tbl + "\n</table>";
return $"<table class=\"buckets {(isTiny ? "tiny" : "small")} number cohere\">\n" + tbl + "\n</table>";
}
}
}