Skip to content

Commit cbf250d

Browse files
fix: campo UFGuia é obrigatório.
1 parent c0756c2 commit cbf250d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/MakeOld.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7858,8 +7858,8 @@ public function tagAgropecuarioGuia(stdClass $std): DOMElement
78587858
$this->dom->addChild(
78597859
$guia,
78607860
"UFGuia",
7861-
!empty($std->UFGuia) ? $std->UFGuia : null,
7862-
false,
7861+
$std->UFGuia,
7862+
true,
78637863
"UF de emissão"
78647864
);
78657865
$this->dom->addChild(

src/Traits/TraitTagAgropecuario.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public function tagAgropecuarioGuia(stdClass $std): DOMElement
4444
$this->dom->addChild(
4545
$guia,
4646
"UFGuia",
47-
!empty($std->UFGuia) ? $std->UFGuia : null,
48-
false,
47+
$std->UFGuia,
48+
true,
4949
"$identificador UF de emissão"
5050
);
5151
$this->dom->addChild(

0 commit comments

Comments
 (0)