Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adicionar estrutura base para funcionamento do composer no módulo #583

Open
wants to merge 18 commits into
base: release/3.7.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added src/composer.json
Empty file.
Empty file added src/composer.phar
Empty file.
4 changes: 2 additions & 2 deletions src/rn/EnviarReciboTramiteRN.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ private function obterDataRecebimentoComponentesDigitais($parObjTramite){
}

foreach ($parObjTramite->historico->operacao as $operacao) {
if($operacao->situacao == ProcessoEletronicoRN::$STA_SITUACAO_TRAMITE_COMPONENTES_RECEBIDOS_DESTINATARIO) {
mrglaydson marked this conversation as resolved.
Show resolved Hide resolved
return ProcessoEletronicoRN::converterDataSEI($operacao->dataHora);
if($operacao['situacao'] == ProcessoEletronicoRN::$STA_SITUACAO_TRAMITE_COMPONENTES_RECEBIDOS_DESTINATARIO) {
return ProcessoEletronicoRN::converterDataSEI($operacao['dataHora']);
}
}

Expand Down
6 changes: 4 additions & 2 deletions src/rn/ExpedirProcedimentoRN.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ private function obterTamanhoTotalDaBarraDeProgresso($parObjProcesso) {
$arrHashIndexados = array();
foreach ($parObjProcesso->documento as $objDoc)
{
$arrComponentesDigitais = is_array($objDoc->componenteDigital) ? $objDoc->componenteDigital : array($objDoc->componenteDigital);
mrglaydson marked this conversation as resolved.
Show resolved Hide resolved
mrglaydson marked this conversation as resolved.
Show resolved Hide resolved
$arrComponentesDigitais = is_array($objDoc->componentesDigitais) ? $objDoc->componentesDigitais : array($objDoc->componentesDigitais);
foreach ($arrComponentesDigitais as $objComponenteDigital) {
$strHashComponente = ProcessoEletronicoRN::getHashFromMetaDados($objComponenteDigital->hash);
if(!in_array($strHashComponente, $arrHashIndexados)){
Expand Down Expand Up @@ -2155,7 +2155,9 @@ private function enviarComponentesDigitais($strNumeroRegistro, $numIdTramite, $s
];

$this->salvarAnexoImutavel($dados);
$dadosDoComponenteDigital->conteudoDoComponenteDigital = new SoapVar($objDadosArquivo['CONTEUDO'], XSD_BASE64BINARY);
// $dadosDoComponenteDigital->conteudoDoComponenteDigital = new SoapVar($objDadosArquivo['CONTEUDO'], XSD_BASE64BINARY);

$dadosDoComponenteDigital->conteudoDoComponenteDigital = $objDadosArquivo;
mrglaydson marked this conversation as resolved.
Show resolved Hide resolved

$parametros = new stdClass();
$parametros->dadosDoComponenteDigital = $dadosDoComponenteDigital;
Expand Down
Loading
Loading