Browse Source

Fixed rounding typo

frogsoftware 9 months ago
parent
commit
843bcf9499
1 changed files with 1 additions and 1 deletions
  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.UID = accountID;
-                    line.Total = Math.Round(Convert.ToDecimal(billLine.IncTax, 2));
+                    line.Total = Math.Round(Convert.ToDecimal(billLine.IncTax), 2);
                     line.TotalForeign = 0;
                     // line.UnitsOfMeasure =
                     // line.UnitCount =