Customers Order

{% if customer.order_listing.size != 0 %} {% for order in customer.orders %} {% endfor %}
{{ 'customer.order_listing.order' | t }} {{ 'customer.order_listing.payment' | t }} {{ 'customer.order_listing.fulfillment' | t }} {{ 'customer.order_listing.total' | t }}
{{ order.name | link_to: order.customer_url }} - {{ order.created_at | date: format: 'short_month' }} {{ order.financial_status_label | capitalize }} {{ order.fulfillment_status_label | capitalize }} {{ order.total_price | money }}
{% else %}

{{ 'customer.order_listing.no_orders' | t }}

{% endif %}