Changed display of delivery note

This commit is contained in:
2026-05-26 12:01:09 +01:00
parent aa40ae2e7a
commit fdaead91ff
2 changed files with 3 additions and 3 deletions
@@ -11,7 +11,7 @@ public class GetAllDeliveryNoteSpec : Specification<DeliveryNote>
.Include(x => x.Deliverer)
.Include(x => x.ProductDeliveries)!
.ThenInclude(x => x.Product)
.Where(x => true)
.OrderByDescending(x => x.ExpeditionDate);
.OrderBy(x => x.RealDeliveryDate)
.ThenByDescending(x => x.ExpeditionDate);
}
}
@@ -12,6 +12,6 @@ public class GetAllDeliveryNotesByRealDateSpec : Specification<DeliveryNote>
.Include(x => x.ProductDeliveries)!
.ThenInclude(x => x.Product)
.Where(x => x.RealDeliveryDate == null)
.OrderByDescending(x => x.RealDeliveryDate);
.OrderByDescending(x => x.ExpeditionDate);
}
}