FEAT(Asset): Add ability to generate whole page of labels

This commit is contained in:
2021-12-31 12:17:46 +00:00
parent fdbdaab52e
commit 484f155e43
10 changed files with 150 additions and 27 deletions

View File

@@ -12,9 +12,7 @@
{% button 'edit' url='asset_update' pk=object.asset_id %}
{% button 'duplicate' url='asset_duplicate' pk=object.asset_id %}
<a type="button" class="btn btn-info" href="{% url 'asset_audit' object.asset_id %}"><span class="fas fa-certificate"></span> Audit</a>
{% if object.is_cable %}
<a type="button" class="btn btn-primary" href="{% url 'generate_label' object.asset_id %}"><span class="fas fa-barcode"></span> Generate Label</a>
{% endif %}
</div>
{% endif %}
{% if create or edit or duplicate %}