From 37a138ba463a0fcc334c585c6d968b3d96190592 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Tue, 10 Sep 2019 10:06:35 +1000 Subject: [PATCH] update notify email with prev sw count --- booking.helper.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/booking.helper.inc b/booking.helper.inc index 362c747..c3b6b76 100644 --- a/booking.helper.inc +++ b/booking.helper.inc @@ -1475,7 +1475,9 @@ function _booking_details_email_summary($node) { if (variable_get('booking_enable_tshirts', 0) == 1) { $rows[] = t('Hoodie Size: !size', array('!size' => $node->booking_shirt_size)); } - + if (variable_get('booking_enable_previous_studyweeks', 0) == 1) { + $rows[] = t('Previous SWs: !sw', array('!sw' => $node->booking_prev_sw_count)); + } $rows[] = t('Emergency Contact Name: !contact', array('!contact' => $node->booking_guardian_name)); $rows[] = t('Emergency Contact Relationship: !relationship', array('!relationship' => $node->booking_guardian_type)); $rows[] = t('Emergency Contact Phone: !phone', array('!phone' => $node->booking_guardian_phone));