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, 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:



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

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

end

Instance Attribute Details

#abzug_freifelderObject

Returns the value of attribute abzug_freifelder.



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

def abzug_freifelder
  @abzug_freifelder
end

#adresseObject

Returns the value of attribute adresse.



65
66
67
# File 'lib/lohnausweis/rohdaten.rb', line 65

def adresse
  @adresse
end

#ahvObject

Returns the value of attribute ahv.



69
70
71
# File 'lib/lohnausweis/rohdaten.rb', line 69

def ahv
  @ahv
end

#alvObject

Returns the value of attribute alv.



69
70
71
# File 'lib/lohnausweis/rohdaten.rb', line 69

def alv
  @alv
end

#arbeitszeitObject

Returns the value of attribute arbeitszeit.



66
67
68
# File 'lib/lohnausweis/rohdaten.rb', line 66

def arbeitszeit
  @arbeitszeit
end

#end_datumObject

Returns the value of attribute end_datum.



63
64
65
# File 'lib/lohnausweis/rohdaten.rb', line 63

def end_datum
  @end_datum
end

#ferienObject

attr_accessor :pensionskasse



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

def ferien
  @ferien
end

#funktionszulageObject

Returns the value of attribute funktionszulage.



68
69
70
# File 'lib/lohnausweis/rohdaten.rb', line 68

def funktionszulage
  @funktionszulage
end

#kinderzulageObject

Returns the value of attribute kinderzulage.



67
68
69
# File 'lib/lohnausweis/rohdaten.rb', line 67

def kinderzulage
  @kinderzulage
end

#krankentaggeldObject

Returns the value of attribute krankentaggeld.



69
70
71
# File 'lib/lohnausweis/rohdaten.rb', line 69

def krankentaggeld
  @krankentaggeld
end

#lohn_freifelderObject

Returns the value of attribute lohn_freifelder.



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

def lohn_freifelder
  @lohn_freifelder
end

#monatslohnObject

Returns the value of attribute monatslohn.



64
65
66
# File 'lib/lohnausweis/rohdaten.rb', line 64

def monatslohn
  @monatslohn
end

#nbuObject

Returns the value of attribute nbu.



69
70
71
# File 'lib/lohnausweis/rohdaten.rb', line 69

def nbu
  @nbu
end

#start_datumObject

Returns the value of attribute start_datum.



63
64
65
# File 'lib/lohnausweis/rohdaten.rb', line 63

def start_datum
  @start_datum
end

#zulage_nachtObject

Returns the value of attribute zulage_nacht.



67
68
69
# File 'lib/lohnausweis/rohdaten.rb', line 67

def zulage_nacht
  @zulage_nacht
end

#zulage_wochenendeObject

Returns the value of attribute zulage_wochenende.



67
68
69
# File 'lib/lohnausweis/rohdaten.rb', line 67

def zulage_wochenende
  @zulage_wochenende
end

Instance Method Details

#add_abzug_freifeld(freifeld) ⇒ Object



85
86
87
# File 'lib/lohnausweis/rohdaten.rb', line 85

def add_abzug_freifeld freifeld
  abzug_freifelder << freifeld
end

#add_lohn_freifeld(freifeld) ⇒ Object



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

def add_lohn_freifeld freifeld
  lohn_freifelder << freifeld
end