Class: Planik::Lohnausweis::Rohdaten

Inherits:
Object
  • Object
show all
Defined in:
lib/lohnausweis/rohdaten.rb

Overview

Die Rohdaten um einen Lohnausweis zu generieren

Defined Under Namespace

Classes: Adresse, ArbeitsItem, Arbeitszeit, Ferien, Freifeld, MengeAnsatz

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Rohdaten

Returns a new instance of Rohdaten.

Yields:

  • (_self)

Yield Parameters:



84
85
86
87
88
89
90
# File 'lib/lohnausweis/rohdaten.rb', line 84

def initialize
  @lohn_freifelder = []
  @abzug_freifelder = []
  @arbeitsliste = []
  yield self

end

Instance Attribute Details

#abzug_freifelderObject

Returns the value of attribute abzug_freifelder.



81
82
83
# File 'lib/lohnausweis/rohdaten.rb', line 81

def abzug_freifelder
  @abzug_freifelder
end

#adresseObject

Returns the value of attribute adresse.



73
74
75
# File 'lib/lohnausweis/rohdaten.rb', line 73

def adresse
  @adresse
end

#ahvObject

Returns the value of attribute ahv.



77
78
79
# File 'lib/lohnausweis/rohdaten.rb', line 77

def ahv
  @ahv
end

#alvObject

Returns the value of attribute alv.



77
78
79
# File 'lib/lohnausweis/rohdaten.rb', line 77

def alv
  @alv
end

#arbeitslisteObject

Returns the value of attribute arbeitsliste.



82
83
84
# File 'lib/lohnausweis/rohdaten.rb', line 82

def arbeitsliste
  @arbeitsliste
end

#arbeitszeitObject

Returns the value of attribute arbeitszeit.



74
75
76
# File 'lib/lohnausweis/rohdaten.rb', line 74

def arbeitszeit
  @arbeitszeit
end

#end_datumObject

Returns the value of attribute end_datum.



71
72
73
# File 'lib/lohnausweis/rohdaten.rb', line 71

def end_datum
  @end_datum
end

#ferienObject

attr_accessor :pensionskasse



79
80
81
# File 'lib/lohnausweis/rohdaten.rb', line 79

def ferien
  @ferien
end

#funktionszulageObject

Returns the value of attribute funktionszulage.



76
77
78
# File 'lib/lohnausweis/rohdaten.rb', line 76

def funktionszulage
  @funktionszulage
end

#kinderzulageObject

Returns the value of attribute kinderzulage.



75
76
77
# File 'lib/lohnausweis/rohdaten.rb', line 75

def kinderzulage
  @kinderzulage
end

#krankentaggeldObject

Returns the value of attribute krankentaggeld.



77
78
79
# File 'lib/lohnausweis/rohdaten.rb', line 77

def krankentaggeld
  @krankentaggeld
end

#lohn_freifelderObject

Returns the value of attribute lohn_freifelder.



80
81
82
# File 'lib/lohnausweis/rohdaten.rb', line 80

def lohn_freifelder
  @lohn_freifelder
end

#monatslohnObject

Returns the value of attribute monatslohn.



72
73
74
# File 'lib/lohnausweis/rohdaten.rb', line 72

def monatslohn
  @monatslohn
end

#nbuObject

Returns the value of attribute nbu.



77
78
79
# File 'lib/lohnausweis/rohdaten.rb', line 77

def nbu
  @nbu
end

#start_datumObject

Returns the value of attribute start_datum.



71
72
73
# File 'lib/lohnausweis/rohdaten.rb', line 71

def start_datum
  @start_datum
end

#zulage_nachtObject

Returns the value of attribute zulage_nacht.



75
76
77
# File 'lib/lohnausweis/rohdaten.rb', line 75

def zulage_nacht
  @zulage_nacht
end

#zulage_wochenendeObject

Returns the value of attribute zulage_wochenende.



75
76
77
# File 'lib/lohnausweis/rohdaten.rb', line 75

def zulage_wochenende
  @zulage_wochenende
end

Instance Method Details

#add_abzug_freifeld(freifeld) ⇒ Object



96
97
98
# File 'lib/lohnausweis/rohdaten.rb', line 96

def add_abzug_freifeld freifeld
  abzug_freifelder << freifeld
end

#add_lohn_freifeld(freifeld) ⇒ Object



92
93
94
# File 'lib/lohnausweis/rohdaten.rb', line 92

def add_lohn_freifeld freifeld
  lohn_freifelder << freifeld
end