{% load i18n %}
{% load inventree_extras %}

{% settings_value 'BARCODE_ENABLE' as barcodes %}

{% setting_object 'STOCK_OWNERSHIP_CONTROL' as owner_control %}
{% if owner_control.value == "True" %}
    {% authorized_owners location.owner as owners %}
{% endif %}

<div id='{{ prefix }}button-toolbar'>
    {% include "filter_list.html" with prefix=prefix id="stock" %}
</div>

<table class='table table-striped table-condensed' data-toolbar='#{{ prefix }}button-toolbar' id='{{ prefix }}stock-table'>
</table>
