|
|
@@ -205,6 +205,15 @@ namespace Comal.Classes
|
|
|
{
|
|
|
return new Filter<TreatmentType>(x => x.Active).IsEqualTo(true);
|
|
|
}
|
|
|
+
|
|
|
+ public override Columns<TreatmentType> DefineColumns()
|
|
|
+ {
|
|
|
+ return base.DefineColumns().Add(x => x.Description);
|
|
|
+ }
|
|
|
+ public override string FormatDisplay(CoreRow row)
|
|
|
+ {
|
|
|
+ return row.Get<TreatmentType, string>(x => x.Description);
|
|
|
+ }
|
|
|
}
|
|
|
[LookupDefinition(typeof(TreatmentTypeLookup))]
|
|
|
[EditorSequence("Warehousing", 6)]
|