code doesn't add anything
authordemeritcowboy <demeritcowboy@hotmail.com>
Fri, 7 Jul 2023 13:14:58 +0000 (09:14 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Fri, 7 Jul 2023 13:14:58 +0000 (09:14 -0400)
CRM/Event/Form/Task/Batch.php
templates/CRM/Event/Form/Task/Batch.tpl

index 1ad9609ef01a0060884195c53c6c9f45d4348328..614696c11b974ff4b443e208826af5471c562fed 100644 (file)
@@ -89,7 +89,6 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
 
     $this->_fields = CRM_Core_BAO_UFGroup::getFields($ufGroupId, FALSE, CRM_Core_Action::VIEW);
     if (array_key_exists('participant_status', $this->_fields)) {
-      $this->assign('statusProfile', 1);
       $this->assignToTemplate();
     }
 
index 27760a6b08f1008318c7bb0ad62d5b7d9cd96fe6..f3a779e8626ef2a703c55cbd9e92a954add46755 100644 (file)
@@ -24,9 +24,6 @@
         </div>
       {/if}
     {else}
-      {if $statusProfile EQ 1} {* Update Participant Status in batch task *}
-        <div class="status">{$status}</div>
-      {/if}
       {ts}Update field values for each participant as needed. To set a field to the same value for ALL rows, enter that value for the first participation and then click the
         <strong>Copy icon</strong>
         (next to the column title).{/ts}