Changed display of delivery note
This commit is contained in:
@@ -11,7 +11,7 @@ public class GetAllDeliveryNoteSpec : Specification<DeliveryNote>
|
|||||||
.Include(x => x.Deliverer)
|
.Include(x => x.Deliverer)
|
||||||
.Include(x => x.ProductDeliveries)!
|
.Include(x => x.ProductDeliveries)!
|
||||||
.ThenInclude(x => x.Product)
|
.ThenInclude(x => x.Product)
|
||||||
.Where(x => true)
|
.OrderBy(x => x.RealDeliveryDate)
|
||||||
.OrderByDescending(x => x.ExpeditionDate);
|
.ThenByDescending(x => x.ExpeditionDate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -12,6 +12,6 @@ public class GetAllDeliveryNotesByRealDateSpec : Specification<DeliveryNote>
|
|||||||
.Include(x => x.ProductDeliveries)!
|
.Include(x => x.ProductDeliveries)!
|
||||||
.ThenInclude(x => x.Product)
|
.ThenInclude(x => x.Product)
|
||||||
.Where(x => x.RealDeliveryDate == null)
|
.Where(x => x.RealDeliveryDate == null)
|
||||||
.OrderByDescending(x => x.RealDeliveryDate);
|
.OrderByDescending(x => x.ExpeditionDate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user