diff --git a/api/app/static/js/dashboard.js b/api/app/static/js/dashboard.js index 9cb5fe3..a6ff5d3 100644 --- a/api/app/static/js/dashboard.js +++ b/api/app/static/js/dashboard.js @@ -321,7 +321,7 @@ async function loadDashOrders() { dateFmt = d.slice(8, 10) + '.' + d.slice(5, 7) + '.' + d.slice(2, 4); if (d.length >= 16) dateFmt += ' ' + d.slice(11, 16); } - const name = o.shipping_name || o.customer_name || o.billing_name || '\u2014'; + const name = o.customer_name || o.shipping_name || o.billing_name || '\u2014'; const totalStr = o.order_total ? Number(o.order_total).toFixed(2) : ''; return `
${statusDot(o.status)} diff --git a/api/app/templates/dashboard.html b/api/app/templates/dashboard.html index 36d0a84..93521f2 100644 --- a/api/app/templates/dashboard.html +++ b/api/app/templates/dashboard.html @@ -199,5 +199,5 @@ {% endblock %} {% block scripts %} - + {% endblock %}