JS linting fixes

This commit is contained in:
Oliver 2022-01-28 08:28:52 +11:00
parent f6ffef66e0
commit 22892565ed
2 changed files with 2 additions and 3 deletions

View File

@ -543,7 +543,7 @@ class StockList(generics.ListCreateAPIView):
item.pk = None
item.serial = serial
item.save()
item.save(user=user)
response_data = {
'quantity': quantity,

View File

@ -2291,8 +2291,7 @@ function loadStockAllocationTable(table, options={}) {
} else if (row.order) {
// Add an icon for the customer
html += thumbnailImage(
row.customer_detail.thumbnail || row.customer_detail.image, {
html += thumbnailImage(row.customer_detail.thumbnail || row.customer_detail.image, {
title: row.customer_detail.name,
});