Beispiel #1
0
 /// <summary>
 /// Constuctor for budget items off standard item types.
 /// adds the name and type off the standard item all
 /// we need to worry about is the value
 /// </summary>
 /// <param name="standardItem"></param>
 public BudgetItem(ClientBudget budget, BudgetStandardItem standardItem, decimal defaultvalue, string name, ItemType type)
 {
     this.Budget       = budget;
     this.StandardItem = standardItem;
     this.Type         = type;
     this.Name         = name;
     this.DefaultValue = defaultvalue;
     this.Active       = true;
 }
Beispiel #2
0
 public BudgetPeriod(ClientBudget budget)
 {
     this.items  = new List <BudgetPeriodItem>();
     this.Budget = budget;
     this.Locked = false;
 }
Beispiel #3
0
 public BudgetItem(ClientBudget budget, ItemType type)
 {
     this.Budget  = budget;
     this.Type    = type;
     DefaultValue = 0;
 }