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
508 B
18 lines
508 B
<?php |
|
|
|
include 'IxcSoft.php'; |
|
$ixc = new IxcSoft(); |
|
|
|
$ura_option = $ixc->agi()->get_variable('EXTEN', true); |
|
$cod_cliente = $ixc->agi()->get_variable('CODCLIENTE', true); |
|
|
|
$mail_send = $ixc->enviaBoleto('mail', $cod_cliente); |
|
$sms_send = $ixc->enviaBoleto('sms', $cod_cliente); |
|
|
|
if (($mail_send) || ($sms_send)) { |
|
$ixc->executarFluxo('ANUNCIO', 'INT_FATURA_SUCESSO_AUT_V2'); |
|
} else { |
|
$ixc->executarFluxo('ANUNCIO', 'INT_FATURA_FALHA_AUT_V2'); |
|
} |
|
|
|
?>
|