Sha256: fbbcc3cfa58c220bb6530c523cac14088b16a3b933ec51b660584732e13456b0
Contents?: true
Size: 1.05 KB
Versions: 62
Compression:
Stored size: 1.05 KB
Contents
.insight .insight__date %span.insight__period= insight.reporting_on.strftime('%B %Y') .insight__heading= t('workarea.admin.insights.top_discounts.title') .insight__body %p.insight__note= t('workarea.admin.insights.top_discounts.info') %table %thead %tr %th= t('workarea.admin.insights.top_discounts.discount') %th.align-center= t('workarea.admin.insights.top_discounts.of_redemptions') %th.align-center= t('workarea.admin.insights.top_discounts.orders') %th.align-right= t('workarea.admin.insights.top_discounts.revenue') %tbody - insight.results.each_with_index do |result, i| %tr %td - if result.discount.blank? \- - else = link_to result.discount.name, pricing_discount_path(result.discount) %td.align-center= insights_number_to_percentage result.percent_of_total %td.align-center= number_with_delimiter result.orders %td.align-right= number_to_currency result.revenue
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
workarea-admin-3.4.13 | app/views/workarea/admin/insights/_top_discounts.html.haml |
workarea-admin-3.4.12 | app/views/workarea/admin/insights/_top_discounts.html.haml |