Przeglądaj źródła

PRS DESKTOP - bug fix PO screen not showing all POs if show all configuration was saved

Nick-PRSDigital@bitbucket.org 2 lat temu
rodzic
commit
1d9ff2f4be

+ 3 - 0
prs.desktop/Panels/Suppliers/SupplierPurchaseOrderPanel.xaml.cs

@@ -74,6 +74,9 @@ namespace PRSDesktop
         public void Setup()
         {
             settings = new UserConfiguration<PurchaseScreenSettings>().Load();
+            if (settings.ShowAll)
+                Orders.ShowAll = true;
+
             SplitPanel.View = settings.ViewType == ScreenViewType.Register ? DynamicSplitPanelView.Master :
                 settings.ViewType == ScreenViewType.Details ? DynamicSplitPanelView.Detail : DynamicSplitPanelView.Combined;
             SplitPanel.MasterWidth = settings.PurchaseColumnWidth;