Skip to content

Commit

Permalink
Merge pull request #159 from robmachado/master
Browse files Browse the repository at this point in the history
Correção de BUG R4010
  • Loading branch information
robmachado authored Oct 28, 2023
2 parents 261c401 + 0f51f73 commit 99e74b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/Fake/v2_01_02/Fake_R4010_EvtRetPF.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
$std->idepgto[0]->infopgto[0]->compFP = '2022';
$std->idepgto[0]->infopgto[0]->indDecTerc = 'S';
$std->idepgto[0]->infopgto[0]->vlrRendBruto = 7834.45;
$std->idepgto[0]->infopgto[0]->vlrRendTrib = 4324.56;
//$std->idepgto[0]->infopgto[0]->vlrRendTrib = 4324.56;
$std->idepgto[0]->infopgto[0]->vlrIR = 400.33;
$std->idepgto[0]->infopgto[0]->indRRA = 'S';
$std->idepgto[0]->infopgto[0]->indFciScp = '1';
Expand Down
4 changes: 2 additions & 2 deletions src/Factories/EvtRetPF.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,13 @@ protected function toNode()
$this->dom->addChild(
$infoPgto,
"vlrRendTrib",
self::format($info->vlrrendtrib),
self::format($info->vlrrendtrib ?? null),
false
);
$this->dom->addChild(
$infoPgto,
"vlrIR",
self::format($info->vlrir),
self::format($info->vlrir ?? null),
false
);
$this->dom->addChild(
Expand Down

0 comments on commit 99e74b4

Please sign in to comment.