Skip to content

Commit

Permalink
añadir prefijo en Signature cbc:ID (para id signature) firmante externo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhamnerx committed Jul 26, 2024
1 parent 5755d88 commit 6bc657d
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/despatch.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{% endif %}
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/despatch2022.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{% endfor %}
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/invoice2.0.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
{% endif %}
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down
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 @@ -59,7 +59,7 @@
{% endfor %}
{% endif %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/notacr2.0.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
{% endif %}
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
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 @@ -49,7 +49,7 @@
{% endif %}
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/notadb2.0.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
{% endif %}
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/notadb2.1.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{% endif %}
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/perception.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<cbc:CustomizationID>1.0</cbc:CustomizationID>
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/retention.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<cbc:CustomizationID>1.0</cbc:CustomizationID>
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/summary.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<cbc:IssueDate>{{ doc.fecResumen|date('Y-m-d') }}</cbc:IssueDate>
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down
2 changes: 1 addition & 1 deletion packages/xml/src/Xml/Templates/voided.xml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<cbc:IssueDate>{{ doc.fecComunicacion|date('Y-m-d') }}</cbc:IssueDate>
{% set emp = doc.company %}
<cac:Signature>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
<cbc:ID>SIGN{{ emp.ruc }}</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>{{ emp.ruc }}</cbc:ID>
Expand Down

0 comments on commit 6bc657d

Please sign in to comment.