Commit 9d6a2d8ab4a91196f29c2928bcacf74a08f3cb3f

Authored by eduardo.batista
1 parent 9b832172
Exists in master and in 1 other branch desenv

[Feat] Retornando sempre a data do retorno programado mesmo não estando atrasado

Showing 1 changed file with 4 additions and 5 deletions   Show diff stats
rn/MdWsSeiProcedimentoRN.php
... ... @@ -539,12 +539,11 @@ class MdWsSeiProcedimentoRN extends InfraRN
539 539 $numPrazo = InfraData::compararDatas($strDataAtual, $retornoProgramadoDTO->getDtaProgramada());
540 540 if ($numPrazo < 0) {
541 541 $retornoAtrasado = 'S';
542   - $retornoData = array(
543   - 'date' => $retornoProgramadoDTO->getDtaProgramada(),
544   - 'unidade' => $retornoProgramadoDTO->getStrSiglaUnidadeOrigemAtividadeEnvio()
545   - );
546   -
547 542 }
  543 + $retornoData = array(
  544 + 'dataProgramada' => $retornoProgramadoDTO->getDtaProgramada(),
  545 + 'unidade' => $retornoProgramadoDTO->getStrSiglaUnidadeOrigemAtividadeEnvio()
  546 + );
548 547 }
549 548 }
550 549 }
... ...