Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Change columns and titles in payments list
Marcin Gębala073ad12ae205
diff --git a/saleor/dashboard/templates/dashboard/payments/list.html b/saleor/dashboard/templates/dashboard/payments/list.htmlindex 7a6f3755f0..5bbaf8d81d 100644--- a/saleor/dashboard/templates/dashboard/payments/list.html+++ b/saleor/dashboard/templates/dashboard/payments/list.html@@ -8,19 +8,17 @@{% block content %}<div class="row"><div class="col-lg-12">- <h1 class="page-header">{% trans "Payment events" %}</h1>+ <h1 class="page-header">{% trans "Payments" %}</h1>{% include "dashboard/includes/_status_filters.html" %}- <table class="table table-bordered">+ <table class="table"><thead><tr>- <th>{% trans "Order number" %}</th>+ <th>{% trans "Order" %}</th><th>{% trans "Gateway" %}</th><th>{% trans "Date" %}</th>- <th>{% trans "Customer" %}</th>- <th>{% trans "Amount" %}</th><th>{% trans "Status" %}</th>- <th>{% trans "Captured amount" %}</th>+ <th>{% trans "Amount" %}</th></tr></thead><tbody>@@ -28,14 +26,12 @@<tr><td><a href="{% url 'dashboard:order-details' pk=payment.order.pk %}">{{ payment.order }}</a>- (<a href="{% url "dashboard:payment-details" pk=payment.pk %}">Transaction Details</a>)+ (<a href="{% url "dashboard:payment-details" pk=payment.pk %}">{% trans "Payment details" %}</a>)</td><td>{{ payment.variant }}</td>- <th>{{ payment.created }}</th>- <td>{{ payment.order.user|default:"Anonymous" }}</td>- <td>{% gross payment.get_total_price %}</td>+ <td>{{ payment.created }}</td><td>{% render_status payment.status payment.get_status_display %}</td>- <td>{% gross payment.get_captured_price %}</td>+ <td>{% gross payment.get_total_price %}</td></tr>{% endfor %}</tbody>