From 3e4e3db64b366028845cfd610c5b17f26bd062ee Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 06 Sep 2026 23:04:45 +0000
Subject: [PATCH] =Added conditional logic. Skeletoned a block to select a particular meta for display.

---
 inc/registrar/helpers/MakeCalendarType.php |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/inc/registrar/helpers/MakeCalendarType.php b/inc/registrar/helpers/MakeCalendarType.php
index c17f1ad..1c2d011 100644
--- a/inc/registrar/helpers/MakeCalendarType.php
+++ b/inc/registrar/helpers/MakeCalendarType.php
@@ -67,15 +67,15 @@
 				'label'     => 'Make Multi-Day Event',
 				'default'   => false,
 			],
-			'date_end' => [
-				'type'      => 'date',
-				'label'     => 'Date End',
-				'condition' => [
-					'field' => 'make_multiple',
-					'operator' => '==',
-					'value' => 1
-				]
-			],
+//			'date_end' => [
+//				'type'      => 'date',
+//				'label'     => 'Date End',
+//				'condition' => [
+//					'field' => 'make_multiple',
+//					'operator' => '==',
+//					'value' => 1
+//				]
+//			],
 			'past' => [
 				'type'      => 'true_false',
 				'label'     => 'Past Event',
@@ -100,6 +100,7 @@
 				'type' => 'repeater',
 				'label' => 'Daily Schedule',
 				'description' => 'Set specific times for multi-day events',
+				'add_label' => 'Add Day',
 				'condition'	=> [
 					'field'	=> 'make_multiple',
 					'operator' => '==',

--
Gitblit v1.10.0