|
|
@@ -241,6 +241,8 @@ namespace GreenTree.Nachtragsmanagement.Web.Controllers
|
|
|
private decimal accumulatedCustomSummaryDeviationValue = 0;
|
|
|
private decimal accumulatedCustomSummarySiteDeviationValue = 0;
|
|
|
private decimal accumulatedCustomSummaryAppendixValueRemaining = 0;
|
|
|
+ private decimal accumulatedCustomSummaryAppendixValueCalculated = 0;
|
|
|
+ private decimal accumulatedCustomSummaryAppendixValueCleared = 0;
|
|
|
private decimal accumulatedCustomSummaryAppendixValueNegotiated = 0;
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -276,6 +278,18 @@ namespace GreenTree.Nachtragsmanagement.Web.Controllers
|
|
|
e.Result = accumulatedCustomSummaryAppendixValueRemaining;
|
|
|
}
|
|
|
|
|
|
+ if (label.Tag.ToString() == "AppendixValueCalculated")
|
|
|
+ {
|
|
|
+ accumulatedCustomSummaryAppendixValueCalculated += e.CalculatedValues.OfType<decimal>().Sum();
|
|
|
+ e.Result = accumulatedCustomSummaryAppendixValueCalculated;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (label.Tag.ToString() == "AppendixValueCleared")
|
|
|
+ {
|
|
|
+ accumulatedCustomSummaryAppendixValueCleared += e.CalculatedValues.OfType<decimal>().Sum();
|
|
|
+ e.Result = accumulatedCustomSummaryAppendixValueCleared;
|
|
|
+ }
|
|
|
+
|
|
|
if (label.Tag.ToString() == "AppendixValueNegotiated")
|
|
|
{
|
|
|
accumulatedCustomSummaryAppendixValueNegotiated += e.CalculatedValues.OfType<decimal>().Sum();
|
|
|
@@ -314,6 +328,8 @@ namespace GreenTree.Nachtragsmanagement.Web.Controllers
|
|
|
if (e.FieldName == "DeviationValue") { e.Summary.FormatString = "VA-Wert ∑ = {0:c2}"; }
|
|
|
if (e.FieldName == "SiteDeviationValue") { e.Summary.FormatString = "Off.VA ∑ = {0:c2}"; }
|
|
|
if (e.FieldName == "AppendixValueRemaining") { e.Summary.FormatString = "Off.NT ∑ {0:c2}"; }
|
|
|
+ if (e.FieldName == "AppendixValueCalculated") { e.Summary.FormatString = "Bew.NT ∑ {0:c2}"; }
|
|
|
+ if (e.FieldName == "AppendixValueCleared") { e.Summary.FormatString = "Pot.NT ∑ {0:c2}"; }
|
|
|
if (e.FieldName == "AppendixValueNegotiated") { e.Summary.FormatString = "Verh.NT ∑ {0:c2}"; }
|
|
|
}
|
|
|
|
|
|
@@ -326,6 +342,8 @@ namespace GreenTree.Nachtragsmanagement.Web.Controllers
|
|
|
if (e.FieldName == "DeviationValue") { e.Summary.FormatString = "{0:c2}"; }
|
|
|
if (e.FieldName == "SiteDeviationValue") { e.Summary.FormatString = "{0:c2}"; }
|
|
|
if (e.FieldName == "AppendixValueRemaining") { e.Summary.FormatString = "{0:c2}"; }
|
|
|
+ if (e.FieldName == "AppendixValueCalculated") { e.Summary.FormatString = "{0:c2}"; }
|
|
|
+ if (e.FieldName == "AppendixValueCleared") { e.Summary.FormatString = "{0:c2}"; }
|
|
|
if (e.FieldName == "AppendixValueNegotiated") { e.Summary.FormatString = "{0:c2}"; }
|
|
|
}
|
|
|
|