Skip to content

Commit

Permalink
CUI: Fix for part pricing panel (#8338)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat authored Oct 23, 2024
1 parent 8d27144 commit bcc9911
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/backend/InvenTree/templates/js/translated/pricing.js
Original file line number Diff line number Diff line change
Expand Up @@ -811,12 +811,10 @@ function loadPurchasePriceHistoryTable(options={}) {
}

var html = '';
var supplier = row.supplier_part_detail.supplier_detail;

html += imageHoverIcon(supplier.thumbnail || supplier.image);
html += renderLink(order.reference, `/order/purchase-order/${order.pk}/`);
html += ' - ';
html += renderLink(supplier.name, `/company/${supplier.pk}/`);
html += renderLink(order.supplier_name, `/company/${order.supplier}/`);

return html;
}
Expand Down

0 comments on commit bcc9911

Please sign in to comment.