{% extends "base.html" %} {% block title %}{{ t('Print Labels') }}{% endblock %} {% block content %}

{{ t('Print Labels') }}

{{ t('Barcode labels for shelves and goods. Scan them at the POS or when counting stock.') }}
{% if can_write %}
{% endif %} {% if items %}{% endif %}
{% if picking_id %}

{{ t('One label for each unit received.') }} {{ t('Choose products instead') }}

{% else %} {% for it in items %}{% endfor %}
{{ t('Product') }}{{ t('Labels') }}
{% endif %}
{% for it in items %}{% for _ in range(it.copies) %}
{{ nm(it.p) }}
{{ it.p.code or '' }}{% if it.lot %} · {{ t('Batch') }} {{ it.lot.number }}{% if it.lot.expiry_date %} · {{ t('Exp.') }} {{ it.lot.expiry_date }}{% endif %}{% endif %}
{{ svg(it.p.barcode or it.p.code, 34, 1.2) if (it.p.barcode or it.p.code) else t('no barcode') }}
{% if show_price %}
{{ it.p.sale_price|money(currency) }} {{ currency }}
{% endif %}
{% endfor %}{% endfor %}
{% endblock %}