mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
URL fixes
This commit is contained in:
parent
fea6091e42
commit
88bb0f05e9
@ -1554,11 +1554,11 @@ function locationDetail(row, showLink=true) {
|
|||||||
} else if (row.belongs_to) {
|
} else if (row.belongs_to) {
|
||||||
// StockItem is installed inside a different StockItem
|
// StockItem is installed inside a different StockItem
|
||||||
text = `{% trans "Installed in Stock Item" %} ${row.belongs_to}`;
|
text = `{% trans "Installed in Stock Item" %} ${row.belongs_to}`;
|
||||||
url = `/stock/item/${row.belongs_to}/installed/`;
|
url = `/stock/item/${row.belongs_to}/?display=installed-items`;
|
||||||
} else if (row.customer) {
|
} else if (row.customer) {
|
||||||
// StockItem has been assigned to a customer
|
// StockItem has been assigned to a customer
|
||||||
text = '{% trans "Shipped to customer" %}';
|
text = '{% trans "Shipped to customer" %}';
|
||||||
url = `/company/${row.customer}/assigned-stock/`;
|
url = `/company/${row.customer}/?display=assigned-stock`;
|
||||||
} else if (row.sales_order) {
|
} else if (row.sales_order) {
|
||||||
// StockItem has been assigned to a sales order
|
// StockItem has been assigned to a sales order
|
||||||
text = '{% trans "Assigned to Sales Order" %}';
|
text = '{% trans "Assigned to Sales Order" %}';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user