Prechádzať zdrojové kódy

Fixed Non-Stock Product Selection for Bill Lines

frogsoftware 1 rok pred
rodič
commit
777e4a7e93
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      prs.classes/Entities/Bill/BillLine.cs

+ 1 - 1
prs.classes/Entities/Bill/BillLine.cs

@@ -72,7 +72,7 @@ namespace Comal.Classes
         private class ProductLookupGenerator : LookupDefinitionGenerator<Product, BillLine>
         {
             public override Filter<Product>? DefineFilter(BillLine[] items)
-                => new Filter<Product>(x => x.NonStock);
+                => new Filter<Product>(x => x.NonStock).IsEqualTo(true);
         }
         [EditorSequence(2)]
         [LookupDefinition(typeof(ProductLookupGenerator))]