mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user