metric_admin 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,13 +27,14 @@
27
27
  - summary_results(summary, @result.detailed_results).each do |s|
28
28
  %tr
29
29
  %td= s[:key]
30
+ - if summary.action != "count" && ((summary.action_on.downcase["value"]) || (summary.action_on.downcase["amount"]) )
30
31
  %td.tr= s[:count]
31
- - if summary.action != "count" && ((summary.action_on.downcase["value"]) || (summary.action_on.downcase["amount"]) )
32
- %td.tr= number_to_currency(s[summary.action.to_sym])
33
- - elsif summary.action_on.downcase["date"]
34
- %td.tr= display_date(s[summary.action.to_sym])
35
- - else
36
- %td.tr= s[summary.action.to_sym]
32
+ %td.tr= number_to_currency(s[summary.action.to_sym])
33
+ - elsif summary.action_on.downcase["date"]
34
+ %td.tr= s[:count]
35
+ %td.tr= display_date(s[summary.action.to_sym])
36
+ - else
37
+ %td.tr= s[summary.action.to_sym]
37
38
 
38
39
 
39
40
 
@@ -1,3 +1,3 @@
1
1
  module MetricAdmin
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 16
9
- version: 0.0.16
8
+ - 17
9
+ version: 0.0.17
10
10
  platform: ruby
11
11
  authors:
12
12
  - Analytics For Lawyers