Skip to content

Commit

Permalink
Apply format
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Dec 13, 2023
1 parent 5240429 commit 3ceed78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/invoice2.1.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
<cbc:ID>FormaPago</cbc:ID>
<cbc:PaymentMeansID>{{ doc.formaPago.tipo }}</cbc:PaymentMeansID>
{% if doc.formaPago.monto %}
<cbc:Amount currencyID="{{ doc.formaPago.moneda|default(doc.tipoMoneda) }}">{{ doc.formaPago.monto }}</cbc:Amount>
<cbc:Amount currencyID="{{ doc.formaPago.moneda|default(doc.tipoMoneda) }}">{{ doc.formaPago.monto|n_format }}</cbc:Amount>
{% endif %}
</cac:PaymentTerms>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/notacr2.1.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<cbc:ID>FormaPago</cbc:ID>
<cbc:PaymentMeansID>{{ doc.formaPago.tipo }}</cbc:PaymentMeansID>
{% if doc.formaPago.monto %}
<cbc:Amount currencyID="{{ doc.formaPago.moneda|default(doc.tipoMoneda) }}">{{ doc.formaPago.monto }}</cbc:Amount>
<cbc:Amount currencyID="{{ doc.formaPago.moneda|default(doc.tipoMoneda) }}">{{ doc.formaPago.monto|n_format }}</cbc:Amount>
{% endif %}
</cac:PaymentTerms>
{% endif %}
Expand Down

0 comments on commit 3ceed78

Please sign in to comment.