Sha256: b7d2cbc68edfffcbd9cc166184b3457313d28a9c7197df34d3cbce9aec2975c4

Contents?: true

Size: 519 Bytes

Versions: 62

Compression:

Stored size: 519 Bytes

Contents

.insight
  .insight__date
    %span.insight__period= insight.reporting_on.strftime('%B %Y')
  .insight__heading= t('workarea.admin.insights.customer_acquisition.title')
  .insight__body
    %p.insight__note
      %strong= insight.results.map(&:new_customers).sum
      = t('workarea.admin.insights.customer_acquisition.total_new_customers')
    = area_chart insight.results.reduce({}) { |m, r| m.merge(r['date'] => r['new_customers']) }, Workarea.config.default_chartkick_options.merge(width: '90%', height: '200px')


Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.13 app/views/workarea/admin/insights/_customer_acquisition.html.haml
workarea-admin-3.4.12 app/views/workarea/admin/insights/_customer_acquisition.html.haml