mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
JS linting fixes
This commit is contained in:
parent
f6ffef66e0
commit
22892565ed
@ -543,7 +543,7 @@ class StockList(generics.ListCreateAPIView):
|
|||||||
item.pk = None
|
item.pk = None
|
||||||
item.serial = serial
|
item.serial = serial
|
||||||
|
|
||||||
item.save()
|
item.save(user=user)
|
||||||
|
|
||||||
response_data = {
|
response_data = {
|
||||||
'quantity': quantity,
|
'quantity': quantity,
|
||||||
|
@ -2291,8 +2291,7 @@ function loadStockAllocationTable(table, options={}) {
|
|||||||
} else if (row.order) {
|
} else if (row.order) {
|
||||||
|
|
||||||
// Add an icon for the customer
|
// Add an icon for the customer
|
||||||
html += thumbnailImage(
|
html += thumbnailImage(row.customer_detail.thumbnail || row.customer_detail.image, {
|
||||||
row.customer_detail.thumbnail || row.customer_detail.image, {
|
|
||||||
title: row.customer_detail.name,
|
title: row.customer_detail.name,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user