Beispiel #1
0
 public void Update(JournalEntryLine item)
 {
     this.AccountId = item.AccountId;
     this.Debit     = item.Debit;
     this.Credit    = item.Credit;
     this.Memo      = item.Memo;
     this.JournalEntry.UpdateAmount();
 }
Beispiel #2
0
        public void AddAcount(Guid accountId)
        {
            var jourmalEntryItem = new JournalEntryLine()
            {
                Id        = Guid.NewGuid(),
                AccountId = accountId
            };

            this.Items.Add(jourmalEntryItem);
            this.UpdateAmount();
        }