Billing: Include all deliveries when calculating under delivery for area commitments
All checks were successful
Test / Run tests (push) Successful in 1m43s
All checks were successful
Test / Run tests (push) Successful in 1m43s
This commit is contained in:
@ -17,7 +17,7 @@ namespace Elwig.Helpers {
|
||||
|
||||
public record struct AreaComBucket(int Area, int Obligation, int Right);
|
||||
public record struct UnderDelivery(int Weight, int Diff);
|
||||
public record struct MemberBucket(string Name, int Area, int Obligation, int Right, int Delivery, int DeliveryStrict, int Payment);
|
||||
public record struct MemberBucket(string Name, int Area, int Obligation, int Right, int Delivery, int DeliveryStrict, int DeliveryTotal, int Payment);
|
||||
public record struct MemberStat(string Variety, string Discr, int Weight);
|
||||
public record struct ModifierStat(string ModId, string Name, int Count, decimal? Min, decimal? Max, decimal Sum);
|
||||
|
||||
@ -442,6 +442,7 @@ namespace Elwig.Helpers {
|
||||
rightsAndObligations.GetValueOrDefault(id).Right,
|
||||
deliveryBuckets.GetValueOrDefault(id),
|
||||
deliveryBucketsStrict.GetValueOrDefault(id),
|
||||
deliveryBuckets.GetValueOrDefault(id) + deliveryBuckets.GetValueOrDefault(id + "_"),
|
||||
paymentBuckets.GetValueOrDefault(id)
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user