JS linting

This commit is contained in:
Oliver 2023-03-16 16:48:55 +11:00
parent 822c68f554
commit 034e8eacd0
3 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,7 @@
<h4>{% trans "Sales Order Items" %}</h4>
{% include "spacer.html" %}
<div class='btn-group' role='group'>
{% if roles.sales_order.change %}
{% if roles.sales_order.add %}
{% if order.is_pending or allow_extra_editing %}
<button type='button' class='btn btn-success' id='new-so-line'>
<span class='fas fa-plus-circle'></span> {% trans "Add Line Item" %}

View File

@ -1421,7 +1421,8 @@ function loadBuildOutputTable(build_info, options={}) {
items: stock_id_values,
key: 'item',
url: '{% url "api-stockitem-label-list" %}',
}); });
});
});
$('#outputs-expand').click(function() {
$(table).bootstrapTable('expandAllRows');

View File

@ -315,5 +315,5 @@ function loadExtraLineTable(options={}) {
}
},
]
})
});
}