Merge pull request #2648 from nabinhait/fix1
Print format: show item table header as per meta label
This commit is contained in:
commit
dc4c2733f4
@ -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