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.
14 lines
410 B
14 lines
410 B
<?php |
|
|
|
require_once 'MKSolutions.php'; |
|
$mk = new MkSolutions(); |
|
|
|
$cod_cliente = $mk->agi()->get_variable('CODCLIENTE', true); |
|
$retorno = $mk->consultaPendencia($cod_cliente); |
|
|
|
if ($retorno) { |
|
$mk->executarFluxo('ANUNCIO', 'CLIENTE_INADIMPLENTE'.CONF_NOME_EMPRESA);//PENDENTE |
|
} else { |
|
$mk->executarFluxo('URA', 'INT_ATENDIMENTO'.CONF_NOME_EMPRESA); // Em dia |
|
} |
|
?>
|