<?$APPLICATION->IncludeComponent(
"bitrix:catalog.section.list",
"tests",
array(
"IBLOCK_TYPE" => $arParams["IBLOCK_TYPE"],
"IBLOCK_ID" => $arParams["IBLOCK_ID"],
"CACHE_TYPE" => $arParams["CACHE_TYPE"],
"CACHE_TIME" => $arParams["CACHE_TIME"],
"CACHE_GROUPS" => $arParams["CACHE_GROUPS"],
"COUNT_ELEMENTS" => $arParams["SECTION_COUNT_ELEMENTS"],
"TOP_DEPTH" => $arParams["SECTION_TOP_DEPTH"],
"SECTION_URL" => $arResult["FOLDER"].$arResult["URL_TEMPLATES"]["section"],
"VIEW_MODE" => $arParams["SECTIONS_VIEW_MODE"],
"SHOW_PARENT_NAME" => $arParams["SECTIONS_SHOW_PARENT_NAME"],
"SECTION_USER_FIELDS" => array('UF_*'),
"HIDE_SECTION_NAME" => (isset($arParams["SECTIONS_HIDE_SECTION_NAME"]) ? $arParams["SECTIONS_HIDE_SECTION_NAME"] : "N"),
"ADD_SECTIONS_CHAIN" => (isset($arParams["ADD_SECTIONS_CHAIN"]) ? $arParams["ADD_SECTIONS_CHAIN"] : '')
),
$component,
array("HIDE_ICONS" => "Y")
);
?>
$vouchers = \Tech\Vouch\VoucherTable::getList([
'filter' => [
]
]);
foreach ($vouchers as $voucherTransact) {
$voucherTransactDate[] = $voucherTransact["DATE_CREATE"];
}
$transactionsVouchers = \Tech\Vouch\TransactionTable::getList([
'filter' => [
"DATE_CREATE" => $voucherTransactDate,
]
])->fetchCollection();
$vouchers = \Tech\Vouch\VoucherTable::getList([
'filter' => [
]
]);
foreach ($vouchers as $voucherTransact) {
$voucherTransact["DATE_CREATE"] = $voucherTransact;
}
$transactionsVouchers = \Tech\Vouch\TransactionTable::getList([
'filter' => [
"DATE_CREATE" => $voucherTransact["DATE_CREATE"],
]
])->fetchCollection();