bookyt_salary 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
|
|
1
|
+
class SwitchLineItemsToTranslatedSaldoInclusionFlags < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
LineItem.where(:reference_code => 'ahv').update_all(:reference_code => 'AHV')
|
4
|
+
LineItem.where(:reference_code => 'ktg').update_all(:reference_code => 'KTG')
|
5
|
+
LineItem.where(:reference_code => 'gross_income').update_all(:reference_code => 'Bruttolohn')
|
6
|
+
LineItem.where(:reference_code => 'net_income').update_all(:reference_code => 'Nettolohn')
|
7
|
+
LineItem.where(:reference_code => 'payment').update_all(:reference_code => 'Auszahlung')
|
8
|
+
LineItem.where(:reference_code => 'uvg').update_all(:reference_code => 'UVG')
|
9
|
+
LineItem.where(:reference_code => 'uvgz').update_all(:reference_code => 'UVGZ')
|
10
|
+
LineItem.where(:reference_code => 'deduction_at_source').update_all(:reference_code => 'Quellensteuer')
|
11
|
+
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookyt_salary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 33
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 15
|
9
|
-
-
|
10
|
-
version: 0.15.
|
9
|
+
- 1
|
10
|
+
version: 0.15.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Simon H\xC3\xBCrlimann (CyT)"
|
@@ -148,6 +148,7 @@ files:
|
|
148
148
|
- db/migrate/20120119081622_add_missing_salary_indices.rb
|
149
149
|
- db/migrate/20120119223948_port_obligation_flags_to_tags.rb
|
150
150
|
- db/migrate/20120201104444_switch_to_translated_saldo_inclusion_flags.rb
|
151
|
+
- db/migrate/20120201125113_switch_line_items_to_translated_saldo_inclusion_flags.rb
|
151
152
|
- db/seeds.rb
|
152
153
|
- lib/bookyt_salary.rb
|
153
154
|
- lib/bookyt_salary/navigation.rb
|