Add support to mark a company founded or sold date as having the month or the day unknown. Fixes #16.

This commit is contained in:
2020-08-04 18:20:35 +01:00
parent 94c98d5d4b
commit ba6d02ba62
12 changed files with 7053 additions and 62 deletions

View File

@@ -46,6 +46,10 @@ namespace Marechai.ViewModels
public Guid? LastLogo { get; set; }
public string SoldTo { get; set; }
public string Country { get; set; }
public bool FoundedDayIsUnknown { get; set; }
public bool FoundedMonthIsUnknown { get; set; }
public bool SoldDayIsUnknown { get; set; }
public bool SoldMonthIsUnknown { get; set; }
public string SoldView => Status != CompanyStatus.Active && Status != CompanyStatus.Unknown
? Sold?.ToShortDateString() ?? "Unknown"