bookyt_salary 0.16.5 → 0.16.6
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/employees/_show_salaries.html.haml +1 -1
- data/app/views/salaries/_sidebar.html.haml +1 -1
- data/app/views/salaries/index.html.haml +1 -1
- data/app/views/salaries/select_employee.html.haml +1 -1
- data/app/views/salary_booking_templates/statistics.html.haml +15 -16
- data/app/views/salary_reports/yearly_ahv_statement.html.haml +1 -1
- data/app/views/salary_templates/show.html.haml +1 -2
- data/config/locales/bookyt_salary.de.yml +9 -0
- data/lib/bookyt_salary/version.rb +1 -1
- metadata +4 -5
@@ -1,6 +1,6 @@
|
|
1
1
|
.contextual
|
2
2
|
= link_to t_action('new', Salary), select_employee_salaries_path(:salary => {:employee_id => @employee.id}), :class => "icon icon-add"
|
3
|
-
|
3
|
+
= boot_page_title t_model SalaryTemplate
|
4
4
|
|
5
5
|
- @salary_template = @employee.salary_templates.first
|
6
6
|
= render 'salary_templates/form' if @salary_template
|
@@ -4,7 +4,7 @@
|
|
4
4
|
- content_for :sidebar do
|
5
5
|
.sub-tabs
|
6
6
|
%h3 Filter
|
7
|
-
%ul
|
7
|
+
%ul.pager
|
8
8
|
%li= link_to t('bookyt.all'), url_for(params.merge(:by_state => 'all', :overdue => nil))
|
9
9
|
- for state in Salary::STATES
|
10
10
|
%li= link_to t(state, :scope => 'invoice.state'), url_for(params.merge(:by_state => state, :overdue => nil))
|
@@ -1,26 +1,25 @@
|
|
1
1
|
= contextual_links
|
2
2
|
|
3
|
-
|
4
|
-
%h1= t_title
|
3
|
+
= boot_page_title
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
%table.zebra-striped.collection
|
6
|
+
%thead
|
7
|
+
%tr
|
8
|
+
%th= t_attr :code
|
9
|
+
%th= t_attr :title
|
10
|
+
%th.right= t_attr :amount
|
11
|
+
%tbody
|
12
|
+
- for template in @salary_booking_templates
|
13
|
+
- amount = template.line_items.where(:date => @duration).sum(&:accounted_amount)
|
14
|
+
- next if amount == 0
|
8
15
|
%tr
|
9
|
-
%
|
10
|
-
%
|
11
|
-
%
|
12
|
-
%tbody
|
13
|
-
- for template in @salary_booking_templates
|
14
|
-
- amount = template.line_items.where(:date => @duration).sum(&:accounted_amount)
|
15
|
-
- next if amount == 0
|
16
|
-
%tr
|
17
|
-
%td= template.code
|
18
|
-
%td= template.title
|
19
|
-
%td.currency= currency_fmt(amount)
|
16
|
+
%td= template.code
|
17
|
+
%td= template.title
|
18
|
+
%td.currency= currency_fmt(amount)
|
20
19
|
|
21
20
|
- content_for :sidebar do
|
22
21
|
.sub-tabs
|
23
|
-
%ul
|
22
|
+
%ul.pager
|
24
23
|
- for month in 1..12
|
25
24
|
- date = Date.new(Date.today.year, month, 1)
|
26
25
|
%li= link_to t('date.month_names')[date.month], url_for(:date => date.to_s(:db))
|
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: 83
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 16
|
9
|
-
-
|
10
|
-
version: 0.16.
|
9
|
+
- 6
|
10
|
+
version: 0.16.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Simon H\xC3\xBCrlimann (CyT)"
|
@@ -185,10 +185,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
requirements: []
|
186
186
|
|
187
187
|
rubyforge_project:
|
188
|
-
rubygems_version: 1.8.
|
188
|
+
rubygems_version: 1.8.16
|
189
189
|
signing_key:
|
190
190
|
specification_version: 3
|
191
191
|
summary: Salary plugin for bookyt
|
192
192
|
test_files: []
|
193
193
|
|
194
|
-
has_rdoc:
|