Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.0
-
Fix Version/s: 2.2.0
-
Component/s: CiviContribute
-
Labels:None
Description
When displaying PCP's in a selector, add css .disabled class to row if they are inactive or "Not Approved"
NOTE: For civicrm_pcp.status_id please use CRM_Core_OptionGroup::getValue( 'pcp_status', 'Not Approved', 'name' ) rather than hard-coding a value. (I fixed this in Page/PCPInfo.php which was using hard-code status of 2 to see if a page was Approved.)