From 8c49cc8ef2a5f0ccb18a02d3d72ac53042625585 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Mon, 16 Oct 2023 18:40:19 +0200 Subject: [PATCH] DeliveryConfirmation: align weight to bottom --- Elwig/Documents/DeliveryConfirmation.cshtml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Elwig/Documents/DeliveryConfirmation.cshtml b/Elwig/Documents/DeliveryConfirmation.cshtml index 8131765..b2e2f63 100644 --- a/Elwig/Documents/DeliveryConfirmation.cshtml +++ b/Elwig/Documents/DeliveryConfirmation.cshtml @@ -73,8 +73,12 @@ } else { } + @if (i == bins.Length - 1) { + @($"{p.Weight:N0}") + } else { + + } @if (first) { - @($"{p.Weight:N0}") first = false; } @@ -84,7 +88,7 @@ } Gesamt: - @($"{Model.Deliveries.Sum(p => p.Weight):N0}") + @($"{Model.Deliveries.Sum(p => p.Weight):N0}")