| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 | 
							- using Comal.Classes;
 
- using InABox.DynamicGrid;
 
- using InABox.Wpf;
 
- using PRSDesktop.Components.Spreadsheet;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- namespace PRSDesktop;
 
- public static class AccountsSetupActions
 
- {
 
-     public static void Standard(IPanelHost host)
 
-     {
 
-         host.CreateSetupActionIfCanView<ContactType>("Contact Types", PRSDesktop.Resources.contacttype, (action) =>
 
-         {
 
-             var list = new MasterList(typeof(ContactType));
 
-             list.ShowDialog();
 
-         });
 
-         host.CreateSetupActionIfCanView<TaxCode>("Tax Codes", PRSDesktop.Resources.taxcode, (action) =>
 
-         {
 
-             var list = new MasterList(typeof(TaxCode));
 
-             list.ShowDialog();
 
-         });
 
-         host.CreateSetupActionIfCanView<ReceiptType>("Receipt Types", PRSDesktop.Resources.receipt, (action) =>
 
-         {
 
-             var list = new MasterList(typeof(ReceiptType));
 
-             list.ShowDialog();
 
-         });
 
-         host.CreateSetupActionIfCanView<PaymentType>("Payment Types", PRSDesktop.Resources.payment, (action) =>
 
-         {
 
-             var list = new MasterList(typeof(PaymentType));
 
-             list.ShowDialog();
 
-         });
 
-         host.CreateSetupActionIfCanView<CostCentre>("Cost Centres", PRSDesktop.Resources.costcentre, (action) =>
 
-         {
 
-             var list = new MasterList(typeof(CostCentre));
 
-             list.ShowDialog();
 
-         });
 
-         host.CreateSetupActionIfCanView<GLCode>("GL Codes", PRSDesktop.Resources.glcode, (action) =>
 
-         {
 
-             var list = new MasterList(typeof(GLCode));
 
-             list.ShowDialog();
 
-         });
 
-         
 
-         host.CreateSetupActionIfCanView<ForeignCurrency>("Foreign Currencies", PRSDesktop.Resources.payment, (action) =>
 
-         {
 
-             var list = new MasterList(typeof(ForeignCurrency));
 
-             list.ShowDialog();
 
-         });
 
-     }
 
-     
 
-     public static void PurchaseOrderCategories(IPanelHost host)
 
-     {
 
-         host.CreateSetupActionIfCanView<PurchaseOrderCategory>("Purchase Order Categories", PRSDesktop.Resources.service, (action) =>
 
-         {
 
-             var list = new MasterList(typeof(PurchaseOrderCategory));
 
-             list.ShowDialog();
 
-         });
 
-     }
 
-     public static void CustomerSpreadsheetTemplates(IPanelHost host)
 
-     {
 
-         host.CreateSetupActionIfCanView<CustomerSpreadsheet>("Customer Spreadsheet Templates", PRSDesktop.Resources.box, (action) =>
 
-         {
 
-             SpreadsheetTemplateGrid.ViewSpreadsheetTemplates<Customer>();
 
-         });
 
-     }
 
-     public static void SupplierSpreadsheetTemplates(IPanelHost host)
 
-     {
 
-         host.CreateSetupActionIfCanView<SupplierSpreadsheet>("Supplier Spreadsheet Templates", PRSDesktop.Resources.box, (action) =>
 
-         {
 
-             SpreadsheetTemplateGrid.ViewSpreadsheetTemplates<Supplier>();
 
-         });
 
-     }
 
- }
 
 
  |