{% extends "theme::layouts/default" %} {% block content %}
{% include "theme::partials/messages" %}
{{ trans("visiosoft.module.profile::field.back.name") }}

{{ trans("visiosoft.module.profile::field.bill_address.name") }} :

{{ details[0].get_bill_address('adress_first_name') }} {{ details[0].get_bill_address('adress_last_name') }}

{{ details[0].get_bill_address('adress_name') }}

{{ trans("visiosoft.module.profile::field.delivery_address.name") }} :

{{ details[0].get_delivery_address('adress_first_name') }} {{ details[0].get_delivery_address('adress_last_name') }}

{{ details[0].get_delivery_address('adress_name') }}

{{ trans("visiosoft.module.profile::field.image.name") }}

{{ trans("visiosoft.module.profile::field.subject.name") }}

{{ trans("visiosoft.module.profile::field.price.name") }}

{{ trans("visiosoft.module.profile::field.piece.name") }}

{{ trans("visiosoft.module.profile::field.commission.name") }}

{{ trans("visiosoft.module.profile::field.total.name") }}

{% for detail in details %}
Image
{{ detail.price }} {{ detail.currency }}
{{ detail.piece }}X
{{ detail.commission }}
{{ detail.total }} {{ detail.currency }}
{% if detail.item_type == 'adv' %}
{{ trans("visiosoft.module.profile::field.awaiting_dispatch.name") }}
{{ trans("visiosoft.module.profile::field.shipped.name") }}
{% if detail.status != 'cancelled' and detail.status != 'error_buyer' %}
{{ trans("visiosoft.module.profile::field.delivered.name") }}
{% elseif detail.status == 'error_buyer' %}
{{ trans("visiosoft.module.profile::field.waiting.name") }}
{% else %}
{{ trans("visiosoft.module.profile::field.cancelled.name") }}
{% endif %}
{% if detail.status == 'awaiting_payment_approval' or detail.status == 'paid' or detail.status == 'paid_buyer' %}
{{ trans("visiosoft.module.profile::field.tracking_number.name") }} :
{{ detail.tracking_number }}
{% if detail.status == 'awaiting_payment_approval' %}
{% endif %} {% endif %} {% endif %} {% if detail.status == 'error_buyer' %}

{{ trans("visiosoft.module.profile::field.show_order_msg1.name") }}

{{ trans("visiosoft.module.profile::field.show_order_msg2.name") }}
{% endif %} {% if detail.status == 'cancelled' %}

{{ trans("visiosoft.module.profile::field.show_order_msg3.name") }}

{% endif %}
{% endfor %}
{% include "visiosoft.module.profile::profile/dock-right" %}
{{ form.close|raw }}
{{ asset_add("scripts.js", "visiosoft.module.profile::assets/js/profile.js") }} {% endblock %}