public ProcessedJournalsDialogViewModel(IAccountingJournalEndpoint accountingJournalEndpoint) { _accountingJournalEndpoint = accountingJournalEndpoint; OpenJournalCommand = new DelegateCommand(OpenSelectedJournal, CanOpenJournal); LoadJournalCommand = new DelegateCommand(OpenSelectedJournal, CanOpenJournal); }
public ProcessToJournalViewModel(IDialogService openDialog, IAccountingJournalEndpoint accountingJournalEndpoint) { _showDialog = openDialog; _accountingJournalEndpoint = accountingJournalEndpoint; AccountsLinkCommand = new DelegateCommand(AddNewPair, CanAddPair); AddRowCommand = new DelegateCommand(AddRow); DeleteRowCommand = new DelegateCommand(DeleteRow); ProcessCommand = new DelegateCommand(ProcessRows); }
public BalanceCardDialogViewModel(IBookAccountsEndpoint bookAccountsEndpoint, IAccountingJournalEndpoint accountingJournalEndpoint, IDialogService showDialog) { _bookAccountsEndpoint = bookAccountsEndpoint; _accountingJournalEndpoint = accountingJournalEndpoint; _showDialog = showDialog; PrintCommand = new DelegateCommand <Visual>(ShowPreview); }
public MainLedgerViewModel(IAccountingJournalEndpoint accountingJournalEndpoint, IDialogService showDialog) { _accountingJournalEndpoint = accountingJournalEndpoint; _showDialog = showDialog; SaveChangesCommand = new DelegateCommand(SaveChanges, CanSaveChanges); OpenCardCommand = new DelegateCommand(OpenAccountBalance); PrintCommand = new DelegateCommand <Visual>(ShowPreview); FilterDataCommand = new DelegateCommand(FilterJournal); LoadJournalDetails(); }
public NewJournalDialogViewModel(IConfiguration config, IDialogService showDialog, IAccountingJournalEndpoint accountingJournalEndpoint) { _config = config; _showDialog = showDialog; _accountingJournalEndpoint = accountingJournalEndpoint; OpenNewJournalCommand = new DelegateCommand(OpenJournal); AddRowCommand = new DelegateCommand(AddNewRow, CanAddNewRow); OpenCardCommand = new DelegateCommand(OpenAccountBalance); SaveJournalCommand = new DelegateCommand(SaveJournal, CanSaveJournal); }
public JournalViewModel(IAccountingJournalEndpoint accountingJournalEndpoint, IDialogService showDialog) { _accountingJournalEndpoint = accountingJournalEndpoint; _showDialog = showDialog; LoadJournalCommand = new DelegateCommand(LoadJournalDetails); ProcessItemCommand = new DelegateCommand(ProcessJournal, CanProcess); DeleteJournalCommand = new DelegateCommand(DeleteJournal, CanDelete); SumColumnsCommand = new DelegateCommand(DeleteRow); LoadSavedCommand = new DelegateCommand(LoadProcessedHeaders); SaveChangesCommand = new DelegateCommand(SaveChanges, CanSaveChanges); OpenCardCommand = new DelegateCommand(OpenAccountBalance); NewJournalCommand = new DelegateCommand(OpenNewJournal); PrintCommand = new DelegateCommand <Visual>(ShowPreview); CellValueChanged = new DelegateCommand(SumColumns); LoadHeaders(); }
public JournalViewModel(IAccountingJournalEndpoint accountingJournalEndpoint) { _accountingJournalEndpoint = accountingJournalEndpoint; LoadJournalCommand = new DelegateCommand(LoadJournalDetails); }
public ProcessToJournalService(IAccountingJournalEndpoint accountingJournalEndpoint) { _accountingJournalEndpoint = accountingJournalEndpoint; }