metric_admin 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
@@ -27,14 +27,11 @@
|
|
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"]) )
|
31
30
|
%td.tr= s[:count]
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
- else
|
37
|
-
%td.tr= s[summary.action.to_sym]
|
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])
|
38
35
|
|
39
36
|
|
40
37
|
|
data/lib/metric_admin/version.rb
CHANGED