Changed linked entity table for fee and registration
authorunknown <priyanka.karan26@gmail.com>
Wed, 17 Sep 2014 17:41:06 +0000 (18:41 +0100)
committerdeepak-srivastava <deepak.srivastava.0303@gmail.com>
Fri, 3 Oct 2014 09:08:26 +0000 (10:08 +0100)
CRM/Event/BAO/Event.php
templates/CRM/Event/Form/ManageEvent/ConfirmRepeatMode.tpl

index 0b9bf753ebb021c42f50691f198e182b177f3c11..375debdc75f352f69ef64559f8b688f07802388d 100644 (file)
@@ -2212,26 +2212,25 @@ LEFT  JOIN  civicrm_price_field_value value ON ( value.id = lineItem.price_field
     $result = array();
     if( $entityId && $linkedEntityTable ){
       switch ($linkedEntityTable) {
-          case 'civicrm_tell_friend':
-            $dao = 'CRM_Friend_DAO_Friend';
-            $entityTable = 'civicrm_tell_friend';
-            break;
+        case 'civicrm_tell_friend':
+          $dao = 'CRM_Friend_DAO_Friend';
+          $entityTable = 'civicrm_tell_friend';
+          break;
 
-          case 'civicrm_pcp_block':
-            $dao = 'CRM_PCP_DAO_PCPBlock';
-            $entityTable = 'civicrm_pcp_block';
-            break;
-            
-          case 'civicrm_price_set_entity':
-            $dao = 'CRM_Price_DAO_PriceSetEntity';
-            $entityTable = 'civicrm_price_set_entity';
-            break;
-            
-          case 'civicrm_uf_join':
-            $dao = 'CRM_Core_DAO_UFJoin';
-            $entityTable = 'civicrm_uf_join';
-            break;
-          
+        case 'civicrm_pcp_block':
+          $dao = 'CRM_PCP_DAO_PCPBlock';
+          $entityTable = 'civicrm_pcp_block';
+          break;
+
+        case 'civicrm_price_set_entity':
+          $dao = 'CRM_Price_DAO_PriceSetEntity';
+          $entityTable = 'civicrm_price_set_entity';
+          break;
+
+        case 'civicrm_uf_join':
+          $dao = 'CRM_Core_DAO_UFJoin';
+          $entityTable = 'civicrm_uf_join';
+          break;
         }
         $params = array(
                         'entity_id' => $entityId,
index 84a3a9425e37c9a0b42c1d6c0eebac0188d3ce18..3149c13581a71243d056da7d256b12ebcfffdadc 100644 (file)
@@ -71,8 +71,8 @@
     //Tab and table mapper
     var mapper = {'CRM_Event_Form_ManageEvent_EventInfo': '',
                 'CRM_Event_Form_ManageEvent_Location': '',
-                'CRM_Event_Form_ManageEvent_Fee': 'civicrm_price_set_entity',
-                'CRM_Event_Form_ManageEvent_Registration': 'civicrm_uf_join',
+                'CRM_Event_Form_ManageEvent_Fee': '',
+                'CRM_Event_Form_ManageEvent_Registration': '',
                 'CRM_Friend_Form_Event': 'civicrm_tell_friend',
                 'CRM_PCP_Form_Event': 'civicrm_pcp_block'
                 };