thank you very match for helping i think the code missing amount because in the same line of description and Qty should be amount showing but like you see in purview its empty {% assign description = null %} {% assign qty = null %} {% assign amount = null %}
</div>
<td style="font-weight: bold; color: #000000; text-align: left; padding-left: 0px; padding-right: 0px; width: inherit; margin: 0 auto;">
<div style="width: 280px;">
{% for column in table.columns %}
{% case column.label %}
{% when 'Description' or 'Descrição' or 'البيان' %}
{% assign description = forloop.index0 %}
<span style="display: block; word-wrap: break-word; width: 53%; float:left">{{ column.label }}</span>
{% when 'Qty' or 'Qt.' or 'Un' or 'الكمية' %}
{% assign qty = forloop.index0 %}
<span style="display: block; word-wrap: break-word; width: 17%; float:left">{{ column.label }}</span>
{% when 'Valor' or 'Montante' or 'المجموع' %}
{% assign amount = forloop.index0 %}
<span style="display: block; word-wrap: break-word; width: 30%; float:left">{{ column.label }}</span>
{% endcase %}
{% endfor %}
</div>
</td>
</div>
|
{{ business.name }}
{{ business.address | replace: "\n", " " }}
{{ title }}
Customer Name: {{ recipient.name }}
|
{% for field in fields %}
{{ field.label }}:
{{ field.text }}
|
{% for cell in row.cells %}
{% case forloop.index0 %}
{% when description %}
{{ cell.text }}
{% when qty %}
{{ cell.text }}
{% when amount %}
{{ cell.text }}
{% endcase %}
{% endfor %}
|
{{ total.label }}:
{{ total.text }}
|
{% for field in custom_fields %}
{{ field.label }}
{{ field.text | newline_to_br }}
{% endfor %}
|
Thank you for choosing {{ business.name }}. |