Bladeren bron

Fixed rounding typo

frogsoftware 9 maanden geleden
bovenliggende
commit
843bcf9499
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      prs.shared/Posters/MYOB/BillMYOBPoster.cs

+ 1 - 1
prs.shared/Posters/MYOB/BillMYOBPoster.cs

@@ -236,7 +236,7 @@ public class BillMYOBPoster : IMYOBPoster<Bill, BillMYOBPosterSettings>
                     }
                     }
                     line.Account ??= new();
                     line.Account ??= new();
                     line.Account.UID = accountID;
                     line.Account.UID = accountID;
-                    line.Total = Math.Round(Convert.ToDecimal(billLine.IncTax, 2));
+                    line.Total = Math.Round(Convert.ToDecimal(billLine.IncTax), 2);
                     line.TotalForeign = 0;
                     line.TotalForeign = 0;
                     // line.UnitsOfMeasure =
                     // line.UnitsOfMeasure =
                     // line.UnitCount =
                     // line.UnitCount =