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.
@@ -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
- %h2= t_model SalaryTemplate
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,7 +1,7 @@
1
1
  .contextual
2
2
  = icon_link_to :new, {:action => :select_employee}
3
3
 
4
- %h2= t_title
4
+ = boot_page_title
5
5
 
6
6
  = paginated_section collection do
7
7
  - if collection.any?
@@ -1,4 +1,4 @@
1
- %h2= t_title
1
+ = boot_page_title
2
2
 
3
3
  = semantic_form_for @salary, :url => new_salary_path, :method => :get do |f|
4
4
  = f.semantic_errors
@@ -1,26 +1,25 @@
1
1
  = contextual_links
2
2
 
3
- .page-header
4
- %h1= t_title
3
+ = boot_page_title
5
4
 
6
- %table.zebra-striped.collection
7
- %thead
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
- %th= t_attr :code
10
- %th= t_attr :title
11
- %th.right= t_attr :amount
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))
@@ -1,4 +1,4 @@
1
- %h3= t('salary_certificate')
1
+ = boot_page_title
2
2
 
3
3
  %table.zebra-striped.collection
4
4
  %thead
@@ -2,7 +2,6 @@
2
2
  = contextual_link_to :copy
3
3
  = contextual_links_for
4
4
 
5
- .page-header
6
- %h1= resource
5
+ = boot_page_title
7
6
 
8
7
  = render 'form'
@@ -43,3 +43,12 @@ de:
43
43
  salary_items:
44
44
  list:
45
45
  title: Lohnarten
46
+ salary_reports:
47
+ yearly_ahv_statement:
48
+ title: AHV Lohnbescheinigung
49
+
50
+ overview:
51
+ bookyt:
52
+ overview:
53
+ title:
54
+ title: Übersicht
@@ -1,3 +1,3 @@
1
1
  module BookytSalary
2
- VERSION = '0.16.5'
2
+ VERSION = '0.16.6'
3
3
  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: 85
4
+ hash: 83
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 16
9
- - 5
10
- version: 0.16.5
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.10
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: