{% load i18n %} {% load lfs_tags %}
{% trans 'General' %} | |
---|---|
{% trans 'ID' %}: | {{ cart.id }} |
{% trans 'Customer' %}: |
{% if customer.selected_invoice_address %}
{{ customer.selected_invoice_address.firstname }}
{{ customer.selected_invoice_address.lastname }}
{% if customer.selected_invoice_address.email %}
({{ customer.selected_invoice_address.email }})
{% endif %}
{{ customer.selected_invoice_address.company_name|default_if_none:'' }}
{{ customer.selected_invoice_address.street|default_if_none:'' }}
{{ customer.selected_invoice_address.city|default_if_none:'' }}
{{ customer.selected_invoice_address.state|default_if_none:'' }}
{{ customer.selected_invoice_address.zip_code|default_if_none:'' }}
{{ customer.selected_invoice_address.country|default_if_none:'-' }}
{{ customer.selected_invoice_address.phone|default_if_none:'-' }}
{% else %}
---
{% endif %}
|
{% trans 'Creation date' %}: | {{ cart.creation_date|date:_("DATETIME_FORMAT") }} |
{% trans 'Modification date' %}: | {{ cart.modification_date|date:_("DATETIME_FORMAT") }} |
{% trans 'Items' %}: | {{ cart.get_amount_of_items }} |
{% trans 'Total' %}: | {{ total|currency:request }} |
{% trans 'ID' %} | {% trans 'Creation date' %} | {% trans 'Product' %} | {% trans 'Price' %} | {% trans 'Amount' %} | {% trans 'Total' %} |
---|---|---|---|---|---|
{{ item.id }} | {{ item.creation_date|date:_("DATETIME_FORMAT") }} |
{{ item.product.get_name }}
{% for property in item.product.get_variant_properties %}
{{ property.title }}: {{ property.value }} {{ property.unit|safe }}
{% endfor %}
{% for property in item.product.get_displayed_properties %}
{{ property.title }}: {{ property.value }} {{ property.unit|safe }}
{% endfor %}
{% if item.product.is_configurable_product %}
{% for property in item.get_properties %}
{{ property.title }} [{{ property.property_group_name }}]: {{ property.value }} {{ property.unit|safe }}
{% if property.obj.is_select_field and property.display_price %}
({{ property.price|currency:request }})
{% endif %}
{% endfor %}
{% endif %}
|
{{ item.product|get_price_gross:request|currency:request }} | {{ item.amount }} | {{ item|get_price_gross:request|currency:request }} |