<<<<<<< HEAD
{% load i18n %}

{% if notification_type == 'new_order' %}
{% trans "New Order Received" %}
{% elif notification_type == 'payment_failed' %}
{% trans "Payment Failed" %}
{% elif notification_type == 'custom_design' %}
{% trans "New Custom Design Order" %}
{% elif notification_type == 'fursuit_order' %}
{% trans "New Fursuit Order" %}
{% else %}
{% trans "Order Notification" %}
{% endif %}

{% trans "Order" %} #{{ order.id }}

{% trans "Customer Information" %}:
{% trans "Name" %}: {{ order.shipping_address.first_name }} {{ order.shipping_address.last_name }}
{% trans "Email" %}: {{ order.shipping_address.email }}

{% trans "Address" %}:
{{ order.shipping_address.address }}
{{ order.shipping_address.zip }} {{ order.shipping_address.city }}
{{ order.shipping_address.get_country_display }}

{% trans "Ordered Items" %}:
{% for product in order.products.all %}
- {{ product.name }} ({% if product.product_type == 'fursuit' %}{% trans "Fursuit" %}{% else %}{% trans "Printed Item" %}{% endif %})
  {{ product.base_price }} €
{% endfor %}

{% trans "Total" %}: {{ order.total_price }} €

{% if notification_type == 'payment_failed' and payment_error %}
{% trans "Payment Error Details" %}:
{% trans "Error Code" %}: {{ payment_error.error_code }}
{% trans "Error Message" %}: {{ payment_error.error_message }}
{% endif %}

{% if notification_type == 'custom_design' and order.customer_design %}
{% trans "Custom Design Details" %}:
{% trans "Design Name" %}: {{ order.customer_design.name }}
{% if order.customer_design.notes %}
{% trans "Notes" %}: {{ order.customer_design.notes }}
{% endif %}
{% if order.customer_design.design_file %}
{% trans "Design File" %}: {{ order.customer_design.design_file.url }}
{% endif %}
{% endif %}

=======
{% load i18n %}

{% if notification_type == 'new_order' %}
{% trans "New Order Received" %}
{% elif notification_type == 'payment_failed' %}
{% trans "Payment Failed" %}
{% elif notification_type == 'custom_design' %}
{% trans "New Custom Design Order" %}
{% elif notification_type == 'fursuit_order' %}
{% trans "New Fursuit Order" %}
{% else %}
{% trans "Order Notification" %}
{% endif %}

{% trans "Order" %} #{{ order.id }}

{% trans "Customer Information" %}:
{% trans "Name" %}: {{ order.shipping_address.first_name }} {{ order.shipping_address.last_name }}
{% trans "Email" %}: {{ order.shipping_address.email }}

{% trans "Address" %}:
{{ order.shipping_address.address }}
{{ order.shipping_address.zip }} {{ order.shipping_address.city }}
{{ order.shipping_address.get_country_display }}

{% trans "Ordered Items" %}:
{% for product in order.products.all %}
- {{ product.name }} ({% if product.product_type == 'fursuit' %}{% trans "Fursuit" %}{% else %}{% trans "Printed Item" %}{% endif %})
  {{ product.base_price }} €
{% endfor %}

{% trans "Total" %}: {{ order.total_price }} €

{% if notification_type == 'payment_failed' and payment_error %}
{% trans "Payment Error Details" %}:
{% trans "Error Code" %}: {{ payment_error.error_code }}
{% trans "Error Message" %}: {{ payment_error.error_message }}
{% endif %}

{% if notification_type == 'custom_design' and order.customer_design %}
{% trans "Custom Design Details" %}:
{% trans "Design Name" %}: {{ order.customer_design.name }}
{% if order.customer_design.notes %}
{% trans "Notes" %}: {{ order.customer_design.notes }}
{% endif %}
{% if order.customer_design.design_file %}
{% trans "Design File" %}: {{ order.customer_design.design_file.url }}
{% endif %}
{% endif %}

>>>>>>> 5b9b867963eca600ed64b617dc2dc86c30dbd9cb
{% trans "View Order Details" %}: {{ order_url }} 