diff --git a/Elwig/Documents/CreditNote.cs b/Elwig/Documents/CreditNote.cs index a7e85bd..4a765c3 100644 --- a/Elwig/Documents/CreditNote.cs +++ b/Elwig/Documents/CreditNote.cs @@ -321,7 +321,7 @@ namespace Elwig.Documents { var totalMod = p.TotalModifiers ?? 0; var pad = i == 0 ? 0.5f : 0; sub.AddCell(NewTd(rebelMod == 0 ? "-" : (Utils.GetSign(rebelMod) + $"{Math.Abs(rebelMod):0.0##}"), 6, center: true) - .SetPaddingTopMM(pad)) + .SetPaddingTopMM(pad).SetPaddingLeft(0).SetPaddingRight(0)) .AddCell(NewTd(totalMod == 0 ? "-" : Utils.GetSign(totalMod) + $"{Math.Abs(totalMod):N2}", center: totalMod == 0, right: true) .SetPaddingTopMM(pad)) .AddCell(NewTd($"{p.Amount:N2}", right: true)