$result = \Bitrix\Sale\Internals\OrderChangeTable::getList(array(
'order'=>array('DATE_CREATE'=>'DESC','ID'=>'DESC'),
'filter'=>array('ORDER_ID'=>$arResult["ID"])
));
while($historyItem = $result->fetchAll ())
//echo "<pre>"; print_r($historyItem); echo "</pre>";
print_r($historyItem);
$result = \Bitrix\Sale\Internals\OrderChangeTable::getList(array(
'order'=>array('DATE_CREATE'=>'DESC','ID'=>'DESC'),
'filter'=>array('ORDER_ID'=>$arResult["ID"])
));
Array ( [ID] => 1154 [ORDER_ID] => 23 [TYPE] => TAX_SAVED [DATA] => a:0:{} [DATE_CREATE] => Bitrix\Main\Type\DateTime Object ( [value:protected] => DateTime Object ( [date] => 2021-04-20 00:25:36.000000 [timezone_type] => 3 [timezone] => Europe/Moscow ) ) [DATE_MODIFY] => Bitrix\Main\Type\DateTime Object ( [value:protected] => DateTime Object ( [date] => 2021-04-20 00:25:36.000000 [timezone_type] => 3 [timezone] => Europe/Moscow ) ) [USER_ID] => 1 [ENTITY] => TAX [ENTITY_ID] => ) Array ( [ID] => 1137 [ORDER_ID] => 23 [TYPE] => TAX_SAVED [DATA] => a:0:{} [DATE_CREATE] => Bitrix\Main\Type\DateTime Object ( [value:protected] => DateTime Object ( [date] => 2021-04-20 00:07:40.000000 [timezone_type] => 3 [timezone] => Europe/Moscow ) ) [DATE_MODIFY] => Bitrix\Main\Type\DateTime Object ( [value:protected] => DateTime Object ( [date] => 2021-04-20 00:07:40.000000 [timezone_type] => 3 [timezone] => Europe/Moscow ) ) [USER_ID] => 1 [ENTITY] => TAX [ENTITY_ID] => ) Array ( [ID] => 1100 [ORDER_ID] => 23 [TYPE] => TAX_SAVED [DATA] => a:0:{} [DATE_CREATE] => Bitrix\Main\Type\DateTime Object ( [value:protected] => DateTime Object ( [date] => 2021-04-19 23:31:43.000000 [timezone_type] => 3 [timezone] => Europe/Moscow ) ) [DATE_MODIFY] => Bitrix\Main\Type\DateTime Object ( [value:protected] => DateTime Object ( [date] => 2021-04-19 23:31:43.000000 [timezone_type] => 3 [timezone] =>
$result = \Bitrix\Sale\Internals\OrderChangeTable::getList(array(
'order'=>array('DATE_CREATE'=>'DESC','ID'=>'DESC'),
'filter'=>array('ORDER_ID'=>1319)
));
<? echo "<pre>"; print_r($result); echo "</pre>";?>
не хочет выводить.Добрый день! Вы можете воспользоваться этим методом
https://dev.1c-bitrix.ru/api_help/main/reference/c...
$('[data-slick-index="2"]').on('click', function(e){
$('[data-slick-index="2"] .new_class').css("display", "block");
})
$('.slick-next').on('click', function(e){
$('[data-slick-index="2"] .new_class').css("display", "block");
})