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.
13 lines
482 B
13 lines
482 B
<?php |
|
include 'IxcSoft.php'; |
|
$ixc = new IxcSoft(); |
|
|
|
$idcliente = $ixc->agi()->get_variable('CODCLIENTE', true); |
|
$pendencias = $ixc->verificaBloqueioInternet($idcliente); |
|
|
|
if (in_array('INADIMPLENTE', $pendencias) || in_array('BLOQUEADO', $pendencias)) { |
|
$ixc->executarFluxo('ANUNCIO', 'INT_PENDENCIA'.CONF_NOME_EMPRESA);// Inadimplente |
|
} else { |
|
$ixc->executarFluxo('URA', 'INT_AUTOMATIZADA'.CONF_NOME_EMPRESA); // Cliente OK |
|
} |
|
?>
|