/[lohnrechner]/trunk/lohnrechner2007.py
ViewVC logotype

Diff of /trunk/lohnrechner2007.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 40 by wilde, Tue Aug 2 13:22:49 2005 UTC revision 41 by wilde, Wed Nov 2 08:56:13 2005 UTC
# Line 298  Dieses Programm verwendet LST2005 %s" % Line 298  Dieses Programm verwendet LST2005 %s" %
298          return round(self.sozv.get() * PV, 2)          return round(self.sozv.get() * PV, 2)
299    
300      def GetKV(self):      def GetKV(self):
301            # KVsoli should be setable by the UI
302            self.KVsoli = 1
303          lohn = self.GetLohn()          lohn = self.GetLohn()
304          if lohn > self.BMG1 : lohn = self.BMG1          if lohn > self.BMG1 : lohn = self.BMG1
305          if 1 :          if self.KVsoli :
306              return round(self.sozv.get() * ((self.KVsatz / 2) + 0.009) * lohn, 2)              return round(self.sozv.get() * ((self.KVsatz / 2) + 0.009) * lohn, 2)
307          else :          else :
308              return round(self.sozv.get() * self.KVsatz * lohn / 2, 2)              return round(self.sozv.get() * self.KVsatz * lohn / 2, 2)

Legend:
Removed from v.40  
changed lines
  Added in v.41

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26