Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove non-existing fields

Marcin Gębala4feb24825da6
diff --git a/saleor/dashboard/templates/dashboard/customer/detail.html b/saleor/dashboard/templates/dashboard/customer/detail.html
index a8330da6b9..c3892aaced 100644
--- a/saleor/dashboard/templates/dashboard/customer/detail.html
+++ b/saleor/dashboard/templates/dashboard/customer/detail.html
@@ -54,9 +54,6 @@
</div>
<div class="box">
<div class="box-header">Details</div>
- <li>
- {% gross customer.get_total_spent %} {% trans "from completed orders" %}
- </li>
</div>
</div>
</div>
diff --git a/saleor/dashboard/templates/dashboard/customer/list.html b/saleor/dashboard/templates/dashboard/customer/list.html
index 7e288e04ac..174578a959 100644
--- a/saleor/dashboard/templates/dashboard/customer/list.html
+++ b/saleor/dashboard/templates/dashboard/customer/list.html
@@ -17,7 +17,6 @@
<th>{% trans "Location" %}</th>
<th>{% trans "Number of orders" %}</th>
<th>{% trans "Last order" %}</th>
- <th>{% trans "Total spent" %}</th>
</thead>
<tbody>
{% for customer in object_list %}
@@ -40,9 +39,6 @@
-
{% endif %}
</td>
- <td>
- {% gross customer.get_total_spent %}
- </td>
</tr>
{% endfor %}
</tbody>