Skip to content

Commit

Permalink
Merge branch 'fix-cuotas-formato'
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Dec 13, 2023
2 parents 5240429 + 3ceed78 commit 02901b1
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
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
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 02901b1

Please sign in to comment.