2021-12-29 12:02:39 +00:00
|
|
|
<div class="modal fade" id="addingLotModal" tabindex="-1" style="display: none;" aria-hidden="true">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
2021-12-30 11:41:37 +00:00
|
|
|
|
2021-12-29 12:02:39 +00:00
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title">Adding to a lot</h5>
|
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
|
|
</div>
|
2021-12-30 11:41:37 +00:00
|
|
|
|
2021-12-30 12:54:14 +00:00
|
|
|
<form action="{{ url_for('inventory.devices.lot_devices_add') }}" method="post">
|
|
|
|
{{ form_lot_device.csrf_token }}
|
2021-12-30 11:41:37 +00:00
|
|
|
<div class="modal-body">
|
|
|
|
Please write a name of a lot
|
|
|
|
<select class="form-control selectpicker" id="selectLot" name="lot" data-live-search="true">
|
|
|
|
{% for lot in lots %}
|
|
|
|
<option value="{{ lot.id }}">{{ lot.name }}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
<input class="devicesList" type="hidden" name="devices" />
|
2022-02-04 12:16:27 +00:00
|
|
|
<p class="text-danger pol">
|
2021-12-30 11:41:37 +00:00
|
|
|
You need select first some device for adding this in a lot
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
2022-02-01 12:40:06 +00:00
|
|
|
<input type="submit" class="btn btn-primary" style="display: none;" value="Save changes" />
|
2021-12-30 11:41:37 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
2021-12-29 12:02:39 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|