{{ item.product_name|default:'Product details needed' }}{{ item.barcode }} · {{ item.get_status_display }}{% if item.last_error %} · {{ item.last_error }}{% endif %}
{{ item.package_count }} package{{ item.package_count|pluralize }}
{% if item.package_amount %}{{ item.package_amount }} {{ item.package_unit }}{% endif %}
{% if batch.status == 'draft' and item.status == 'confirmed' %}
{{ item.package_count }}
{% endif %}