lohnausweis 0.4.1 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c27f2a1bd4f53cfd0a102d63909b97e12d931fbe
4
- data.tar.gz: 59dc6a9d903d4a8b81f8ef3a68dc29cba8a4bc33
3
+ metadata.gz: 9663e1dd0d189bb728541c3b404a6b4d21849374
4
+ data.tar.gz: 38fa816ebf30e3b087eccba152cdc2fa0e7495e7
5
5
  SHA512:
6
- metadata.gz: 5f56915c1b423c0ee46af2406c5215041f09a3e4479fe7e93b19129a05af8aa4f4aa79de3625a335d19464d500f541a78eb8900c343ce0a0b5f85db1dcc3e830
7
- data.tar.gz: 785ede79119cf4ea9132d154ffe52f0cb6a86493c7097e9050d3201cb944cd9ebb59893adbb1411b8d8670edca0500763c8faa70db115b6da3dbc590dd21509d
6
+ metadata.gz: 112ba54ad5c0e13c16ae364027624a8eb9399290517daacda8150e4038591f35f18c314227d5eeb5757e14d3020e2d2ed4e43d03eb97449d33107c89efb28e38
7
+ data.tar.gz: 199843412cf687c703365fd0f0f635c48d833a0f81eb4dfbdfeac4890ce1a51c5bacd148c5a609586318a2cf415c8aa81cc203faa07eb0ddab1218f4ce979cca
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lohnausweis (0.4.0)
4
+ lohnausweis (0.4.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -29,7 +29,7 @@ module Planik
29
29
  next_y -= 50
30
30
  next_y = zulagen_block(next_y)
31
31
  next_y -= 50
32
- next_y = arbeitsliste_new(next_y)
32
+ next_y = arbeitsliste_new(next_y)
33
33
 
34
34
  footer()
35
35
  @pdf
@@ -78,7 +78,7 @@ module Planik
78
78
  @pdf.text "#{@daten.adresse.plz} <u>#{@daten.adresse.ort}</u>", inline_format: true
79
79
  #@pdf.stroke_bounds
80
80
  end
81
- @pdf.move_down(50)
81
+ @pdf.move_down(40)
82
82
  @pdf.text("Arbeitszeiten #{@daten.monat_arbeit} #{@daten.jahr_arbeit}", style: :bold)
83
83
  end
84
84
  #@pdf.stroke_bounds
@@ -153,12 +153,12 @@ module Planik
153
153
  end
154
154
 
155
155
  def footer
156
- ypos = 26
156
+ ypos = 8
157
157
  @pdf.bounding_box([XPOS, ypos], width: WIDTH) do
158
158
  @pdf.font("Helvetica", size: 8) do
159
- @pdf.text("Wir bitten Sie, die Lohnabrechnung sofort zu prüfen und Unstimmigkeiten unverzüglich mitzuteilen.")
160
159
  # Neu
161
160
  # Aenderung für MEDPHONE März 2015: Nur Arbeitsliste, Arbeitszeit und Zulagen
161
+ #@pdf.text("Wir bitten Sie, die Lohnabrechnung sofort zu prüfen und Unstimmigkeiten unverzüglich mitzuteilen.")
162
162
  #@pdf.text("Anhang: Arbeitszeit von #{@daten.start_datum_for_arbeit} bis #{@daten.end_datum_for_arbeit}.")
163
163
  @pdf.text("Generiert von Planik am #{Time.now.strftime("%d.%m.%Y um %H:%M Uhr")}")
164
164
  end
@@ -183,9 +183,9 @@ module Planik
183
183
  # Aenderung für MEDPHONE März 2015: Nur Arbeitsliste, Arbeitszeit und Zulagen
184
184
  #
185
185
  def arbeitsliste_new(ypos)
186
- @pdf.move_down(50)
186
+ @pdf.move_down(20)
187
187
  @pdf.text("Arbeitszeit von #{@daten.start_datum_for_arbeit} bis #{@daten.end_datum_for_arbeit}", style: :bold)
188
- arbeitsliste = @daten.arbeitsliste
188
+ arbeitsliste = @daten.arbeitsliste
189
189
  make_table_without_bounding_box(arbeitsliste, true)
190
190
  end
191
191
 
@@ -1,5 +1,5 @@
1
1
  module Planik
2
2
  module Lohnausweis
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.3"
4
4
  end
5
5
  end