|
|
@@ -103,7 +103,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Models.Appendix
|
|
|
NegotiationValue = appendixEntity.NegotiationValue,
|
|
|
RelationOfferingToNegotiation =
|
|
|
appendixEntity.Value.HasValue && appendixEntity.NegotiationValue.HasValue
|
|
|
- ? appendixEntity.NegotiationValue / appendixEntity.Value
|
|
|
+ ? appendixEntity.NegotiationValue / (appendixEntity.Value == 0 ? 1 : appendixEntity.Value)
|
|
|
: null,
|
|
|
ProtocolExists = appendixEntity.ProtocolExists,
|
|
|
OrderNumber = appendixEntity.OrderNumber,
|