fix bug in trade template

This commit is contained in:
Cayo Puigdefabregas 2022-02-25 09:49:15 +01:00
parent 90eb279008
commit c54d9a902c
2 changed files with 4 additions and 3 deletions

View File

@ -352,9 +352,7 @@
{% include "inventory/actions.html" %} {% include "inventory/actions.html" %}
{% include "inventory/allocate.html" %} {% include "inventory/allocate.html" %}
{% include "inventory/data_wipe.html" %} {% include "inventory/data_wipe.html" %}
{% if lot and lot.is_temporary %} {% include "inventory/trade.html" %}
{% include "inventory/trade.html" %}
{% endif %}
<!-- CDN --> <!-- CDN -->
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@latest"></script> <script src="https://cdn.jsdelivr.net/npm/simple-datatables@latest"></script>

View File

@ -55,4 +55,7 @@
</div> </div>
</div> </div>
</div> </div>
{% else %}
<div class="modal fade" id="tradeLotModal" tabindex="-1" style="display: none;" aria-hidden="true"
data-show-action-form="None">
{% endif %} {% endif %}