Teacher Type Meeting Time Action
Html->link($meeting['user']['username'], ['controller' => 'admin', 'action' => 'userInfo', $meeting['user']['user_id']]); ?> Form->button('Confirm', ['class' => 'updateButton btn btn-primary clsmeeing_schedule_btn', 'onclick' => 'meetingScheduler(\'is_confirmed\','.$meeting['meeting_schedule_id'].',\''.$type.'\') ']); } else if ($type == 'confirmed') { if ($meeting['is_rescheduled']) { echo $this->Form->button('Rescheduled', ['class' => 'updateButton btn btn-info clsmeeing_schedule_btn', 'onclick' => 'meetingRescheduler(\''.date('Y-m-d', strtotime($meeting['meeting_at'])) . '\',' . date('H', strtotime($meeting['meeting_at'])) . ',' . date('i', strtotime($meeting['meeting_at'])) . ', ' . $meeting['meeting_schedule_id'] . ','. $meeting['user_id'].',\''.$type.'\', \''.$meeting['type'].'\' )']); } else { echo $this->Form->button('Reschedule', ['class' => 'updateButton btn btn-primary clsmeeing_schedule_btn', 'onclick' => 'meetingRescheduler(\''.date('Y-m-d', strtotime($meeting['meeting_at'])) . '\',' . date('H', strtotime($meeting['meeting_at'])) . ',' . date('i',strtotime($meeting['meeting_at'])) . ',' . $meeting['meeting_schedule_id'] . ','. $meeting['user_id'].',\''.$type.'\', \''.$meeting['type'].'\' )']); } echo $this->Form->button('Complete', ['class' => 'updateButton btn btn-primary clsmeeing_schedule_btn', 'onclick' => 'meetingScheduler(\'is_completed\','.$meeting['meeting_schedule_id'].',\''.$type .'\') ']); } else if ($type == 'expired') { if ($meeting['is_confirmed']) { echo $this->Form->button('Confirmed', ['class' => 'updateButton btn clsmeeing_schedule_btn', 'disabled' => 'disabled']); } if ($meeting['is_rescheduled']) { echo $this->Form->button('Rescheduled', ['class' => 'updateButton btn btn-info clsmeeing_schedule_btn', 'onclick' => 'meetingRescheduler(\''.date('Y-m-d', strtotime($meeting['meeting_at'])) . '\',' . date('H', strtotime($meeting['meeting_at'])) . ',' . date('i', strtotime($meeting['meeting_at'])) . ', ' . $meeting['meeting_schedule_id'] . ','. $meeting['user_id'].',\''.$type.'\', \''.$meeting['type'].'\' )']); } else { echo $this->Form->button('Reschedule', ['class' => 'updateButton btn btn-primary clsmeeing_schedule_btn', 'onclick' => 'meetingRescheduler(\''.date('Y-m-d', strtotime($meeting['meeting_at'])) . '\',' . date('H', strtotime($meeting['meeting_at'])) . ',' . date('i',strtotime($meeting['meeting_at'])) . ',' . $meeting['meeting_schedule_id'] . ','. $meeting['user_id'].',\''.$type.'\', \''.$meeting['type'].'\' )']); } } ?>
No results found.