Skip to content
Snippets Groups Projects
Commit 37018cb4 authored by Anatoly Politsin's avatar Anatoly Politsin
Browse files

tpl fix

parent a9e1ca02
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,11 @@
<h2>{% trans %}Order activity{% endtrans %}</h2>
{{ order.activity }}
{% endif %}
{{ order|without('order_items', 'total_price', 'activity',
'billing_information', 'billing_profile', 'shipping_information', 'order_state',
'completed', 'placed', 'changed', 'uid', 'mail', 'ip_address',
'state', 'store_id'
) }}
</div>
<div class="layout-region layout-region-order-secondary">
<div class="entity-meta">
......@@ -45,6 +50,20 @@
{% endif %}
{% endfor %}
</div>
<details open class="seven-details">
<summary role="button" class="seven-details__summary">
{{ 'Extra'|t }}
</summary>
<div class="details-wrapper seven-details__wrapper">
{% for key in ['store_id'] %}
{% if order[key] %}
<div class="form-item">
{{ order[key] }}
</div>
{% endif %}
{% endfor %}
</div>
</details>
<details open class="seven-details">
<summary role="button" class="seven-details__summary">
{{ 'Customer Information'|t }}
......@@ -68,6 +87,15 @@
{{ order.billing_information }}
</div>
</details>
{% else %}
<details open class="seven-details">
<summary role="button" class="seven-details__summary">
{{ 'Billing profile'|t }}
</summary>
<div class="details-wrapper seven-details__wrapper">
{{ order.billing_profile }}
</div>
</details>
{% endif %}
{% if order.shipping_information %}
<details open class="seven-details">
......
......@@ -45,4 +45,9 @@
<a class="btn btn--main" href="/cart-repeat-order/{{ order_entity.id() }}">{{ 'Repeat order'|t }}</a>
</div>
{% endif %}
{{ order|without('order_items', 'total_price', 'activity',
'billing_information', 'shipping_information', 'order_state',
'completed', 'placed', 'changed', 'uid', 'mail', 'ip_address',
'state'
) }}
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment