Class: Planik::Lohnausweis::Rohdaten
- Inherits:
-
Object
- Object
- Planik::Lohnausweis::Rohdaten
- 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
-
#abzug_freifelder ⇒ Object
Returns the value of attribute abzug_freifelder.
-
#adresse ⇒ Object
Returns the value of attribute adresse.
-
#ahv ⇒ Object
Returns the value of attribute ahv.
-
#alv ⇒ Object
Returns the value of attribute alv.
-
#arbeitsliste ⇒ Object
Returns the value of attribute arbeitsliste.
-
#arbeitszeit ⇒ Object
Returns the value of attribute arbeitszeit.
-
#end_datum ⇒ Object
Returns the value of attribute end_datum.
-
#ferien ⇒ Object
attr_accessor :pensionskasse.
-
#funktionszulage ⇒ Object
Returns the value of attribute funktionszulage.
-
#kinderzulage ⇒ Object
Returns the value of attribute kinderzulage.
-
#krankentaggeld ⇒ Object
Returns the value of attribute krankentaggeld.
-
#lohn_freifelder ⇒ Object
Returns the value of attribute lohn_freifelder.
-
#monatslohn ⇒ Object
Returns the value of attribute monatslohn.
-
#nbu ⇒ Object
Returns the value of attribute nbu.
-
#start_datum ⇒ Object
Returns the value of attribute start_datum.
-
#zulage_nacht ⇒ Object
Returns the value of attribute zulage_nacht.
-
#zulage_wochenende ⇒ Object
Returns the value of attribute zulage_wochenende.
Instance Method Summary collapse
- #add_abzug_freifeld(freifeld) ⇒ Object
- #add_lohn_freifeld(freifeld) ⇒ Object
-
#initialize {|_self| ... } ⇒ Rohdaten
constructor
A new instance of Rohdaten.
Constructor Details
#initialize {|_self| ... } ⇒ Rohdaten
Returns a new instance of Rohdaten.
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_freifelder ⇒ Object
Returns the value of attribute abzug_freifelder.
81 82 83 |
# File 'lib/lohnausweis/rohdaten.rb', line 81 def abzug_freifelder @abzug_freifelder end |
#adresse ⇒ Object
Returns the value of attribute adresse.
73 74 75 |
# File 'lib/lohnausweis/rohdaten.rb', line 73 def adresse @adresse end |
#ahv ⇒ Object
Returns the value of attribute ahv.
77 78 79 |
# File 'lib/lohnausweis/rohdaten.rb', line 77 def ahv @ahv end |
#alv ⇒ Object
Returns the value of attribute alv.
77 78 79 |
# File 'lib/lohnausweis/rohdaten.rb', line 77 def alv @alv end |
#arbeitsliste ⇒ Object
Returns the value of attribute arbeitsliste.
82 83 84 |
# File 'lib/lohnausweis/rohdaten.rb', line 82 def arbeitsliste @arbeitsliste end |
#arbeitszeit ⇒ Object
Returns the value of attribute arbeitszeit.
74 75 76 |
# File 'lib/lohnausweis/rohdaten.rb', line 74 def arbeitszeit @arbeitszeit end |
#end_datum ⇒ Object
Returns the value of attribute end_datum.
71 72 73 |
# File 'lib/lohnausweis/rohdaten.rb', line 71 def end_datum @end_datum end |
#ferien ⇒ Object
attr_accessor :pensionskasse
79 80 81 |
# File 'lib/lohnausweis/rohdaten.rb', line 79 def ferien @ferien end |
#funktionszulage ⇒ Object
Returns the value of attribute funktionszulage.
76 77 78 |
# File 'lib/lohnausweis/rohdaten.rb', line 76 def funktionszulage @funktionszulage end |
#kinderzulage ⇒ Object
Returns the value of attribute kinderzulage.
75 76 77 |
# File 'lib/lohnausweis/rohdaten.rb', line 75 def kinderzulage @kinderzulage end |
#krankentaggeld ⇒ Object
Returns the value of attribute krankentaggeld.
77 78 79 |
# File 'lib/lohnausweis/rohdaten.rb', line 77 def krankentaggeld @krankentaggeld end |
#lohn_freifelder ⇒ Object
Returns the value of attribute lohn_freifelder.
80 81 82 |
# File 'lib/lohnausweis/rohdaten.rb', line 80 def lohn_freifelder @lohn_freifelder end |
#monatslohn ⇒ Object
Returns the value of attribute monatslohn.
72 73 74 |
# File 'lib/lohnausweis/rohdaten.rb', line 72 def monatslohn @monatslohn end |
#nbu ⇒ Object
Returns the value of attribute nbu.
77 78 79 |
# File 'lib/lohnausweis/rohdaten.rb', line 77 def nbu @nbu end |
#start_datum ⇒ Object
Returns the value of attribute start_datum.
71 72 73 |
# File 'lib/lohnausweis/rohdaten.rb', line 71 def start_datum @start_datum end |
#zulage_nacht ⇒ Object
Returns the value of attribute zulage_nacht.
75 76 77 |
# File 'lib/lohnausweis/rohdaten.rb', line 75 def zulage_nacht @zulage_nacht end |
#zulage_wochenende ⇒ Object
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 |