| 123456789101112131415161718192021222324252627 | 
							- using InABox.Core;
 
- namespace Comal.Classes
 
- {
 
-     public class PaymentLookups : EntityLookup<Payment>
 
-     {
 
-         public override Columns<Payment> DefineColumns()
 
-         {
 
-             return new Columns<Payment>(
 
-                 x => x.ID,
 
-                 x => x.Date,
 
-                 x => x.PaymentTypeLink.Code,
 
-                 x => x.Total
 
-             );
 
-         }
 
-         public override Filter<Payment> DefineFilter()
 
-         {
 
-             return null;
 
-         }
 
-         public override SortOrder<Payment> DefineSortOrder()
 
-         {
 
-             return new SortOrder<Payment>(x => x.Date).ThenBy(x => x.PaymentTypeLink.Code);
 
-         }
 
-     }
 
- }
 
 
  |