payrollee_cz 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +31 -25
- data/lib/payrollee_cz-export.rb +4 -0
- data/lib/payrollee_cz.rb +10 -13
- data/lib/payrollee_cz/version.rb +1 -1
- metadata +3 -2
data/README.md
CHANGED
|
@@ -6,41 +6,41 @@ Simple library for calculation basic Czech payroll
|
|
|
6
6
|
|
|
7
7
|
### Working hours
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
* working schedule by weekly hours
|
|
10
|
+
* absence hours
|
|
11
11
|
|
|
12
12
|
### Salary
|
|
13
|
-
|
|
13
|
+
* monthly salary
|
|
14
14
|
|
|
15
15
|
### Tax
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
* tax interest
|
|
18
|
+
* tax declaration
|
|
19
|
+
* tax income base
|
|
20
|
+
* tax advance
|
|
21
|
+
* withholding tax
|
|
22
|
+
* tax reliefs for payer
|
|
23
|
+
* tax reliefs for disability
|
|
24
|
+
* tax reliefs for studying
|
|
25
|
+
* tax reliefs for child
|
|
26
|
+
* tax bonus for child
|
|
27
27
|
|
|
28
28
|
### Health insurance
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
* insurance interest
|
|
31
|
+
* assessment base
|
|
32
|
+
* maximum assessment base
|
|
33
|
+
* minimum assessment base
|
|
34
|
+
* employee contribution
|
|
35
|
+
* employer's part of tax partial base
|
|
36
36
|
|
|
37
37
|
### Social insurance
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
* insurance interest
|
|
40
|
+
* assessment base
|
|
41
|
+
* maximum assessment base
|
|
42
|
+
* employee contribution
|
|
43
|
+
* employer's part of tax partial base
|
|
44
44
|
|
|
45
45
|
### Pension savings
|
|
46
46
|
|
|
@@ -48,6 +48,11 @@ Simple library for calculation basic Czech payroll
|
|
|
48
48
|
|
|
49
49
|
### Net income
|
|
50
50
|
|
|
51
|
+
## Versions
|
|
52
|
+
|
|
53
|
+
* 0.0.1 initial version
|
|
54
|
+
* 0.0.2 export added
|
|
55
|
+
|
|
51
56
|
## Installation
|
|
52
57
|
|
|
53
58
|
Add this line to your application's Gemfile:
|
|
@@ -64,7 +69,8 @@ Or install it yourself as:
|
|
|
64
69
|
|
|
65
70
|
## Usage
|
|
66
71
|
|
|
67
|
-
|
|
72
|
+
require 'payrollee_cz'
|
|
73
|
+
require 'payrollee_cz-export'
|
|
68
74
|
|
|
69
75
|
## Contributing
|
|
70
76
|
|
data/lib/payrollee_cz.rb
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
require
|
|
1
|
+
require 'payrollee_cz/version'
|
|
2
2
|
|
|
3
3
|
require 'bigdecimal'
|
|
4
|
-
require
|
|
5
|
-
require
|
|
6
|
-
require
|
|
7
|
-
require
|
|
8
|
-
require
|
|
9
|
-
require
|
|
10
|
-
require "payrollee_cz/core_items/payroll_result"
|
|
4
|
+
require 'payrollee_cz/core/payroll_period'
|
|
5
|
+
require 'payrollee_cz/core_items/tag_refer'
|
|
6
|
+
require 'payrollee_cz/core_items/code_name_refer'
|
|
7
|
+
require 'payrollee_cz/core_items/payroll_tag'
|
|
8
|
+
require 'payrollee_cz/core_items/payroll_concept'
|
|
9
|
+
require 'payrollee_cz/core_items/payroll_result'
|
|
11
10
|
require 'payrollee_cz/concepts/unknown_concept'
|
|
12
|
-
require
|
|
11
|
+
require 'payrollee_cz/core/pay_concept_gateway'
|
|
13
12
|
require 'payrollee_cz/pay_tags/unknown_tag'
|
|
14
|
-
require
|
|
15
|
-
require 'payrollee_cz/
|
|
16
|
-
require "payrollee_cz/core/pay_name_gateway"
|
|
17
|
-
require "payrollee_cz/core/payroll_process"
|
|
13
|
+
require 'payrollee_cz/core/pay_tag_gateway'
|
|
14
|
+
require 'payrollee_cz/core/payroll_process'
|
data/lib/payrollee_cz/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: payrollee_cz
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-07-
|
|
12
|
+
date: 2013-07-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -97,6 +97,7 @@ files:
|
|
|
97
97
|
- Rakefile
|
|
98
98
|
- features/payroll_process_examples.feature
|
|
99
99
|
- features/step_definitions/payroll_process_steps.rb
|
|
100
|
+
- lib/payrollee_cz-export.rb
|
|
100
101
|
- lib/payrollee_cz.rb
|
|
101
102
|
- lib/payrollee_cz/concepts/hours_absence_concept.rb
|
|
102
103
|
- lib/payrollee_cz/concepts/hours_working_concept.rb
|