Sha256: 62a425f23e69f50a0a0245f55111a25461272f6a6267e525af883e9f73b4822c
Contents?: true
Size: 1.42 KB
Versions: 28
Compression:
Stored size: 1.42 KB
Contents
- @page_title = t('workarea.admin.reports.sales_by_tender.title') .view .view__header .view__heading = link_to "↑ #{t('workarea.admin.reports.all_reports')}", reports_dashboards_path %h1.heading.heading--no-margin= t('workarea.admin.reports.sales_by_tender.title') %p= t('workarea.admin.reports.reference_link_html', path: reference_report_path) .view__container.view__container--narrow .browsing-controls.browsing-controls--with-divider.browsing-controls--center.browsing-controls--filters-displayed = form_tag sales_by_tender_report_path, method: 'get', class: 'browsing-controls__form' do = render 'workarea/admin/shared/date_selector', starts_at: @report.starts_at, ends_at: @report.ends_at .browsing-controls__count = render_reports_results_message(@report) = render 'workarea/admin/reports/export', report: @report %table %thead %tr %th= t('workarea.admin.fields.tender') %th.align-center= link_to_reports_sorting t('workarea.admin.fields.orders'), report: @report, sort_by: 'orders' %th.align-right= link_to_reports_sorting t('workarea.admin.fields.revenue'), report: @report, sort_by: 'revenue' %tbody - @report.results.each do |result| %tr %td= result.name %td.align-center= number_with_delimiter result.orders %td.align-right= number_to_currency(result.revenue)
Version data entries
28 entries across 28 versions & 1 rubygems