JS linting fixes

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

No files matched your search

+1 -1
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,
+1 -2
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,
});