bookyt_salary 0.14.3 → 0.14.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ module SalaryBookingTemplateHelper
5
5
 
6
6
  def amount_relates_to_collection
7
7
  saldo_inclusion_flags = SalaryBookingTemplate.saldo_inclusion_flags.map{|flag| [t('activerecord.attributes.salary_booking_template.saldo_inclusion_flags.' + flag), flag]}
8
- booking_templates = SalaryBookingTemplate.all.map{|template| [template.title, template.id]}
8
+ booking_templates = SalaryBookingTemplate.all.map{|template| [template.to_s, template.code]}
9
9
 
10
10
  return saldo_inclusion_flags + booking_templates
11
11
  end
@@ -5,6 +5,6 @@ class SalaryBookingTemplate < BookingTemplate
5
5
  end
6
6
 
7
7
  def to_s
8
- title
8
+ "%s - %s" % [code, title]
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module BookytSalary
2
- VERSION = '0.14.3'
2
+ VERSION = '0.14.4'
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: 33
4
+ hash: 47
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 14
9
- - 3
10
- version: 0.14.3
9
+ - 4
10
+ version: 0.14.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Simon H\xC3\xBCrlimann (CyT)"
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-30 00:00:00 +01:00
19
- default_executable:
18
+ date: 2012-01-30 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: rails
@@ -152,7 +151,6 @@ files:
152
151
  - lib/bookyt_salary/navigation.rb
153
152
  - lib/bookyt_salary/railtie.rb
154
153
  - lib/bookyt_salary/version.rb
155
- has_rdoc: true
156
154
  homepage: https://github.com/huerlisi/bookyt_salary
157
155
  licenses:
158
156
  - MIT
@@ -182,9 +180,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
180
  requirements: []
183
181
 
184
182
  rubyforge_project:
185
- rubygems_version: 1.5.2
183
+ rubygems_version: 1.8.10
186
184
  signing_key:
187
185
  specification_version: 3
188
186
  summary: Salary plugin for bookyt
189
187
  test_files: []
190
188
 
189
+ has_rdoc: