bookyt_salary 0.20.2 → 0.20.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ prawn_document(:filename => "#{resource.to_s}.pdf", :renderer => PayslipDocument
3
3
  employee = resource.employee
4
4
 
5
5
  # Letter header
6
- pdf.letter_header(employer, employee, resource.to_s)
6
+ pdf.letter_header(employer, employee, resource.to_s, nil)
7
7
 
8
8
  # Line Items
9
9
  pdf.salary_table(resource)
data/db/seeds.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  # Salaries
2
4
  # ========
3
5
  outside_capital = AccountType.find_by_name('outside_capital')
@@ -1,46 +1,48 @@
1
+ # encoding: UTF-8
2
+
1
3
  # SalaryBookingTemplates
2
4
  SalaryBookingTemplate.create!([
3
- {:code => '1000', :title => 'Monatslohn', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
4
- {:code => '1005', :title => 'Stundenlohn', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
5
- {:code => '1061', :title => 'Überstunden 125%', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
6
- {:code => '1073', :title => 'Sonntagszulage', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
7
- {:code => '1100', :title => 'Baustellenzulage', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
8
- {:code => '1160', :title => 'Ferienvergütung', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
9
- {:code => '1161', :title => 'Feiertagsentschädigung', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
10
- {:code => '1200', :title => '13. Monatslohn', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
11
- {:code => '1201', :title => 'Gratifikation', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '3', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
12
- {:code => '1202', :title => 'Weihnachtszulage', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '3', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
13
- {:code => '1300', :title => 'Lohn bei Unfall', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
14
- {:code => '1301', :title => 'Lohn bei Krankheit', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
15
- {:code => '1302', :title => 'Lohn bei Militärdienst/Zivilschutz', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
16
- {:code => '1303', :title => 'Lohn bei Aus- und Weiterbildung', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
17
- {:code => '1900', :title => 'Gratisverpflegung', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '2.1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
18
- {:code => '1910', :title => 'Privatanteil Geschäftswagen', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '2.2', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
19
- {:code => '1980', :title => 'Weiterbildung (Lohnausweis)', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '13.3', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
20
- {:code => '2000', :title => 'EO-Taggeld', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
21
- {:code => '2035', :title => 'Kranken-Taggeld', :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
22
- {:code => '2040', :title => 'Mutterschaftsentschädigung', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
23
- {:code => '3000', :title => 'Kinderzulage', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, Quellensteuer, Nettolohn', :amount => '300', :amount_relates_to => ''},
24
- {:code => '5000', :title => 'Bruttolohn', :salary_declaration_code => '', :include_in_saldo_list => '', :amount => '', :amount_relates_to => 'Bruttolohn'},
25
- {:code => '5010', :title => 'AHV-Beitrag', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '9', :include_in_saldo_list => 'Nettolohn', :amount => '5.15%', :amount_relates_to => 'AHV'},
26
- {:code => '5020', :title => 'ALV-Beitrag', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '9', :include_in_saldo_list => 'Quellensteuer, Nettolohn', :amount => '1.1%', :amount_relates_to => 'AHV'},
27
- {:code => '5030', :title => 'ALVZ-Beitrag', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '9', :include_in_saldo_list => 'Nettolohn', :amount => '0.5%', :amount_relates_to => 'AHV'},
28
- {:code => '5040', :title => 'NBUV-Beitrag', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '9', :include_in_saldo_list => 'Nettolohn', :amount => '0.71%', :amount_relates_to => 'AHV'},
29
- {:code => '5041', :title => 'UVGZ-Beitrag A1', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => 'UVG'},
30
- {:code => '5042', :title => 'UVGZ-Beitrag A2', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => 'UVG'},
31
- {:code => '5045', :title => 'KTG-Beitrag A1', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => 'KTG'},
32
- {:code => '5046', :title => 'KTG-Beitrag A2', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => 'KTG'},
33
- {:code => '5048', :title => 'KTG-Beitrag B1', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => 'KTG'},
34
- {:code => '5050', :title => 'BVG-Beitrag', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '10.1', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
35
- {:code => '5051', :title => 'BVG-Einkaufs-Beiträge', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '10.2', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
36
- {:code => '5060', :title => 'Quellensteuerabzug', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '12', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
37
- {:code => '6000', :title => 'Reisespesen', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5800'), :salary_declaration_code => '13.1.1', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
38
- {:code => '6001', :title => 'Autospesen', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5800'), :salary_declaration_code => '13.1.1', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
39
- {:code => '6002', :title => 'Verpflegungsspesen', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5800'), :salary_declaration_code => '13.1.1', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
40
- {:code => '6070', :title => 'Übrige Pauschalspesen', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5800'), :salary_declaration_code => '13.2.3', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
41
- {:code => '6500', :title => 'Nettolohn', :salary_declaration_code => '', :include_in_saldo_list => 'Auszahlung', :amount => '', :amount_relates_to => 'Nettolohn'},
42
- {:code => '6510', :title => 'Vorauszahlung', :debit_account => Account.find_by_code('1020'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Auszahlung', :amount => '', :amount_relates_to => ''},
43
- {:code => '6600', :title => 'Auszahlung', :debit_account => Account.find_by_code('1020'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => '', :amount => '', :amount_relates_to => 'Auszahlung'},
5
+ {:code => '1000', :title => 'Monatslohn', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
6
+ {:code => '1005', :title => 'Stundenlohn', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
7
+ {:code => '1061', :title => 'Überstunden 125%', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
8
+ {:code => '1073', :title => 'Sonntagszulage', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
9
+ {:code => '1100', :title => 'Baustellenzulage', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
10
+ {:code => '1160', :title => 'Ferienvergütung', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
11
+ {:code => '1161', :title => 'Feiertagsentschädigung', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
12
+ {:code => '1200', :title => '13. Monatslohn', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
13
+ {:code => '1201', :title => 'Gratifikation', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '3', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
14
+ {:code => '1202', :title => 'Weihnachtszulage', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '3', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
15
+ {:code => '1300', :title => 'Lohn bei Unfall', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
16
+ {:code => '1301', :title => 'Lohn bei Krankheit', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
17
+ {:code => '1302', :title => 'Lohn bei Militärdienst/Zivilschutz', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
18
+ {:code => '1303', :title => 'Lohn bei Aus- und Weiterbildung', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
19
+ {:code => '1900', :title => 'Gratisverpflegung', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '2.1', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
20
+ {:code => '1910', :title => 'Privatanteil Geschäftswagen', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '2.2', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
21
+ {:code => '1980', :title => 'Weiterbildung (Lohnausweis)', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '13.3', :include_in_saldo_list => 'Bruttolohn, AHV, UVG, UVGZ, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
22
+ {:code => '2000', :title => 'EO-Taggeld', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
23
+ {:code => '2035', :title => 'Kranken-Taggeld', :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
24
+ {:code => '2040', :title => 'Mutterschaftsentschädigung', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, AHV, KTG, Quellensteuer, Nettolohn', :amount => '', :amount_relates_to => ''},
25
+ {:code => '3000', :title => 'Kinderzulage', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5000'), :salary_declaration_code => '1', :include_in_saldo_list => 'Bruttolohn, Quellensteuer, Nettolohn', :amount => '300', :amount_relates_to => ''},
26
+ {:code => '5000', :title => 'Bruttolohn', :salary_declaration_code => '', :include_in_saldo_list => '', :amount => '', :amount_relates_to => 'Bruttolohn'},
27
+ {:code => '5010', :title => 'AHV-Beitrag', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '9', :include_in_saldo_list => 'Nettolohn', :amount => '5.15%', :amount_relates_to => 'AHV'},
28
+ {:code => '5020', :title => 'ALV-Beitrag', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '9', :include_in_saldo_list => 'Quellensteuer, Nettolohn', :amount => '1.1%', :amount_relates_to => 'AHV'},
29
+ {:code => '5030', :title => 'ALVZ-Beitrag', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '9', :include_in_saldo_list => 'Nettolohn', :amount => '0.5%', :amount_relates_to => 'AHV'},
30
+ {:code => '5040', :title => 'NBUV-Beitrag', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '9', :include_in_saldo_list => 'Nettolohn', :amount => '0.71%', :amount_relates_to => 'AHV'},
31
+ {:code => '5041', :title => 'UVGZ-Beitrag A1', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => 'UVG'},
32
+ {:code => '5042', :title => 'UVGZ-Beitrag A2', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => 'UVG'},
33
+ {:code => '5045', :title => 'KTG-Beitrag A1', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => 'KTG'},
34
+ {:code => '5046', :title => 'KTG-Beitrag A2', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => 'KTG'},
35
+ {:code => '5048', :title => 'KTG-Beitrag B1', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => 'KTG'},
36
+ {:code => '5050', :title => 'BVG-Beitrag', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '10.1', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
37
+ {:code => '5051', :title => 'BVG-Einkaufs-Beiträge', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '10.2', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
38
+ {:code => '5060', :title => 'Quellensteuerabzug', :debit_account => Account.find_by_code('5000'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '12', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
39
+ {:code => '6000', :title => 'Reisespesen', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5800'), :salary_declaration_code => '13.1.1', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
40
+ {:code => '6001', :title => 'Autospesen', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5800'), :salary_declaration_code => '13.1.1', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
41
+ {:code => '6002', :title => 'Verpflegungsspesen', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5800'), :salary_declaration_code => '13.1.1', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
42
+ {:code => '6070', :title => 'Übrige Pauschalspesen', :debit_account => Account.find_by_code('2050'), :credit_account => Account.find_by_code('5800'), :salary_declaration_code => '13.2.3', :include_in_saldo_list => 'Nettolohn', :amount => '', :amount_relates_to => ''},
43
+ {:code => '6500', :title => 'Nettolohn', :salary_declaration_code => '', :include_in_saldo_list => 'Auszahlung', :amount => '', :amount_relates_to => 'Nettolohn'},
44
+ {:code => '6510', :title => 'Vorauszahlung', :debit_account => Account.find_by_code('1020'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => 'Auszahlung', :amount => '', :amount_relates_to => ''},
45
+ {:code => '6600', :title => 'Auszahlung', :debit_account => Account.find_by_code('1020'), :credit_account => Account.find_by_code('2050'), :salary_declaration_code => '', :include_in_saldo_list => '', :amount => '', :amount_relates_to => 'Auszahlung'},
44
46
  ])
45
47
 
46
48
  # SalaryTemplate
@@ -1,3 +1,3 @@
1
1
  module BookytSalary
2
- VERSION = '0.20.2'
2
+ VERSION = '0.20.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookyt_salary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.2
4
+ version: 0.20.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-11 00:00:00.000000000 Z
12
+ date: 2014-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &79791290 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *79791290
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: recurrence
27
- requirement: &79790840 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *79790840
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: shoulda
38
- requirement: &79790500 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '0'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *79790500
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: rcov
49
- requirement: &79789410 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '0'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *79789410
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: rspec-rails
60
- requirement: &79788890 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,7 +85,12 @@ dependencies:
65
85
  version: '0'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *79788890
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
69
94
  description: This plugin extends bookyt with Salary functionality.
70
95
  email: simon.huerlimann@cyt.ch
71
96
  executables: []
@@ -155,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
180
  version: '0'
156
181
  requirements: []
157
182
  rubyforge_project:
158
- rubygems_version: 1.8.11
183
+ rubygems_version: 1.8.23
159
184
  signing_key:
160
185
  specification_version: 3
161
186
  summary: Salary plugin for bookyt