ChartWindow: Minor bugfixes and polishing

This commit is contained in:
2024-01-20 12:01:41 +01:00
parent 47658a72ae
commit 491c41b239
3 changed files with 15 additions and 12 deletions

View File

@ -9,6 +9,7 @@ namespace Elwig.Helpers.Billing {
public WineVar? Variety { get; }
public WineAttr? Attribute { get; }
public string Listing => $"{Variety?.SortId}{Attribute?.AttrId}";
public string FullName => $"{Variety?.Name}" + (Variety != null && Attribute != null ? " " : "") + $"{Attribute?.Name}";
public ContractSelection(WineVar? var, WineAttr? attr) {
Variety = var;