[#34] Billing: Collapse data more compactly
This commit is contained in:
@ -126,7 +126,7 @@ namespace Elwig.Windows {
|
||||
Vaributes = Utils.GetVaributeList(Context, Year);
|
||||
GraphEntries.ForEach(e => {
|
||||
e.Vaributes.ForEach(v => {
|
||||
var found = Vaributes.Find(a => a.Attribute?.AttrId == v.Attribute?.AttrId && a.Variety?.SortId == v.Variety?.SortId);
|
||||
var found = Vaributes.Find(a => a.Variety?.SortId == v.Variety?.SortId && a.Attribute?.AttrId == v.Attribute?.AttrId && a.Cultivation?.CultId == v.Cultivation?.CultId);
|
||||
if (found == null) return;
|
||||
if (e.Abgewertet) {
|
||||
found.AssignedAbgewGraphId = e.Id;
|
||||
|
Reference in New Issue
Block a user