Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Display order fields same as dashboard next
Unknown513d4acd7b31
diff --git a/templates/dashboard/index.html b/templates/dashboard/index.htmlindex ec1f6c64be..c680d9a8fa 100644--- a/templates/dashboard/index.html+++ b/templates/dashboard/index.html@@ -24,16 +24,18 @@<th>#</th>- <th></th><th>- {% trans "Customer" context "Orders table header" %}+ {% trans "Placed on" context "Orders table header" %}</th><th>- {% trans "Placed on" context "Orders table header" %}+ {% trans "Customer" context "Orders table header" %}</th><th>{% trans "Payment status" context "Orders table header" %}</th>+ <th>+ {% trans "Order status" context "Orders table header" %}+ </th><th>{% trans "Total" context "Orders table header" %}</th>@@ -46,17 +48,17 @@#{{ order.id }}</td><td>- {% render_order_status order.status order.get_status_display %}+ {{ order.created }}</td>{% trans "Guest" context "Anonymous user account value" as guest %}<td>{{ order.user|default:guest }}</td><td>- {{ order.created }}+ {% render_status order.get_payment_status order.get_payment_status_display %}</td><td>- {% render_status order.get_last_payment_status order.get_last_payment_status_display %}+ {% render_order_status order.status order.get_status_display %}</td><td class="right-align">{% price order.total.gross %}diff --git a/templates/dashboard/order/list.html b/templates/dashboard/order/list.htmlindex 3d5d6a7b3c..2c63674efb 100644--- a/templates/dashboard/order/list.html+++ b/templates/dashboard/order/list.html@@ -41,17 +41,18 @@<tr>{% sorting_header 'pk' '#' %}- <th></th>+ {% trans "Placed on" context "Orders table header" as label %}+ {% sorting_header 'created' label %}{% trans "Customer" context "Orders table header" as label %}{% sorting_header 'email' label %}- {% trans "Placed on" context "Orders table header" as label %}- {% sorting_header 'created' label %}-{% trans "Payment status" context "Orders table header" as label %}{% sorting_header 'payment_status' label %}+ {% trans "Order status" context "Orders table header" as label %}+ {% sorting_header 'order_status' label %}+{% trans "Total" context "Orders table header" as label %}{% sorting_header 'total' label %}</tr>@@ -63,17 +64,17 @@#{{ order.id }}</td><td>- {% render_order_status order.status order.get_status_display %}+ {{ order.created }}</td>{% trans "Guest" context "Anonymous user account value" as guest %}<td>{{ order.user|default:guest }}</td><td>- {{ order.created }}+ {% render_status order.get_payment_status order.get_payment_status_display %}</td><td>- {% render_status order.get_last_payment_status order.get_last_payment_status_display %}+ {% render_order_status order.status order.get_status_display %}</td><td class="right-align">{% price order.total.gross %}