forked from Claudio/integracao
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
766 B
17 lines
766 B
<?php |
|
include 'Gerenet.php'; |
|
$gnt = new Gerenet(); |
|
|
|
$idcliente = $gnt->agi()->get_variable('CODCLIENTE', true); |
|
$liberacao = $gnt->liberacaoServico($idcliente); |
|
$nomenclatura = str_replace("IDENTIFICACAO", "", $gnt->db()->getUraMovimentoByUniqueid($uid)['umv_ura_nome']); |
|
$gnt->agi()->set_variable("NOMENCLATURA", $nomenclatura); |
|
|
|
if($liberacao == 'OK'){ |
|
$redirecionamento_dados = $gnt->db()->redirectUraDestino("REDIR_DESBLOQUEIA_CLIENTE", "SUCESSO", $nomenclatura); //PENDENTE |
|
} else { |
|
$redirecionamento_dados = $gnt->db()->redirectUraDestino("REDIR_DESBLOQUEIA_CLIENTE", "FALHA", $nomenclatura); //OK |
|
} |
|
|
|
$gnt->executarFluxo($redirecionamento_dados["TIPO"], $redirecionamento_dados["NOME"]); |
|
?>
|