Files
demo-dataset/media/report/label/part_label_code128.html
T
Oliver 0ffab73ef6 Sales orders (#138)
* Generated sales data

* Add purchase order data

* Generate build data

* generate images

* Add mocked audit-log entries

* regenerated images

* use bulk import option in CI

* fix media links

* remove custom part images

* Copy media files

* fix for workflow
2026-11-27 19:40:20 +11:00

38 lines
628 B
HTML

{% extends "label/label_base.html" %}
{% load l10n i18n barcode %}
{% block style %}
.qr {
position: absolute;
left: 0mm;
top: 0mm;
{% localize off %}
height: {{ height }}mm;
width: {{ height }}mm;
{% endlocalize %}
}
.part {
font-family: Arial, Helvetica, sans-serif;
display: flex;
position: absolute;
{% localize off %}
left: {{ height }}mm;
{% endlocalize %}
top: 2mm;
}
{% endblock style %}
{% block content %}
<img class='qr' alt='{% trans "QR code" %}' src='{% barcode qr_data %}'>
<div class='part'>
{{ part.full_name }}
</div>
{% endblock content %}