From 1844140e6d958359f2dc8fd9c9a43cd5dc850657 Mon Sep 17 00:00:00 2001
From: FHBGLD <33415881+FHBGLD@users.noreply.github.com>
Date: Thu, 4 Nov 2021 12:55:45 +0100
Subject: [PATCH] BIS - studentenmeldung
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
neuer Standort für FHB und die bpk wurde wieder hinzugefügt
---
vilesci/bis/studentenmeldung.php | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/vilesci/bis/studentenmeldung.php b/vilesci/bis/studentenmeldung.php
index 901181a24..9abeed0b4 100644
--- a/vilesci/bis/studentenmeldung.php
+++ b/vilesci/bis/studentenmeldung.php
@@ -145,7 +145,7 @@ derzeit fuer alle Studierende der gleiche Standort
ToDo: Standort sollte pro Student konfigurierbar sein.
*/
$standortcode='22';
-if(in_array($stg_kz,array('265','268','761','760','266','267','764','269','400','794','795','786','859')))
+if(in_array($stg_kz,array('265','268','761','760','266','267','764','269','400','794','795','786','859','871')))
$standortcode='14'; // Pinkafeld
elseif(in_array($stg_kz,array('639','640','263','743','364','635','402','401','725','264','271','781')))
$standortcode='3'; // Eisenstadt
@@ -845,7 +845,7 @@ function GenerateXMLStudentBlock($row)
{
$error_log.=(!empty($error_log)?', ':'')."Heimat-Nation ('".$nation."')";
}
- /*if($row->bpk == '' || $row->bpk == null)
+ if($row->bpk == '' || $row->bpk == null)
{
$error_log .= (!empty($error_log) ? ', ' : '') . "bPK fehlt";
}
@@ -860,7 +860,7 @@ function GenerateXMLStudentBlock($row)
{
$error_log.=(!empty($error_log) ? ', ' : ''). "bPK ist nicht 28 Zeichen lang";
}
- }*/
+ }
if (!$ausserordentlich && !$incoming)
{
if ($zustell_plz == '' || $zustell_plz == null)
@@ -1294,9 +1294,9 @@ function GenerateXMLStudentBlock($row)
" . $row->ersatzkennzeichen . "";
}
- /*$datei .= "
+ $datei .= "
" . $row->bpk . "
- ";*/
+ ";
$datei .= "
" . $row->staatsbuergerschaft . "