update notify email with prev sw count

This commit is contained in:
Nathan Coad
2019-09-10 10:06:35 +10:00
parent 86c4b7fcb3
commit 37a138ba46

View File

@@ -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));