Changed CSV report to include study group session data
This commit is contained in:
@@ -158,6 +158,7 @@ function booking_form($node, &$form_state, $inserting = FALSE) {
|
||||
$form['your-details']['booking_welfare_required'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Welfare Required?'),
|
||||
'#description' => t('Select to mark this attendee as requiring special financial consideration'),
|
||||
'#default_value' => (!empty($data->booking_welfare_required) && $data->booking_welfare_required == 'Y') ? 1 : 0
|
||||
);
|
||||
|
||||
@@ -1186,9 +1187,10 @@ function _booking_update($node) {
|
||||
'booking_skills_language' => ($node->booking_skills_language == 1 ? 'Y' : 'N'),
|
||||
'booking_skills_language_details' => $node->booking_skills_language_details,
|
||||
'booking_skills_other' => ($node->booking_skills_other == 1 ? 'Y' : 'N'),
|
||||
'booking_skills_other_details' => $node->booking_skills_other_details,
|
||||
'booking_skills_other_details' => $node->booking_skills_other_details,
|
||||
'booking_welfare_required' => ($node->booking_welfare_required == 1 ? 'Y' : 'N'),
|
||||
'booking_status' => $node->booking_status,
|
||||
'booking_welfare_required' => $node->booking_welfare_required,
|
||||
|
||||
))
|
||||
->condition('nid', $node->nid)
|
||||
->execute();
|
||||
|
Reference in New Issue
Block a user