|
@@ -42,8 +42,6 @@ public class CustomerReceipts : DynamicDataGrid<Receipt>, IPanel<Receipt>
|
|
|
{
|
|
|
//AddButton("Show All", PRSDesktop.Resources.view.AsBitmapImage(), ToggleView);
|
|
|
OnBeforeSave += BeforeSave;
|
|
|
-
|
|
|
- _settings = new UserConfiguration<ReceiptGridSettings>().Load();
|
|
|
}
|
|
|
|
|
|
protected override void DoReconfigure(FluentList<DynamicGridOption> options)
|
|
@@ -55,6 +53,8 @@ public class CustomerReceipts : DynamicDataGrid<Receipt>, IPanel<Receipt>
|
|
|
protected override void Init()
|
|
|
{
|
|
|
base.Init();
|
|
|
+
|
|
|
+ _settings = new UserConfiguration<ReceiptGridSettings>().Load();
|
|
|
|
|
|
FilterComponent.SetSettings(_settings.Filters, refresh: false);
|
|
|
FilterComponent.OnFiltersSelected += FilterComponent_OnFilterSelected;
|