public CashBankTransactionNewEntryVM(CashBankTransactionVM parentVM)
 {
     _parentVM = parentVM;
     _newEntryDate = UtilityMethods.GetCurrentDate().Date;
     Accounts = new ObservableCollection<LedgerAccountVM>();
     Sequences = new ObservableCollection<string> { "Debit", "Credit" };
     UpdateAccounts();
 }
Esempio n. 2
0
 public CashBankTransactionNewEntryVM(CashBankTransactionVM parentVM)
 {
     _parentVM     = parentVM;
     _newEntryDate = UtilityMethods.GetCurrentDate().Date;
     Accounts      = new ObservableCollection <LedgerAccountVM>();
     Sequences     = new ObservableCollection <string> {
         "Debit", "Credit"
     };
     UpdateAccounts();
 }