From 32211a3d1179a747a3297d0d4ad1dc4eed19a7ed Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Fri, 7 Jul 2023 09:14:58 -0400 Subject: [PATCH] code doesn't add anything --- CRM/Event/Form/Task/Batch.php | 1 - templates/CRM/Event/Form/Task/Batch.tpl | 3 --- 2 files changed, 4 deletions(-) diff --git a/CRM/Event/Form/Task/Batch.php b/CRM/Event/Form/Task/Batch.php index 1ad9609ef0..614696c11b 100644 --- a/CRM/Event/Form/Task/Batch.php +++ b/CRM/Event/Form/Task/Batch.php @@ -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(); } diff --git a/templates/CRM/Event/Form/Task/Batch.tpl b/templates/CRM/Event/Form/Task/Batch.tpl index 27760a6b08..f3a779e862 100644 --- a/templates/CRM/Event/Form/Task/Batch.tpl +++ b/templates/CRM/Event/Form/Task/Batch.tpl @@ -24,9 +24,6 @@ {/if} {else} - {if $statusProfile EQ 1} {* Update Participant Status in batch task *} -
{$status}
- {/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 Copy icon (next to the column title).{/ts} -- 2.25.1