Exemplo n.º 1
0
 public function executeDeleteTempStudent()
 {
     $temp_table = TempTablePeer::retrieveByPk($this->getRequestParameter('id'));
     $this->forward404Unless($temp_table);
     $temp_table->delete();
     $academic_calendar = AcademicCalendarPeer::retrieveByPK($this->getRequestParameter('accal_id'));
     $this->forward404Unless($academic_calendar);
     $counseling = CounselingPeer::retrieveByPk($this->getRequestParameter('counseling_id'));
     $this->forward404Unless($counseling);
     $tanggal = $this->getRequestParameter('time');
     $time2 = $this->getRequestParameter('time2');
     return $this->redirect('counseling_raport/previewStudent?counseling_id=' . $counseling->getId() . '&accal_id=' . $academic_calendar->getId() . '&time=' . $tanggal . '&time2=' . $time2);
 }
Exemplo n.º 2
0
 public function executeDeleteTemp()
 {
     $temp_table = TempTablePeer::retrieveByPk($this->getRequestParameter('id'));
     $this->forward404Unless($temp_table);
     $temp_table->delete();
     $academic_calendar = AcademicCalendarPeer::retrieveByPK($this->getRequestParameter('accal_id'));
     $this->forward404Unless($academic_calendar);
     $counseling = CounselingPeer::retrieveByPk($this->getRequestParameter('counseling_id'));
     $this->forward404Unless($counseling);
     $tanggal = $this->getRequestParameter('time');
     $tanggal2 = $this->getRequestParameter('time2');
     $term = $this->getRequestParameter('term');
     $tgl_cetak = $this->getRequestParameter('tgl_cetak');
     $this->getRequest()->setParameter('accal_id', $academic_calendar->getId());
     $this->getRequest()->setParameter('term', $term);
     $this->getRequest()->setParameter('counseling_id', $counseling->getId());
     $this->getRequest()->setParameter('time', $tanggal);
     $this->getRequest()->setParameter('time2', $tanggal2);
     $this->getRequest()->setParameter('tgl_cetak', $tgl_cetak);
     $this->forward($this->getModuleName(), 'preview');
 }
Exemplo n.º 3
0
 public function executeDeleteTempExam()
 {
     $temp_table = TempTablePeer::retrieveByPk($this->getRequestParameter('id'));
     $this->forward404Unless($temp_table);
     $temp_table->delete();
     $academic_calendar = AcademicCalendarPeer::retrieveByPK($this->getRequestParameter('accal_id'));
     $this->forward404Unless($academic_calendar);
     $counseling = CounselingPeer::retrieveByPk($this->getRequestParameter('counseling_id'));
     $this->forward404Unless($counseling);
     $tanggal = $this->getRequestParameter('time');
     $time2 = $this->getRequestParameter('time2');
     $test1 = $this->getRequestParameter('test1');
     $test2 = $this->getRequestParameter('test2');
     $task1 = $this->getRequestParameter('task1');
     $task2 = $this->getRequestParameter('task2');
     $note = $this->getRequestParameter('note');
     return $this->redirect('counseling/previewExam?counseling_id=' . $counseling->getId() . '&accal_id=' . $academic_calendar->getId() . '&time=' . $tanggal . '&time2=' . $time2 . '&note=' . $note . '&test1=' . $test1 . '&test2=' . $test2 . '&task1=' . $task1 . '&task2=' . $task2);
 }
Exemplo n.º 4
0
 public function executeDeleteTemp()
 {
     $temp_table = TempTablePeer::retrieveByPk($this->getRequestParameter('id'));
     $this->forward404Unless($temp_table);
     $temp_table->delete();
     $now = $this->getRequestParameter('now');
     return $this->redirect('collection_print/preview');
 }
Exemplo n.º 5
0
 public function executeDeleteTemp()
 {
     $temp_table = TempTablePeer::retrieveByPk($this->getRequestParameter('id'));
     $this->forward404Unless($temp_table);
     $temp_table->delete();
     $academic_calendar_id = $this->getRequestParameter('academic_calendar_id');
     $academic_calendar = AcademicCalendarPeer::retrieveByPK($academic_calendar_id);
     $this->forward404Unless($academic_calendar);
     $department_id = $this->getRequestParameter('department_id');
     $department = DepartmentPeer::retrieveByPK($department_id);
     $this->forward404Unless($department);
     $month_id1 = $this->getRequestParameter('month_id1');
     $month1 = MonthPeer::retrieveByPK($month_id1);
     $this->forward404Unless($month1);
     $month_id2 = $this->getRequestParameter('month_id2');
     $month2 = MonthPeer::retrieveByPK($month_id2);
     $this->forward404Unless($month2);
     $thn1 = $this->getRequestParameter('thn1');
     $thn2 = $this->getRequestParameter('thn2');
     $tgl_absen1 = $this->getRequestParameter('tgl_absen1');
     $tgl_absen2 = $this->getRequestParameter('tgl_absen2');
     $time = $this->getRequestParameter('time');
     $time2 = $this->getRequestParameter('time2');
     $tgl_cetak = $this->getRequestParameter('tgl_cetak');
     return $this->redirect('employee_report/previewAbsence?academic_calendar_id=' . $academic_calendar->getId() . '&department_id=' . $department->getId() . '&time=' . $time . '&time2=' . $time2 . '&tgl_cetak=' . $tgl_cetak . '&month_id1=' . $month1->getId() . '&month_id2=' . $month2->getId() . '&tgl_absen1=' . $tgl_absen1 . '&tgl_absen2=' . $tgl_absen2 . '&thn1=' . $thn1 . '&thn2=' . $thn2);
 }