From f280e0aeaf5c1683957d8901a8a7814d19003ee9 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 25 Oct 2023 12:24:30 +1100 Subject: [PATCH] Update sales_order.js (#5784) Typo fix --- InvenTree/templates/js/translated/sales_order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/templates/js/translated/sales_order.js b/InvenTree/templates/js/translated/sales_order.js index 4a5a9b0330..61e1990c3b 100644 --- a/InvenTree/templates/js/translated/sales_order.js +++ b/InvenTree/templates/js/translated/sales_order.js @@ -1793,7 +1793,7 @@ function loadSalesOrderLineItemTable(table, options={}) { title: '{% trans "Part" %}', switchable: false, formatter: function(value, row, index, field) { - if (row.par_detail) { + if (row.part_detail) { return imageHoverIcon(row.part_detail.thumbnail) + renderLink(row.part_detail.full_name, `/part/${value}/`); } else { return '-';