Dears,
I have the following issue,
Description:
I need to add items names with another language such as Arabic, it have created custom field in item and called it arabic_name and added the arabic names of the items using this.
but i need to call it in printing format i have noticed with that there are loop in the printing format
{%- for item in doc.items -%}
<tr>
<td>
{{ item.item_code }}
{%- if item.item_name != item.item_code -%}
<br>{{ item.item_name }}
{%- endif -%}
</td>
<td class="text-right">{{ item.qty }}<br>@ {{ item.get_formatted("rate") }}</td>
<td class="text-right">{{ item.get_formatted("amount") }}</td>
</tr>
{%- endfor -%}
I need to call it as same as {{ item.item_name }} to be {{ item.arabic_name }}