mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
BPK in Lehrgangsmeldung einkommentiert.
Lehrgänge aus DropDown in Studentenmeldung.php entfernt
This commit is contained in:
@@ -38,6 +38,7 @@ if(!$rechte->isBerechtigt('student/stammdaten', null, 'suid'))
|
||||
die('Sie haben keine Berechtigung für diese Seite');
|
||||
|
||||
$error_log='';
|
||||
$error_log_hinweis='';
|
||||
$error_log1='';
|
||||
$error_log_all="";
|
||||
$fehler='';
|
||||
@@ -310,7 +311,7 @@ if($result = $db->db_query($qry))
|
||||
//Vergleich der letzten 6 Stellen der SVNR mit Geburtsdatum - ausser bei 01.01. und 01.07.
|
||||
if($row->svnr!='' && $row->svnr!=null && substr($row->svnr,4,6)!=$row->vdat && substr($row->vdat,0,4)!='0101' && substr($row->vdat,0,4)!='0107')
|
||||
{
|
||||
$error_log.=(!empty($error_log)?', ':'')."SVNR ('".$row->svnr."') enthält Geburtsdatum (".$row->gebdatum.") nicht";
|
||||
$error_log_hinweis.=(!empty($error_log)?', ':'')."SVNR ('".$row->svnr."') enthält Geburtsdatum (".$row->gebdatum.") nicht";
|
||||
}
|
||||
//Vergleich der letzten 6 Stellen des Ersatzkennzeichen mit Geburtsdatum
|
||||
if($row->ersatzkennzeichen!='' && $row->ersatzkennzeichen!=null && substr($row->ersatzkennzeichen,4,6)!=$row->vdat)
|
||||
@@ -387,7 +388,7 @@ if($result = $db->db_query($qry))
|
||||
}
|
||||
}
|
||||
}
|
||||
/*if($row->bpk == '' || $row->bpk == null)
|
||||
if($row->bpk == '' || $row->bpk == null)
|
||||
{
|
||||
$error_log .= (!empty($error_log) ? ', ' : '') . "bPK fehlt";
|
||||
}
|
||||
@@ -403,7 +404,7 @@ if($result = $db->db_query($qry))
|
||||
{
|
||||
$error_log.=(!empty($error_log) ? ', ' : ''). "bPK ist nicht 28 Zeichen lang";
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
if ($zustell_plz == '' || $zustell_plz == null)
|
||||
{
|
||||
@@ -482,6 +483,7 @@ if($result = $db->db_query($qry))
|
||||
{
|
||||
$error_log='';
|
||||
$error_log1='';
|
||||
$error_log_hinweis='';
|
||||
continue;
|
||||
}
|
||||
$aktstatus=$rowstatus->status_kurzbz;
|
||||
@@ -528,6 +530,7 @@ if($result = $db->db_query($qry))
|
||||
{
|
||||
$error_log='';
|
||||
$error_log1='';
|
||||
$error_log_hinweis='';
|
||||
continue;
|
||||
}
|
||||
$aktstatus=$rowstatus->status_kurzbz;
|
||||
@@ -588,6 +591,11 @@ if($result = $db->db_query($qry))
|
||||
{
|
||||
$v.=" ".$error_log1;
|
||||
}
|
||||
if($error_log_hinweis != '')
|
||||
{
|
||||
$v.=" <span style='color: grey'>".$error_log_hinweis." (Nicht BIS-Relevant)</span>\n";
|
||||
$error_log_hinweis = '';
|
||||
}
|
||||
$zaehl++;
|
||||
$v.="\n";
|
||||
$error_log='';
|
||||
@@ -596,6 +604,13 @@ if($result = $db->db_query($qry))
|
||||
}
|
||||
else
|
||||
{
|
||||
if($error_log_hinweis != '')
|
||||
{
|
||||
$v.="<u>Bei Student (UID, Vorname, Nachname) '".$row->student_uid."', '".$row->nachname."', '".$row->vorname."' ($laststatus->status_kurzbz): </u>\n";
|
||||
$v.=" <span style='color: grey'>".$error_log_hinweis." (Nicht BIS-Relevant)</span>\n";
|
||||
$error_log_hinweis = '';
|
||||
}
|
||||
|
||||
$anzahl_gemeldet++;
|
||||
$tabelle.='<tr><td>'.$row->student_uid.'</td><td>'.$row->nachname.'</td><td>'.$row->vorname.'</td><td>'.$row->matrikelnr.'</td></tr>';
|
||||
|
||||
@@ -635,9 +650,9 @@ if($result = $db->db_query($qry))
|
||||
<ErsKz>".$row->ersatzkennzeichen."</ErsKz>";
|
||||
}
|
||||
|
||||
/*$datei.="
|
||||
$datei.="
|
||||
<bPK>".$row->bpk."</bPK>
|
||||
";*/
|
||||
";
|
||||
|
||||
$datei.="
|
||||
<StaatsangehoerigkeitCode>".$row->staatsbuergerschaft."</StaatsangehoerigkeitCode>
|
||||
|
||||
@@ -428,6 +428,10 @@ if ($rechte->isBerechtigt('admin'))
|
||||
$typ = '';
|
||||
foreach ($studiengang->result AS $row)
|
||||
{
|
||||
if ($row->typ != 'b' && $row->typ != 'm' && $row->typ != 'd' && $row->typ != 'e')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if ($row->studiengang_kz == $stg_kz)
|
||||
{
|
||||
$selected = 'selected';
|
||||
|
||||
Reference in New Issue
Block a user