|
6 | 6 | {% set without_tax_shipping_total_sum = 0 %} |
7 | 7 | {% set tax_total_sum = 0 %} |
8 | 8 | {% set item_row_total_sum = 0 %} |
| 9 | +{% set item_qty_total_sum = 0 %} |
9 | 10 |
|
10 | 11 | <h3>{{ 'monsieurbiz.sales_reports.ui.option_value_report'|trans }}</h3> |
| 12 | + |
| 13 | +<div class="ui info message"> |
| 14 | + <p>{{ 'monsieurbiz.sales_reports.ui.warning_options'|trans }}</p> |
| 15 | +</div> |
| 16 | + |
11 | 17 | <table class="ui celled table sortable"> |
12 | 18 | <thead> |
13 | 19 | <tr> |
14 | 20 | <th>{{ 'monsieurbiz.sales_reports.view.option_name'|trans }}</th> |
15 | 21 | <th>{{ 'monsieurbiz.sales_reports.view.option_value'|trans }}</th> |
16 | 22 | <th>{{ 'monsieurbiz.sales_reports.view.number_of_orders'|trans }}</th> |
| 23 | + <th>{{ 'monsieurbiz.sales_reports.view.quantity'|trans }}</th> |
17 | 24 | <th>{{ 'monsieurbiz.sales_reports.view.amount_without_tax' | trans }}</th> |
18 | 25 | <th>{{ 'monsieurbiz.sales_reports.view.promo_amount_without_tax' | trans }}</th> |
19 | 26 | <th>{{ 'monsieurbiz.sales_reports.view.tax_amount' | trans }}</th> |
|
29 | 36 | {% set without_tax_shipping_total_sum = without_tax_shipping_total_sum + result.without_tax_shipping_total %} |
30 | 37 | {% set tax_total_sum = tax_total_sum + result.tax_total %} |
31 | 38 | {% set item_row_total_sum = item_row_total_sum + result.item_row_total %} |
| 39 | + {% set item_qty_total_sum = item_qty_total_sum + result.item_qty_total %} |
32 | 40 | <tr> |
33 | 41 | <td>{{ result.option_label }}</td> |
34 | 42 | <td>{{ result.option_value_label }}</td> |
35 | 43 | <td>{{ result.number_of_elements }}</td> |
| 44 | + <td>{{ result.item_qty_total }}</td> |
36 | 45 | <td>{{ money.format(result.without_tax_total, channel.baseCurrency.code) }}</td> |
37 | 46 | <td>{{ money.format(result.without_tax_promo_total, channel.baseCurrency.code) }}</td> |
38 | 47 | <td>{{ money.format(result.tax_total, channel.baseCurrency.code) }}</td> |
|
50 | 59 | <tr> |
51 | 60 | <th colspan="2">{{ 'monsieurbiz.sales_reports.view.total'|trans }}</th> |
52 | 61 | <th>{{ number_of_elements_sum }}</th> |
| 62 | + <th>{{ item_qty_total_sum }}</th> |
53 | 63 | <th>{{ money.format(without_tax_total_sum, channel.baseCurrency.code) }}</th> |
54 | 64 | <th>{{ money.format(without_tax_promo_total_sum, channel.baseCurrency.code) }}</th> |
55 | 65 | <th>{{ money.format(tax_total_sum, channel.baseCurrency.code) }}</th> |
|
0 commit comments