Interactions als Notneeded markieren
This commit is contained in:
@@ -32,11 +32,14 @@
|
||||
private List<Interaction> Interactions => Prospect?.Interactions?.Where(x => x.Type == Type).ToList() ?? new List<Interaction>();
|
||||
|
||||
private bool Done => Interactions.Count >= Minimum;
|
||||
|
||||
private bool NotNeeded => Interactions.Any(x => x.NotNeeded);
|
||||
}
|
||||
|
||||
@{
|
||||
var rowClass = "";
|
||||
if (Done) rowClass += "done";
|
||||
if (Done) rowClass += " done";
|
||||
if (NotNeeded) rowClass += " notneeded";
|
||||
}
|
||||
|
||||
<tr class="@rowClass" style="border-top: 5px solid transparent;">
|
||||
|
||||
Reference in New Issue
Block a user