diff --git a/Elwig/Documents/DeliveryConfirmation.cshtml b/Elwig/Documents/DeliveryConfirmation.cshtml index f16b1b9..8ec6373 100644 --- a/Elwig/Documents/DeliveryConfirmation.cshtml +++ b/Elwig/Documents/DeliveryConfirmation.cshtml @@ -33,9 +33,9 @@ <th>Gewicht</th> <th rowspan="3" style="padding: 0;"> <svg width="10" height="40" xmlns="http://www.w3.org/2000/svg"> - <text x="-40" y="5" transform="rotate(270)" font-size="8pt" font-style="italic" font-family="Times New Roman" + <text x="-40" y="4" transform="rotate(270)" font-size="8pt" font-style="italic" font-family="Times New Roman" style="text-anchor: start; alignment-baseline: middle;"> - bto./nto. + gerebelt </text> </svg> </th> @@ -81,7 +81,7 @@ } @if (i == p.Buckets.Length - 1) { <td class="number">@($"{p.Weight:N0}")</td> - <td class="small">@(p.IsNetWeight ? "n" : "b")</td> + <td class="small">@(p.IsNetWeight ? "\u2713" : "")</td> } else { <td></td> <td></td> diff --git a/Tests/DocumentTests/DeliveryConfirmationTest.cs b/Tests/DocumentTests/DeliveryConfirmationTest.cs index 3c9e710..af8c9db 100644 --- a/Tests/DocumentTests/DeliveryConfirmationTest.cs +++ b/Tests/DocumentTests/DeliveryConfirmationTest.cs @@ -24,12 +24,12 @@ namespace Tests.DocumentTests { Assert.That(text, Contains.Substring($"Wolkersdorf, am {Elwig.Helpers.Utils.Today:dd.MM.yyyy}")); Assert.That(text, Contains.Substring("Anlieferungsbestätigung 2020")); Assert.That(text, Contains.Substring(""" - 20201001X003 2 Grüner Veltliner Kabinett Kabinett 87 17,6 ungeb.: 3 129 3 129 n - 20201001X003 3 Grüner Veltliner Qualitätswein 79 16,1 ungeb.: 1 280 1 280 n - 20201001X003 1 Grüner Veltliner Qualitätswein 75 15,4 ungeb.: 2 561 2 561 n - 20201001X001 1 Grüner Veltliner Qualitätswein 73 15,0 ungeb.: 3 219 3 219 n - 20201001X005 2 Welschriesling Kabinett 84 17,1 ungeb.: 2 190 2 190 n - 20201001X005 1 Welschriesling Kabinett 84 17,0 ungeb.: 3 192 3 192 n + 20201001X003 2 Grüner Veltliner Kabinett Kabinett 87 17,6 ungeb.: 3 129 3 129 ✓ + 20201001X003 3 Grüner Veltliner Qualitätswein 79 16,1 ungeb.: 1 280 1 280 ✓ + 20201001X003 1 Grüner Veltliner Qualitätswein 75 15,4 ungeb.: 2 561 2 561 ✓ + 20201001X001 1 Grüner Veltliner Qualitätswein 73 15,0 ungeb.: 3 219 3 219 ✓ + 20201001X005 2 Welschriesling Kabinett 84 17,1 ungeb.: 2 190 2 190 ✓ + 20201001X005 1 Welschriesling Kabinett 84 17,0 ungeb.: 3 192 3 192 ✓ """)); Assert.That(text, Contains.Substring("Gesamt: 15 571")); Assert.That(text, Contains.Substring("""