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