public static function RenderInvoiceStatusControl($arParams) { if (!is_array($arParams)) { $arParams = array(); } if (!self::$INVOICE_STATUSES) { self::$INVOICE_STATUSES = CCrmStatus::GetStatus('INVOICE_STATUS'); } $arParams['INFOS'] = self::$INVOICE_STATUSES; $arParams['FINAL_ID'] = 'P'; $arParams['ENTITY_TYPE_NAME'] = CCrmOwnerType::ResolveName(CCrmOwnerType::Invoice); return self::RenderProgressControl($arParams); }