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.
18 lines
664 B
18 lines
664 B
<?php |
|
|
|
require_once 'MKSolutions.php'; |
|
$mk = new MkSolutions(); |
|
|
|
$cod_cliente = $mk->agi()->get_variable('CODCLIENTE', true); |
|
$retorno = $mk->consultaPendencia($cod_cliente); |
|
$nomenclatura = $mk->agi()->get_variable('NOMENCLATURA', true); |
|
|
|
if ($retorno) { |
|
$redirecionamento_dados = $mk->db()->redirectUraDestino("REDIR_CONSULTA_PENDENCIA", "SUCESSO", $nomenclatura); //PENDENTE |
|
} else { |
|
$redirecionamento_dados = $mk->db()->redirectUraDestino("REDIR_CONSULTA_PENDENCIA", "FALHA", $nomenclatura); //OK |
|
} |
|
|
|
$mk->executarFluxo($redirecionamento_dados["TIPO"], $redirecionamento_dados["NOME"]); |
|
|
|
?> |