Selaa lähdekoodia

Timberline exporter; setting Description from OrderItem if it exists.

Kenric Nugteren 1 vuosi sitten
vanhempi
commit
2db20e7da6
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      prs.shared/Posters/Timberline/BillTimberlinePoster.cs

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

@@ -309,6 +309,7 @@ public class Module
                     .Add(x => x.PurchaseOrderLink.PONumber)
                     .Add(x => x.Job.JobNumber)
                     .Add(x => x.Qty)
+                    .Add(x => x.Description)
                     .Add(x => x.Cost)
                     .Add(x => x.PostedReference)
                     );
@@ -417,6 +418,7 @@ public class Module
                             }
                             apdf.Units = poItem.Qty;
                             apdf.UnitCost = poItem.Cost;
+                            apdf.Description = poItem.Description.NotWhiteSpaceOr(apdf.Description);
                         }
                         else
                         {