Skip to content

Commit

Permalink
Merge pull request #1025 from filipe-golfe/inclui_dPag
Browse files Browse the repository at this point in the history
Inclui tag dPag conforme NT 2023.004
  • Loading branch information
robmachado authored Mar 20, 2024
2 parents ab03aef + 0f6a4cf commit 7b69d40
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Make.php
Original file line number Diff line number Diff line change
Expand Up @@ -7001,6 +7001,7 @@ public function tagdetPag(stdClass $std): DOMElement
'tPag',
'xPag',
'vPag',
'dPag',
'CNPJ',
'tBand',
'cAut',
Expand Down Expand Up @@ -7041,6 +7042,13 @@ public function tagdetPag(stdClass $std): DOMElement
true,
"Valor do Pagamento"
);
$this->dom->addChild(
$detPag,
"dPag",
!empty($std->dPag) ? $std->dPag : null,
false,
"Data do Pagamento"
);
//NT 2023.004 v1.00
if (!empty($std->CNPJPag) && !empty($std->UFPag)) {
$this->dom->addChild(
Expand Down

0 comments on commit 7b69d40

Please sign in to comment.