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) |
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__": |