mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
CodiceFiscale should be after IdFiscaleIVA
This commit is contained in:
@@ -95,13 +95,13 @@
|
||||
<Cognome>{{ doc.customer_data.last_name }}</Cognome>
|
||||
</Anagrafica>
|
||||
{%- else %}
|
||||
{%- if doc.customer_data.fiscal_code %}
|
||||
<CodiceFiscale>{{ doc.customer_data.fiscal_code }}</CodiceFiscale>
|
||||
{%- endif %}
|
||||
<IdFiscaleIVA>
|
||||
<IdPaese>{{ doc.customer_address_data.country_code }}</IdPaese>
|
||||
<IdCodice>{{ doc.tax_id | replace("IT","") }}</IdCodice>
|
||||
</IdFiscaleIVA>
|
||||
{%- if doc.customer_data.fiscal_code %}
|
||||
<CodiceFiscale>{{ doc.customer_data.fiscal_code }}</CodiceFiscale>
|
||||
{%- endif %}
|
||||
<Anagrafica>
|
||||
<Denominazione>{{ doc.customer_name }}</Denominazione>
|
||||
</Anagrafica>
|
||||
|
||||
Reference in New Issue
Block a user