Changed CSV report to include study group session data

This commit is contained in:
2014-01-30 23:16:38 +11:00
parent 50dae61740
commit 86aea0ee49
6 changed files with 42 additions and 10 deletions

View File

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