add manually assigned column to booking_studygroups_view_form()
This commit is contained in:
@@ -1273,6 +1273,7 @@ function booking_studygroups_view_form($node, &$form_state, $group_id) {
|
|||||||
//'booking_status' => array('data' => t('Booking Status'), 'field' => 'p.booking_status'),
|
//'booking_status' => array('data' => t('Booking Status'), 'field' => 'p.booking_status'),
|
||||||
'booking_studygroup_role' => array('data' => t('Studygroup Role'), 'field' => 'p.booking_studygroup_role'),
|
'booking_studygroup_role' => array('data' => t('Studygroup Role'), 'field' => 'p.booking_studygroup_role'),
|
||||||
'booking_committee' => array('data' => t('Committee Member?'), 'field' => 'p.booking_committee_member'),
|
'booking_committee' => array('data' => t('Committee Member?'), 'field' => 'p.booking_committee_member'),
|
||||||
|
'booking_session_manually_allocated' => array('data' => t('Manually Assigned?'), 'field' => 'm.booking_session_manually_allocated'),
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($group->booking_is_readinggroup == 'Y') {
|
if ($group->booking_is_readinggroup == 'Y') {
|
||||||
@@ -1341,6 +1342,7 @@ function booking_studygroups_view_form($node, &$form_state, $group_id) {
|
|||||||
$data->booking_mobile,
|
$data->booking_mobile,
|
||||||
_booking_studygroup_role_lookup($data->booking_studygroup_role),
|
_booking_studygroup_role_lookup($data->booking_studygroup_role),
|
||||||
$data->booking_committee_member == 'Y' ? 'Yes' : 'No',
|
$data->booking_committee_member == 'Y' ? 'Yes' : 'No',
|
||||||
|
$data->booking_session_manually_allocated == 'Y' ? 'Yes' : 'No',
|
||||||
),
|
),
|
||||||
'id' => array($class),
|
'id' => array($class),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user