forked from sanchezvem/pyrofetes-backend
Fixed error of display with price of product in all documents
This commit is contained in:
@@ -11,6 +11,7 @@ public class GetPurchaseOrderByIdWithProductsSpec : SingleResultSpecification<Pu
|
||||
.Where(x => x.Id == purchaseOrderId)
|
||||
.Include(x => x.PurchaseProducts!)
|
||||
.ThenInclude(p => p.Product)
|
||||
.ThenInclude(p => p!.Prices);
|
||||
.ThenInclude(p => p!.Prices)
|
||||
.Include(x => x.Supplier);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user