<?php } ?> </select> </span> <?php if ($arResult['REPORT_OWNER_ID'] === 'crm_invoice') { ?> <span name="report-filter-value-control-PERSON_TYPE_ID" class="report-filter-vcc"> <select class="reports-filter-select-small" name="value"> <option value=""><?php echo GetMessage('CRM_REPORT_INCLUDE_ALL'); ?> </option> <?php $arResult['enumValues']['PERSON_TYPE_ID'] = CCrmReportHelperBase::getInvoicePersonTypeList(); foreach ($arResult['enumValues']['PERSON_TYPE_ID'] as $key => $val) { ?> <option value="<?php echo htmlspecialcharsbx($key); ?> "><?php echo htmlspecialcharsbx($val); ?> </option> <?php } ?> </select> </span> <span name="report-filter-value-control-PAY_SYSTEM_ID" class="report-filter-vcc">
?> </select> </div> <?php if ($arResult['REPORT_OWNER_ID'] === 'crm_invoice') { ?> <div class="filter-field filter-field-eventType chfilter-field-PERSON_TYPE_ID" callback="RTFilter_chooseBoolean"> <label for="%ID%" class="filter-field-title">%TITLE% "%COMPARE%"</label> <select id="%ID%" name="%NAME%" class="filter-dropdown" caller="true"> <option value=""><?php echo GetMessage('CRM_REPORT_INCLUDE_ALL'); ?> </option> <?php $arOptions = CCrmReportHelperBase::getInvoicePersonTypeList(); foreach ($arOptions as $key => $val) { ?> <option value="<?php echo htmlspecialcharsbx($key); ?> "><?php echo htmlspecialcharsbx($val); ?> </option> <?php } ?> </select> </div>