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

Diff of /trunk/lohnrechner2007.py

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

revision 66 by wilde, Tue Apr 25 15:34:07 2006 UTC revision 67 by wilde, Thu Jan 25 11:13:08 2007 UTC
# Line 5  Line 5 
5  # $Id$  # $Id$
6  # --------------------------------------------------------------------  # --------------------------------------------------------------------
7  #  #
8  # Copyright (c) 2005,2006 by Intevation GmbH  # Copyright (c) 2005,2006,2007 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 2006"""  """Lohn/Gehaltsrechner f�r das Jahr 2007"""
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 LST2006  import LST2007
23  from Tkinter import *  from Tkinter import *
24    
25  class Lohnrechner(LST2006.LStRechner2006):  class Lohnrechner(LST2007.LStRechner2007):
26    
27      def __init__(self, root):      def __init__(self, root):
28          LST2006.LStRechner2006.__init__(self)          LST2007.LStRechner2007.__init__(self)
29    
30          # Land, Kirchensteuersatz, Pflegeversicherung AG-Anteil          # Land, Kirchensteuersatz, Pflegeversicherung AG-Anteil
31          self.laender = [("Baden-W�rttemberg", 8, 0.0085),          self.laender = [("Baden-W�rttemberg", 8, 0.0085),
# Line 48  class Lohnrechner(LST2006.LStRechner2006 Line 48  class Lohnrechner(LST2006.LStRechner2006
48                    
49          self.root = root          self.root = root
50    
51          self.root.title("Lohnrechner 2006 - v%s" % _release_version)          self.root.title("Lohnrechner 2007 - v%s" % _release_version)
52    
53          self.SetupUI()          self.SetupUI()
54          self.UpdateLand()          self.UpdateLand()
# Line 271  class Lohnrechner(LST2006.LStRechner2006 Line 271  class Lohnrechner(LST2006.LStRechner2006
271      def Info(self):      def Info(self):
272          infowin = Toplevel(self.root)          infowin = Toplevel(self.root)
273          infowin.title("Info")          infowin.title("Info")
274          Label(infowin, text="Lohnrechner 2006 v%s" % _release_version,          Label(infowin, text="Lohnrechner 2007 v%s" % _release_version,
275                font=("Times", 14, "bold italic")).grid(row=0, pady=20)                font=("Times", 14, "bold italic")).grid(row=0, pady=20)
276          Label(infowin, text=          Label(infowin, text=
277                "Copyright (C) 2005,2006 Intevation GmbH \n\n\                "Copyright (C) 2005,2006,2007 Intevation GmbH \n\n\
278  Lohnrechner 2006 comes with ABSOLUTELY NO WARRANTY.\n\  Lohnrechner 2007 comes with ABSOLUTELY NO WARRANTY.\n\
279  This is free software, and you are welcome to redistribute it\n\  This is free software, and you are welcome to redistribute it\n\
280  under the terms of the GNU General Public License.\n\  under the terms of the GNU General Public License.\n\
281  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\
282  Dieses Programm verwendet LST2006 %s" % LST2006._ModulVersion()).grid(row=1, padx=10)  Dieses Programm verwendet LST2007 %s" % LST2007._ModulVersion()).grid(row=1, padx=10)
283          Button(infowin, text="Ok", command=infowin.destroy).grid(row=2, pady=10)          Button(infowin, text="Ok", command=infowin.destroy).grid(row=2, pady=10)
284    
285      #      #

Legend:
Removed from v.66  
changed lines
  Added in v.67

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26