{{vtScript}} {{vtIf: {vtGlobal:numberFormatDecimals} .neq. . .and. {Betrag} .neq. }} {{vtCalc: str_replace( '{vtGlobal:numberFormatDecimals}', '.', '{Betrag:escaped}' ) }} {{vtIf: {vtResult} .neq. {Betrag} }} {{vtDo: -act="update", -obj="{vtID}", Betrag="{vtResult}" }} {{vtEndIf}} {{vtEndIf}} {{vtIf: {vtGlobal:numberFormatDecimals} .neq. . .and. {Mindestbestellwert} .neq. }} {{vtCalc: str_replace( '{vtGlobal:numberFormatDecimals}', '.', '{Mindestbestellwert:escaped}' ) }} {{vtIf: {vtResult} .neq. {Betrag} }} {{vtDo: -act="update", -obj="{vtID}", Betrag="{vtResult}" }} {{vtEndIf}} {{vtEndIf}} {{vtIf: {Typ} .eq. 1 .and. {Prozentsatz} .neq. }} {{vtDo: -act="update", -obj="{vtID}", Prozentsatz="" }} {{vtEndIf}} {{vtIf: {Typ} .eq. 2 .and. {Betrag} .neq. }} {{vtDo: -act="update", -obj="{vtID}", Betrag="" }} {{vtEndIf}} {{vtEndScript}}