mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Gradelist - Max-ECTS-Sum includes ECTS of assigned Courses without Grades
This commit is contained in:
@@ -46,6 +46,9 @@ class Gradelist extends Auth_Controller
|
||||
$this->_grades[$row->note]['anmerkung'] = $row->anmerkung;
|
||||
$this->_grades[$row->note]['notenwert'] = $row->notenwert;
|
||||
}
|
||||
$this->_grades['']['positiv'] = false;
|
||||
$this->_grades['']['anmerkung'] = '';
|
||||
$this->_grades['']['notenwert'] = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -386,6 +389,15 @@ class Gradelist extends Auth_Controller
|
||||
'sws' => $row['sws']
|
||||
);
|
||||
}
|
||||
elseif (isset($row['zugeordnet']) && $row['zugeordnet'] == true && $row['lehrtyp_kurzbz']=='lv')
|
||||
{
|
||||
// ECTS und SWS mitzaehlen wenn die Person zugeordnet ist auch wenn noch keine Noten vorhanden ist.
|
||||
$grades[] = array(
|
||||
'note' => '',
|
||||
'ects' => $row['ects'],
|
||||
'sws' => $row['sws']
|
||||
);
|
||||
}
|
||||
|
||||
if (isset($row['childs']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user