Print format: show item table header as per meta label
This commit is contained in:
parent
68b5eaa82f
commit
f6f2fc4079
@ -9,9 +9,13 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th style="width: 3%">{{ _("Sr") }}</th>
|
<th style="width: 3%">{{ _("Sr") }}</th>
|
||||||
<th style="width: 57%">{{ _("Item") }}</th>
|
<th style="width: 57%">{{ _("Item") }}</th>
|
||||||
<th style="width: 10%;" class="text-right">{{ _("Qty") }}</th>
|
<th style="width: 10%;" class="text-right">{{ _(data[0].meta.get_label("qty")) }}</th>
|
||||||
{% if not hide_rate -%}<th style="width: 15%;" class="text-right">{{ _("Rate") }}</th>{%- endif %}
|
{% if not hide_rate -%}
|
||||||
{% if not hide_amount -%}<th style="width: 15%;" class="text-right">{{ _("Amount") }}</th>{%- endif %}
|
<th style="width: 15%;" class="text-right">{{ _(data[0].meta.get_label("rate")) }}</th>
|
||||||
|
{%- endif %}
|
||||||
|
{% if not hide_amount -%}
|
||||||
|
<th style="width: 15%;" class="text-right">{{ _(data[0].meta.get_label("amount")) }}</th>
|
||||||
|
{%- endif %}
|
||||||
</tr>
|
</tr>
|
||||||
{%- for row in data -%}
|
{%- for row in data -%}
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user