JS linting fxies

This commit is contained in:
Oliver Walters 2022-05-03 14:28:41 +10:00
parent 141b764b94
commit bac5a16491

View File

@ -525,7 +525,7 @@ function orderParts(parts_list, options={}) {
{
hideLabels: true,
}
)
);
var supplier_part_prefix = `
<button type='button' class='input-group-text button-row-new-sp' pk='${pk}' title='{% trans "New supplier part" %}'>
@ -674,13 +674,10 @@ function orderParts(parts_list, options={}) {
// Extract information from the row
var data = {
quantity: getFormFieldValue(`quantity_${pk}`, {type: 'decimal',}, opts),
quantity: getFormFieldValue(`quantity_${pk}`, {type: 'decimal'}, opts),
part: getFormFieldValue(`part_${pk}`, {}, opts),
order: getFormFieldValue(`order_${pk}`, {}, opts),
}
// $(opts.modal).find(`#order_row_${pk}`).disable();
// $(this).disable();
};
// Duplicate the form options, to prevent 'field_suffix' override
var row_opts = Object.assign(opts);