소스 검색

Fix to bug in bill timberline poster

Kenric Nugteren 9 달 전
부모
커밋
e80510a38e
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      prs.shared/Posters/Timberline/BillTimberlinePoster.cs

+ 4 - 0
prs.shared/Posters/Timberline/BillTimberlinePoster.cs

@@ -482,6 +482,10 @@ public class BillTimberlinePoster : ITimberlinePoster<Bill, BillTimberlineSettin
                         }
                         lineData.AddRange(poias.Select(x => new LineData(x.Job, poCost, poQty, x, x.Quantity)));
                     }
+                    else
+                    {
+                        lineData.Add(new(poItem.Job, poCost, poQty, poItem, poQty));
+                    }
 
                     foreach(var line in lineData)
                     {