예제 #1
0
 public void copy(BillExpenseLine line)
 {
     AccountRef     = line.AccountRef;
     Amount         = line.Amount;
     Memo           = line.Memo;
     CustomerRef    = line.CustomerRef;
     ClassRef       = line.ClassRef;
     BillableStatus = string.Empty;
     TxnLineID      = string.Empty;
 }
예제 #2
0
파일: Bill.cs 프로젝트: vlazarte/Conobra
 public void updateExpenseLine(string account, BillExpenseLine line)
 {
     foreach (BillExpenseLine l in expenseLines)
     {
         if (l.AccountRef.ListID == account)
         {
             l.copy(line);
             break;
         }
     }
 }
예제 #3
0
 public void addExpenseLine(BillExpenseLine line)
 {
     expenseLines.Add(line);
 }