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

Diff of /trunk/lohnrechner2007.py

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

trunk/RCS/lohnrechner.py revision 34 by wilde, Wed Feb 9 14:17:21 2005 UTC lohnrechner.py revision 38 by wilde, Tue Aug 2 13:22:49 2005 UTC
# Line 62  class Lohnrechner(LST2005.LStRechner2005 Line 62  class Lohnrechner(LST2005.LStRechner2005
62          frame.grid(padx=10, pady=10)          frame.grid(padx=10, pady=10)
63    
64          # Steuern Ein/Ausgabe          # Steuern Ein/Ausgabe
65          Label(frame, text="Lohn:").grid(row=0, sticky=E)          Label(frame, text="Lohn (monatlich):").grid(row=0, sticky=E)
66          self.lohn = Entry(frame)          self.lohn = Entry(frame)
67          self.lohn.bind("<Return>", self.NewInput)          self.lohn.bind("<Return>", self.NewInput)
68          self.lohn.grid(row=0, column=1, sticky=W)          self.lohn.grid(row=0, column=1, sticky=W)
# Line 300  Dieses Programm verwendet LST2005 %s" % Line 300  Dieses Programm verwendet LST2005 %s" %
300      def GetKV(self):      def GetKV(self):
301          lohn = self.GetLohn()          lohn = self.GetLohn()
302          if lohn > self.BMG1 : lohn = self.BMG1          if lohn > self.BMG1 : lohn = self.BMG1
303          return round(self.sozv.get() * self.KVsatz * lohn / 2, 2)          if 1 :
304                return round(self.sozv.get() * ((self.KVsatz / 2) + 0.009) * lohn, 2)
305            else :
306                return round(self.sozv.get() * self.KVsatz * lohn / 2, 2)
307            
308    
309  if __name__ == "__main__":  if __name__ == "__main__":

Legend:
Removed from v.34  
changed lines
  Added in v.38

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26