SumWithVATColumnVT3: fix: берем платеж из SumWithVATPayment
This commit is contained in:
parent
b468219f4f
commit
663a17a048
@ -13,7 +13,7 @@ public class SumWithVATColumnVT3 : BaseColumnWithSum
|
|||||||
, Constants.Calculation constants)
|
, Constants.Calculation constants)
|
||||||
{
|
{
|
||||||
Values = new decimal[] {0}
|
Values = new decimal[] {0}
|
||||||
.Concat(currentTablePayments.Select(x => x.SumPayment)).ToArray();
|
.Concat(currentTablePayments.Select(x => x.SumWithVATPayment)).ToArray();
|
||||||
|
|
||||||
Values[1] = currentTablePayments[0].SumWithVATPayment +
|
Values[1] = currentTablePayments[0].SumWithVATPayment +
|
||||||
preparedValues.SubsidySum * (decimal) (1 + constants.VatValue);
|
preparedValues.SubsidySum * (decimal) (1 + constants.VatValue);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user