Skip to content

Commit

Permalink
[Hotfix][Duy] Change quotation revisions order when calculating Quota…
Browse files Browse the repository at this point in the history
…tionPriceHistory
  • Loading branch information
duykasama committed Mar 4, 2024
1 parent 5176a75 commit 64081e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Domus.Service/Implementations/QuotationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public async Task<ServiceActionResult> GetQuotationRevisions(Guid quotationId)

var quotationPricesHistory = new List<QuotationPriceHistory>();

var orderedRevisions = new List<QuotationRevision>(quotation.QuotationRevisions.OrderByDescending(r => r.Version));
var orderedRevisions = new List<QuotationRevision>(quotation.QuotationRevisions.OrderBy(r => r.Version));

for (var i = 0; i < orderedRevisions.Count - 1; i++)
{
Expand Down

0 comments on commit 64081e8

Please sign in to comment.