2020-10-29 08:49:34 +00:00
|
|
|
{% set qty_first=print_settings.print_uom_after_quantity %}
|
2020-09-03 15:31:21 +00:00
|
|
|
{% if qty_first %}
|
|
|
|
{{ doc.get_formatted("qty", doc) }}
|
|
|
|
{% if (doc.uom and not doc.is_print_hide("uom")) %} {{ _(doc.uom) }}
|
|
|
|
{% elif (doc.stock_uom and not doc.is_print_hide("stock_uom")) %} {{ _(doc.stock_uom) }}
|
|
|
|
{%- endif %}
|
|
|
|
{% else %}
|
|
|
|
{% if (doc.uom and not doc.is_print_hide("uom")) %}
|
|
|
|
<small class="pull-left">{{ _(doc.uom) }}</small>
|
|
|
|
{% elif (doc.stock_uom and not doc.is_print_hide("stock_uom")) %}
|
|
|
|
<small class="pull-left">{{ _(doc.stock_uom) }}</small>
|
|
|
|
{%- endif %}
|
|
|
|
{{ doc.get_formatted("qty", doc) }}
|
2015-04-13 10:01:24 +00:00
|
|
|
{%- endif %}
|
2020-09-03 15:31:21 +00:00
|
|
|
|