From 0f6a4cf71de9295d43cbe0e6a26d4de04b7b1671 Mon Sep 17 00:00:00 2001 From: filipe-golfe Date: Tue, 19 Mar 2024 15:40:14 -0300 Subject: [PATCH] Inclui tag dPag conforme NT 2023.004 --- src/Make.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Make.php b/src/Make.php index a2f88b1e..df56da91 100755 --- a/src/Make.php +++ b/src/Make.php @@ -7001,6 +7001,7 @@ public function tagdetPag(stdClass $std): DOMElement 'tPag', 'xPag', 'vPag', + 'dPag', 'CNPJ', 'tBand', 'cAut', @@ -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(