CRM-16641 - CiviReport - allow reporting on premium fulfillment date - add'l fix
authorJon goldberg <jon@palantetech.coop>
Sun, 7 Jun 2015 18:15:48 +0000 (14:15 -0400)
committerJon goldberg <jon@palantetech.coop>
Sun, 7 Jun 2015 18:15:48 +0000 (14:15 -0400)
CRM/Report/Form/Member/ContributionDetail.php

index e1e5565adf5428b5b33d949d7047308a79e62a2d..c94be558449a4b6fd927c8e045865aa9be7a6ad6 100644 (file)
@@ -468,7 +468,8 @@ class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form {
 
     //for premiums
     if (!empty($this->_params['fields']['product_name']) ||
-      !empty($this->_params['fields']['product_option'])
+      !empty($this->_params['fields']['product_option']) ||
+      !empty($this->_params['fields']['fulfilled_date'])
     ) {
       $this->_from .= "
                  LEFT JOIN  civicrm_contribution_product {$this->_aliases['civicrm_contribution_product']}