BPK in Lehrgangsmeldung einkommentiert.

Lehrgänge aus DropDown in Studentenmeldung.php entfernt
This commit is contained in:
Manfred
2021-11-04 16:56:01 +01:00
parent 0a9511b0c7
commit 8df77c104c
2 changed files with 24 additions and 5 deletions
+20 -5
View File
@@ -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.="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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.="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>
+4
View File
@@ -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';