Пример #1
0
        echo htmlspecialcharsbx($val);
        ?>
</option>
			<?php 
    }
    ?>
		</select>
	</span>
	<span name="report-filter-value-control-PAY_SYSTEM_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']['PAY_SYSTEM_ID'] = CCrmReportHelperBase::getInvoicePaySystemList();
    foreach ($arResult['enumValues']['PAY_SYSTEM_ID'] as $key => $val) {
        ?>
          <option value="<?php 
        echo htmlspecialcharsbx($key);
        ?>
"><?php 
        echo htmlspecialcharsbx($val);
        ?>
</option>
			<?php 
    }
    ?>
		</select>
	</span><?php 
}
Пример #2
0
 public static function formatResultsTotal(&$total, &$columnInfo, &$customChartTotal = null)
 {
     parent::formatResultsTotal($total, $columnInfo);
     if (isset($total['TOTAL_CRM_PRODUCT_ROW_DEAL_OWNER_PROBABILITY'])) {
         // Suppress PROBABILITY (%) aggregation
         unset($total['TOTAL_CRM_PRODUCT_ROW_DEAL_OWNER_PROBABILITY']);
     }
 }
Пример #3
0
</option>
			<?php 
    }
    ?>
		</select>
	</div>

	<div class="filter-field filter-field-eventType chfilter-field-PAY_SYSTEM_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::getInvoicePaySystemList();
    foreach ($arOptions as $key => $val) {
        ?>
				<option value="<?php 
        echo htmlspecialcharsbx($key);
        ?>
"><?php 
        echo htmlspecialcharsbx($val);
        ?>
</option>
			<?php 
    }
    ?>
		</select>
	</div><?php 
}