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

Diff of /trunk/LST2008.py

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

revision 19 by wilde, Thu Jan 13 12:52:07 2005 UTC revision 20 by wilde, Fri Jan 14 11:44:48 2005 UTC
# Line 1  Line 1 
1    # -*- coding: iso-8859-1 -*-
2  # --------------------------------------------------------------------  # --------------------------------------------------------------------
3  # LST2005 -- Python Modul zur Berechnung der Deutschen Lohnsteuer 2005  # LST2005 -- Python Modul zur Berechnung der Deutschen Lohnsteuer 2005
4  # $Id$  # $Id$
# Line 578  class LST: Line 579  class LST:
579          self.WFUNDF = value          self.WFUNDF = value
580    
581      def Set_ZKF(self, value):      def Set_ZKF(self, value):
582            assert float(value) == float("%.1f" % value) and \
583                   value >= 0, \
584                   "must be positive, and must not have more than one decimal digit"
585          self.ZKF = value          self.ZKF = value
586            
587      def Set_ZMVB(self, value):      def Set_ZMVB(self, value):
588          self.ZMVB = value          self.ZMVB = value
589    
# Line 610  class LStRechner2005(LST): Line 614  class LStRechner2005(LST):
614          """Setzt Kirchensteuer in Prozent"""          """Setzt Kirchensteuer in Prozent"""
615          self.Set_R(prozent)          self.Set_R(prozent)
616    
617        def SetKinderfreibetrag(self, kfb):
618            """Setzt Kinderfreibetrag lt. Lohnsteuerkarte"""
619            self.Set_ZKF(kfb)
620    
621      def GetLohnsteuer(self):      def GetLohnsteuer(self):
622          """Liefert Lohnsteuer in Euro.Cent"""          """Liefert Lohnsteuer in Euro.Cent"""
623          return round(self.LSTLZZ / 100, 2)          return round(self.LSTLZZ / 100, 2)

Legend:
Removed from v.19  
changed lines
  Added in v.20

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26