Sha256: 919d0895ed9bfd7f7a475793625f48b1ed374d2c7040b0589007ceea48663b63

Contents?: true

Size: 943 Bytes

Versions: 62

Compression:

Stored size: 943 Bytes

Contents

.insight
  .insight__date
    %span.insight__period= insight.reporting_on.strftime('%B %Y')
  .insight__heading= t('workarea.admin.insights.sales_by_navigation.title')
  .insight__body
    %p.insight__note= t('workarea.admin.insights.sales_by_navigation.info')
    %table
      %thead
        %tr
          %th.align-center= t('workarea.admin.insights.sales_by_navigation.menu')
          %th.align-center= t('workarea.admin.insights.sales_by_navigation.of_revenue')
          %th.align-center= t('workarea.admin.insights.sales_by_navigation.revenue')
      %tbody
        - insight.results.each do |result|
          %tr
            %td.align-center
              - if result.menu.blank?
                \-
              - else
                = link_to result.menu.name, navigation_menus_path
            %td.align-center= insights_number_to_percentage result.percent_of_total
            %td.align-center= number_to_currency result.revenue

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.15 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.5.14 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.5.13 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.5.12 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.5.11 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.5.10 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.5.9 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.5.8 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.5.7 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.5.6 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/insights/_sales_by_navigation.html.haml
workarea-admin-3.5.5 app/views/workarea/admin/insights/_sales_by_navigation.html.haml