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
395 B
13 lines
395 B
<?php |
|
|
|
include 'AltaRede.php'; |
|
$atr = new AltaRede(); |
|
|
|
$document = $atr->agi()->get_variable('DOCUMENTOCLIENTE', true); |
|
$retorno = $atr->enviaBoletoEmail($document); |
|
|
|
if ($retorno['message'] != 'Sem resultados') { |
|
$atr->executarFluxo('ANUNCIO', 'INT_FATURA_SUCESSO'.CONF_NOME_EMPRESA); // Sucesso |
|
} else { |
|
$atr->executarFluxo('ANUNCIO', 'INT_FATURA_FALHA'.CONF_NOME_EMPRESA); // Falha |
|
}
|
|
|