5 |
# $Id$ |
# $Id$ |
6 |
# -------------------------------------------------------------------- |
# -------------------------------------------------------------------- |
7 |
# |
# |
8 |
# Copyright (c) 2005,2006,2007 by Intevation GmbH |
# Copyright (c) 2005,2006,2007,2008 by Intevation GmbH |
9 |
# Authors: |
# Authors: |
10 |
# Sascha Wilde <[email protected]> |
# Sascha Wilde <[email protected]> |
11 |
# |
# |
12 |
# This program is free software under the GPL (>=v2) |
# This program is free software under the GPL (>=v2) |
13 |
# Read the file COPYING coming with this package for details. |
# Read the file COPYING coming with this package for details. |
14 |
|
|
15 |
"""Lohn/Gehaltsrechner f�r das Jahr 2007""" |
"""Lohn/Gehaltsrechner f�r das Jahr 2008""" |
16 |
|
|
17 |
__version__ = "$Revision$" |
__version__ = "$Revision$" |
18 |
# $Source$ |
# $Source$ |
19 |
|
|
20 |
_release_version = "0.%s" % __version__[11:-2] |
_release_version = "0.%s" % __version__[11:-2] |
21 |
|
|
22 |
import LST2007 |
import LST2008 |
23 |
from Tkinter import * |
from Tkinter import * |
24 |
|
|
25 |
class Lohnrechner(LST2007.LStRechner2007): |
class Lohnrechner(LST2008.LStRechner2008): |
26 |
|
|
27 |
def __init__(self, root): |
def __init__(self, root): |
28 |
LST2007.LStRechner2007.__init__(self) |
LST2008.LStRechner2008.__init__(self) |
29 |
|
|
30 |
# Land, Kirchensteuersatz, Pflegeversicherung AG-Anteil |
# Land, Kirchensteuersatz, Pflegeversicherung AG-Anteil |
31 |
self.laender = [("Baden-W�rttemberg", 8, 0.0085, 5250), |
self.laender = [("Baden-W�rttemberg", 8, 0.0085, 5300), |
32 |
("Bayern", 8, 0.0085, 5250), |
("Bayern", 8, 0.0085, 5300), |
33 |
("Berlin (ost)", 9, 0.0085, 4550), |
("Berlin (ost)", 9, 0.0085, 4500), |
34 |
("Berlin (west)", 9, 0.0085, 5250), |
("Berlin (west)", 9, 0.0085, 5300), |
35 |
("Brandenburg", 9, 0.0085, 4550), |
("Brandenburg", 9, 0.0085, 4500), |
36 |
("Bremen", 9, 0.0085, 5250), |
("Bremen", 9, 0.0085, 5300), |
37 |
("Bremerhaven", 9, 0.0085, 5250), |
("Bremerhaven", 9, 0.0085, 5300), |
38 |
("Hamburg", 9, 0.0085, 5250), |
("Hamburg", 9, 0.0085, 5300), |
39 |
("Hessen", 9, 0.0085, 5250), |
("Hessen", 9, 0.0085, 5300), |
40 |
("Mecklenburg-Vorpommern", 9, 0.0085, 4550), |
("Mecklenburg-Vorpommern", 9, 0.0085, 4500), |
41 |
("Niedersachsen" ,9, 0.0085, 5250), |
("Niedersachsen" ,9, 0.0085, 5300), |
42 |
("Nordrhein-Westfalen", 9, 0.0085, 5250), |
("Nordrhein-Westfalen", 9, 0.0085, 5300), |
43 |
("Rheinland-Pfalz", 9, 0.0085, 5250), |
("Rheinland-Pfalz", 9, 0.0085, 5300), |
44 |
("Saarland", 9, 0.0085, 5250), |
("Saarland", 9, 0.0085, 5300), |
45 |
("Sachsen", 9, 0.0135, 4550), |
("Sachsen", 9, 0.0135, 4500), |
46 |
("Sachsen-Anhalt", 9, 0.0085, 4550), |
("Sachsen-Anhalt", 9, 0.0085, 4500), |
47 |
("Schleswig-Holstein", 9, 0.0085, 5250), |
("Schleswig-Holstein", 9, 0.0085, 5300), |
48 |
("Th�ringen", 9, 0.0085, 4550)] |
("Th�ringen", 9, 0.0085, 4500)] |
49 |
|
|
50 |
self.root = root |
self.root = root |
51 |
|
|
52 |
self.root.title("Lohnrechner 2007 - v%s" % _release_version) |
self.root.title("Lohnrechner 2008 - v%s" % _release_version) |
53 |
|
|
54 |
self.SetupUI() |
self.SetupUI() |
55 |
self.UpdateLand() |
self.UpdateLand() |
281 |
def Info(self): |
def Info(self): |
282 |
infowin = Toplevel(self.root) |
infowin = Toplevel(self.root) |
283 |
infowin.title("Info") |
infowin.title("Info") |
284 |
Label(infowin, text="Lohnrechner 2007 v%s" % _release_version, |
Label(infowin, text="Lohnrechner 2008 v%s" % _release_version, |
285 |
font=("Times", 14, "bold italic")).grid(row=0, pady=20) |
font=("Times", 14, "bold italic")).grid(row=0, pady=20) |
286 |
Label(infowin, text= |
Label(infowin, text= |
287 |
"Copyright (C) 2005,2006,2007 Intevation GmbH \n\n\ |
"Copyright (C) 2005,2006,2007,2008 Intevation GmbH \n\n\ |
288 |
Lohnrechner 2007 comes with ABSOLUTELY NO WARRANTY.\n\ |
Lohnrechner 2008 comes with ABSOLUTELY NO WARRANTY.\n\ |
289 |
This is free software, and you are welcome to redistribute it\n\ |
This is free software, and you are welcome to redistribute it\n\ |
290 |
under the terms of the GNU General Public License.\n\ |
under the terms of the GNU General Public License.\n\ |
291 |
For more information about these matters, see the file named COPYING.\n\n\ |
For more information about these matters, see the file named COPYING.\n\n\ |
292 |
Dieses Programm verwendet LST2007 %s" % LST2007._ModulVersion()).grid(row=1, padx=10) |
Dieses Programm verwendet LST2008 %s" % LST2008._ModulVersion()).grid(row=1, padx=10) |
293 |
Button(infowin, text="Ok", command=infowin.destroy).grid(row=2, pady=10) |
Button(infowin, text="Ok", command=infowin.destroy).grid(row=2, pady=10) |
294 |
|
|
295 |
# |
# |
299 |
# |
# |
300 |
|
|
301 |
def InitSozv(self): |
def InitSozv(self): |
302 |
self.AVsatz = 0.042 / 2 |
self.AVsatz = 0.033 / 2 |
303 |
self.RVsatz = 0.199 / 2 |
self.RVsatz = 0.199 / 2 |
304 |
# PVsatz ist in self.laender definiert! |
# PVsatz ist in self.laender definiert! |
305 |
self.PVkinderlose = 0.0025 |
self.PVkinderlose = 0.0025 |
306 |
self.BMG1 = 3562.5 |
self.BMG1 = 3600 |
307 |
# BMG2 f�r RV und ALV ist in self.laender definiert! |
# BMG2 f�r RV und ALV ist in self.laender definiert! |
308 |
|
|
309 |
def SetKV(self, value): |
def SetKV(self, value): |