From a4392abe43cfeeaf6db54f44d9e65708539a6528 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 15 Jan 2020 07:12:28 -0600 Subject: [PATCH] 2020 update --- src/functions.php | 6 +++--- views/common/head.php | 2 +- views/emails/guest.tpl | 6 +++--- views/emails/receipt.tpl | 2 +- views/family.php | 4 ++-- views/notify.php | 2 +- views/soldout.php | 2 +- views/step1.php | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/functions.php b/src/functions.php index ff14e6a..192ab42 100644 --- a/src/functions.php +++ b/src/functions.php @@ -30,8 +30,8 @@ function getInteger($variable, $postiveOnly = true) */ function getEventPricing($date = null) { - $priceIncrease1 = new DateTime('4/1/2019', new DateTimeZone('America/Chicago')); - $priceIncrease2 = new DateTime('5/1/2019', new DateTimeZone('America/Chicago')); + $priceIncrease1 = new DateTime('4/1/2020', new DateTimeZone('America/Chicago')); + $priceIncrease2 = new DateTime('5/1/2020', new DateTimeZone('America/Chicago')); if (empty($date)) { return [ @@ -130,7 +130,7 @@ function shoppingCartTotal($price) function checkIfTicketsAreOnSale() { $todaysDate = new DateTime('now', new DateTimeZone('America/Chicago')); - $dateOnSale = new DateTime('3/15/2019 8:00am', new DateTimeZone('America/Chicago')); + $dateOnSale = new DateTime('3/15/2020 8:00am', new DateTimeZone('America/Chicago')); $interval = $todaysDate->diff($dateOnSale); if ($interval->days >= 0 && $interval->invert === 0) { diff --git a/views/common/head.php b/views/common/head.php index df76597..e49e8bf 100644 --- a/views/common/head.php +++ b/views/common/head.php @@ -6,7 +6,7 @@ - Dinner in the Woods 2019 - Tickets on sale March 15th! + Dinner in the Woods 2020 - Tickets on sale March 15th! diff --git a/views/emails/guest.tpl b/views/emails/guest.tpl index cc9ae9b..a2a62bc 100644 --- a/views/emails/guest.tpl +++ b/views/emails/guest.tpl @@ -410,12 +410,12 @@

Hi {{guest_name}},

You've been invited to Dinner in the Woods by {{from_name}}! This email confirms you as a guest and allows you to manage your profile to make for a more pleasant experience at the event.

-

Dinner in the Woods is on Saturday, June 1st, 2019 from 5:00pm to 11:30pm and is hosted at Natures Classroom Institute of Wisconsin. We hope you'll enjoy the live music, local food, and live & silent auctions the day of the event!

+

Dinner in the Woods is on Saturday, June 20th, 2020 from 5:00pm to 11:30pm and is hosted at Natures Classroom Institute of Wisconsin. We hope you'll enjoy the live music, local food, and live & silent auctions the day of the event!

As we get closer to the event we will send reminders and more details.

If you cannot attend please let your host know. {{from_name}} invited you and their email is {{from_email}}

-

If you have any questions about the event or schol, simply reply to this email for help.

+

If you have any questions about the event or school, simply reply to this email for help.

Gratefully,
Nature’s Classroom Institute and Montessori School

@@ -449,7 +449,7 @@