2020-02-12 00:32:01 +00:00
|
|
|
{% load i18n %}
|
|
|
|
|
2019-05-16 12:15:44 +00:00
|
|
|
<div id='button-toolbar'>
|
|
|
|
<div class='button-toolbar container-fluid' style='float: right;'>
|
2020-09-13 10:56:05 +00:00
|
|
|
<button class='btn btn-default' id='stock-export' title='{% trans "Export Stock Information" %}'>{% trans "Export" %}</button>
|
2020-04-10 14:45:18 +00:00
|
|
|
{% if read_only %}
|
|
|
|
{% else %}
|
|
|
|
<button class="btn btn-success" id='item-create'>{% trans "New Stock Item" %}</button>
|
2020-09-13 10:56:05 +00:00
|
|
|
<div class="btn-group">
|
2020-04-10 14:45:18 +00:00
|
|
|
<button id='stock-options' class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">{% trans "Options" %}<span class="caret"></span></button>
|
|
|
|
<ul class="dropdown-menu">
|
2020-09-13 10:56:05 +00:00
|
|
|
<li><a href="#" id='multi-item-add' title='{% trans "Add to selected stock items" %}'>{% trans "Add stock" %}</a></li>
|
|
|
|
<li><a href="#" id='multi-item-remove' title='{% trans "Remove from selected stock items" %}'>{% trans "Remove stock" %}</a></li>
|
|
|
|
<li><a href="#" id='multi-item-stocktake' title='{% trans "Stocktake selected stock items" %}'>{% trans "Count stock" %}</a></li>
|
|
|
|
<li><a href='#' id='multi-item-move' title='{% trans "Move selected stock items" %}'>{% trans "Move stock" %}</a></li>
|
|
|
|
<li><a href='#' id='multi-item-order' title='{% trans "Order selected items" %}'>{% trans "Order stock" %}</a></li>
|
|
|
|
<li><a href='#' id='multi-item-delete' title='{% trans "Delete selected items" %}'>{% trans "Delete Stock" %}</a></li>
|
2019-05-16 12:15:44 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2020-03-18 09:37:25 +00:00
|
|
|
{% endif %}
|
2020-04-11 04:19:21 +00:00
|
|
|
<div class='filter-list' id='filter-list-stock'>
|
2020-04-11 04:14:45 +00:00
|
|
|
<!-- An empty div in which the filter list will be constructed -->
|
|
|
|
</div>
|
2019-05-16 12:15:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class='table table-striped table-condensed' data-toolbar='#button-toolbar' id='stock-table'>
|
|
|
|
</table>
|