WIP: director-view restructuring

parent e4221793
......@@ -259,7 +259,7 @@ public function getStudentPerSchool(Request $request , $selectId, $classId, $lim
$checkstudentstatus = reset($checkstatus);
if ($i >= $limitdown && $i < $limitup)
{
$newstatus = $checkstudentstatus -> directorconfirm-> getValue();
$newstatus = $checkstudentstatus -> directorconfirm-> value;
$list[] = array(
'i' => $i,
......@@ -270,12 +270,18 @@ public function getStudentPerSchool(Request $request , $selectId, $classId, $lim
'fathersurname' =>$epalStudent -> fathersurname ->value,
'motherfirstname' => $epalStudent -> motherfirstname ->value,
'mothersurname' =>$epalStudent -> mothersurname ->value,
'guardianfirstname' =>$epalUser -> name ->value,
'guardiansurname' =>$epalUser -> surname ->value,
'guardian_name' =>$epalStudent -> guardian_name ->value,
'guardian_surname' =>$epalStudent -> guardian_surname ->value,
'guardian_fathername' =>$epalStudent -> guardian_fathername ->value,
'guardian_mothername' =>$epalStudent -> guardian_mothername ->value,
'lastschool_schoolname' =>$epalStudent -> lastschool_schoolname ->value,
'lastschool_schoolyear' =>$epalStudent -> lastschool_schoolyear ->value,
'lastschool_class' =>$epalStudent -> currentclass ->value,
'regionaddress' =>$epalStudent -> regionaddress ->value,
'regiontk' =>$epalStudent -> regiontk ->value,
'regionarea' =>$epalStudent -> regionarea ->value,
'certificatetype' =>$epalStudent -> certificatetype ->value,
'graduation_year' =>$epalStudent -> graduation_year ->value,
'telnum' =>$epalStudent -> telnum ->value,
'relationtostudent' =>$epalStudent -> relationtostudent ->value,
'birthdate' =>$epalStudent -> birthdate ->value,
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment