Skip to content

Commit

Permalink
S-2299 pensAlim
Browse files Browse the repository at this point in the history
  • Loading branch information
robmachado committed Mar 1, 2022
1 parent b55ba59 commit ebc5359
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/Fake/v_S_01_00_00/Fake_s2299_EvtDeslig.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
$std->dtavprv = '2017-11-25'; //Opcional
$std->indpagtoapi = 'S'; //Obrigatório
$std->dtprojfimapi = '2017-11-25'; //Opcional
$std->pensalim = 2; //Opcional
$std->pensalim = 0; //Opcional
$std->percaliment = 22; //Opcional
$std->vralim = 1234.45; //Opcional
$std->nrproctrab = '12345678901234567890'; //Opcional
Expand Down
1 change: 0 additions & 1 deletion examples/Fake/v_S_01_00_00/Fake_s2306_EvtTSVAltContr.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
$std->estagiario->nivestagio = 1;
$std->estagiario->areaatuacao = 'ATUACAO';
$std->estagiario->nrapol = '12345681';
$std->estagiario->vlrbolsa = 1500;
$std->estagiario->dtprevterm = '2017-08-25';

$std->estagiario->instensino = new \stdClass();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"nrinsc": {
"required": true,
"type": "string",
"pattern": "^[0-9]{14}$"
"pattern": "^[0-9]{11}|[0-9]{14}$"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/Factories/Traits/TraitS2299.php
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ protected function toNodeS100()
$this->dom->addChild(
$infoDeslig,
"pensAlim",
!empty($this->std->pensalim) ? $this->std->pensalim : null,
isset($this->std->pensalim) ? $this->std->pensalim : null,
false
);
$this->dom->addChild(
Expand Down

0 comments on commit ebc5359

Please sign in to comment.