Ændret udregning af moms

Moms i total var udregnet med 25% og ikke 20%, det er nu rettet til.
This commit is contained in:
2026-07-20 08:54:45 +02:00
parent fa1bba2307
commit 4222ce4ab8

View File

@@ -81,7 +81,7 @@ namespace EpsonPrinter.Services
} }
if (body.TotalVat <= 0) if (body.TotalVat <= 0)
{ {
body.TotalVat = Math.Round(body.TotalPrice * 0.25m, 2); body.TotalVat = Math.Round(body.TotalPrice * 0.20m, 2);
} }
var footer = (model.Footer != null && model.Footer.Any()) ? model.Footer : BuildDefaultFooter(); var footer = (model.Footer != null && model.Footer.Any()) ? model.Footer : BuildDefaultFooter();
@@ -175,7 +175,7 @@ namespace EpsonPrinter.Services
{ {
new HeaderModel new HeaderModel
{ {
Value = _config["PrintSettings:Defaults:StoreName"] ?? "TableTop3D", Value = _config["PrintSettings:Defaults:StoreName"] ?? "Blomster Til Alt",
TextAlignment = Enums.AlignmentEnum.Center, TextAlignment = Enums.AlignmentEnum.Center,
FeedingLines = 0, FeedingLines = 0,
PrintStyles = new PrintStyleModel { Bold = true, DoubleWidth = true, DoubleHeight = true } PrintStyles = new PrintStyleModel { Bold = true, DoubleWidth = true, DoubleHeight = true }