protected override List <CustomCell> GetListViewSubItems(SmartCore.CAA.ConcessionRequest item) { var corrector = GlobalObjects.CaaEnvironment?.GetCorrector(item); AllOperators op = null; if (item.Settings.Type == ConcessionRequestType.Operator) { op = GlobalObjects.CaaEnvironment?.AllOperators.FirstOrDefault(i => i.ItemId == item.Current.OperatorId); } else { op = AllOperators.Unknown; } var subItems = new List <CustomCell>(); var caaRec = item.Settings.CAARecords?.LastOrDefault(); var opRec = item.Settings.OperatorRecords?.LastOrDefault(); subItems.AddRange(new List <CustomCell>() { CreateRow(op.ToString(), op), CreateRow(item.Status.ToString(), item.Status), CreateRow(item.Settings.Number, item.Settings.Number), CreateRow(item.From.ToString(), item.From), CreateRow(item.To.ToString(), item.To), CreateRow(item.Aircraft.ToString(), item.Aircraft), CreateRow(item.Settings.Station, item.Settings.Station), CreateRow(item.Settings.Provider.ToString(), item.Settings.Provider), CreateRow("", ""), CreateRow(opRec?.Concession.ToString() ?? "", opRec?.Concession), CreateRow(SmartCore.Auxiliary.Convert.GetDateFormat(opRec?.Permitted) ?? "", opRec?.Permitted), CreateRow(opRec?.Remark ?? "", opRec?.Remark), CreateRow("", ""), CreateRow(caaRec?.Concession.ToString() ?? "", caaRec?.Concession), CreateRow(SmartCore.Auxiliary.Convert.GetDateFormat(caaRec?.Permitted) ?? "", caaRec?.Permitted), CreateRow(caaRec?.Remark ?? "", caaRec?.Remark), CreateRow(corrector, corrector) }); return(subItems); }