Item grid header in print format
This commit is contained in:
parent
11cb9de10a
commit
4ce020f521
@ -6,17 +6,19 @@
|
||||
|
||||
<table class="table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th style="width: 3%">{{ _("Sr") }}</th>
|
||||
<th style="width: 57%">{{ _("Item") }}</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">{{ _(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>
|
||||
{% if data|length -%}
|
||||
<tr>
|
||||
<th style="width: 3%">{{ _("Sr") }}</th>
|
||||
<th style="width: 57%">{{ _("Item") }}</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">{{ _(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>
|
||||
{%- endif %}
|
||||
{%- for row in data -%}
|
||||
<tr>
|
||||
<td>{{ row.idx }}</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user