Hello,
I’m trying to add TAX ID of the Customer in Sales Invoice Report Form Printout. But my query/script is not working.
I’ve tried this one
-
{%- for row in doc.Customer-%}
{{ row.customer}}
{% set u= frappe.get_doc (“Customer”,row.tax_id)%}
{{u.tax_id}}
{%- endfor -%} -
{%- for row in doc.Sales_Invoice-%}
{{ row.customer}}
{% set u= frappe.get_doc (“Customer”,row.customer)%}
{{u.tax_id}}
{%- endfor -%} -
{%- for row in doc.Sales_Invoice-%}
{{ row.customer}}
{% set u= frappe.get_doc (“Customer”,row.tax_id)%}
{{u.tax_id}}
{%- endfor -%}
and still not working. Need help in adding TAX ID in Sales Invoice. Thank you