--- lohnrechner.py 2005/08/02 13:22:49 38 +++ lohnrechner.py 2005/11/02 08:56:13 41 @@ -298,9 +298,11 @@ return round(self.sozv.get() * PV, 2) def GetKV(self): + # KVsoli should be setable by the UI + self.KVsoli = 1 lohn = self.GetLohn() if lohn > self.BMG1 : lohn = self.BMG1 - if 1 : + if self.KVsoli : return round(self.sozv.get() * ((self.KVsatz / 2) + 0.009) * lohn, 2) else : return round(self.sozv.get() * self.KVsatz * lohn / 2, 2)