Explorar o código

Fixed rounding typo

frogsoftware hai 11 meses
pai
achega
843bcf9499
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 =