{% extends 'base.html.twig' %} {% set titleName = "Orders" %} {% block title %} POWER DATA | {{titleName}} {% endblock %} {% block page %}{{titleName}}{% endblock %} {% block breadcrumb %} {% if titleName != "Home" %} {{titleName}} {% endif %} {% endblock %} {% block css %} {% endblock %} {% block content %}
{% for message in app.flashes('success') %} {% endfor %} {% for message in app.flashes('error') %} {% endfor %}

DataTable with default features

{% for order in orders %} {% endfor %}
ID Name Phone Region Total Shipping Coupon Date Status Action
{{ order["increment_id"] }} {{ order["customer_firstname"] ~" "~ order["customer_lastname"] }} {{ order["extension_attributes"]["shipping_assignments"][0]["shipping"]["address"]["telephone"] }} {{ order["extension_attributes"]["shipping_assignments"][0]["shipping"]["address"]["region"] }} {{ order["grand_total"] }} {{ order["base_shipping_incl_tax"] }} {% if order["coupon_code"] is defined %} {{ order["coupon_code"] }} {% endif %} {{ order["created_at"]|date("d/m/Y") }} {{ order["status"] }} View
ID Name Phone Region Total Shipping Coupon Date Status Action
{% endblock %} {% block script %} {% endblock %}