瀏覽代碼

Fixed rounding typo

frogsoftware 11 月之前
父節點
當前提交
843bcf9499
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 =