Created
June 30, 2021 14:11
-
-
Save Newol1/2cc62b9b3000c0e67982b23e9dddedac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php"); | |
require_once ($_SERVER['DOCUMENT_ROOT'] . '/local/classes/WinCalc/WinCalc.php'); | |
$winCalc = new \Integrations\WinCalc\WinCalc(\CCrmOwnerType::DealName); | |
$res = $winCalc->updateSingleOffer(397801); | |
echo '<pre>'; | |
//while($ob = $res->fetch()) { | |
// if ($ob['STATUSID'] == 4) { | |
// print_r($ob['ID']); | |
// print_r(PHP_EOL); | |
// print_r($ob['STATUSID']); | |
// print_r(PHP_EOL); | |
// } | |
//} | |
print_r($winCalc->errorArr); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment