|
@@ -467,6 +467,10 @@ procedure TDealPaymentData.sdvDealPaymentSetText(var Text: string;
|
|
else
|
|
else
|
|
fTotalPrice := FPayFormula.Calculate(Text);
|
|
fTotalPrice := FPayFormula.Calculate(Text);
|
|
end;
|
|
end;
|
|
|
|
+
|
|
|
|
+ if AValue.Owner.ValueByName('StopCalc').AsBoolean then
|
|
|
|
+ fTotalPrice := 0;
|
|
|
|
+
|
|
iID := ARecord.ValueByName('ID').AsInteger;
|
|
iID := ARecord.ValueByName('ID').AsInteger;
|
|
if CheckStartedPrice(iID) then
|
|
if CheckStartedPrice(iID) then
|
|
begin
|
|
begin
|