Fixes the estimation total
This commit is contained in:
parent
2b02d8c01a
commit
59daaaef53
9 changed files with 54 additions and 47 deletions
|
|
@ -18,6 +18,13 @@ namespace BookAStar.ViewModels
|
|||
AttachedFiles = new ObservableCollection<string>(data.AttachedFiles);
|
||||
AttachedGraphicList = new ObservableCollection<string>(data.AttachedGraphics);
|
||||
Bill = new ObservableCollection<BillingLine>(data.Bill);
|
||||
Bill.CollectionChanged += Bill_CollectionChanged;
|
||||
}
|
||||
|
||||
private void Bill_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
|
||||
{
|
||||
Data.Bill = Bill;
|
||||
NotifyPropertyChanged("FormattedTotal");
|
||||
}
|
||||
|
||||
public Estimate Data { get; protected set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue