Fix ods export with doubles
This commit is contained in:
1 parent
0a60f01979
commit
38ad433b4e
2 files changed
+2
-3
No files matched your search
@@ -71,6 +71,6 @@ namespace Elwig.Models.Dtos {
|
||||
[NotMapped]
|
||||
public (int? Kg, double? Percent) OverUnderDelivery =>
|
||||
Weight < DeliveryObligation ? (Weight - DeliveryObligation, Weight * 100.0 / DeliveryObligation - 100.0) :
|
||||
Weight > DeliveryRight ? (Weight - DeliveryRight, Weight * 100.0 / DeliveryRight - 100) : (null, null);
|
||||
Weight > DeliveryRight ? (Weight - DeliveryRight, Weight * 100.0 / DeliveryRight - 100.0) : (null, null);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user