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