示例#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);
 }