From 7de11edb9968756a1b6a14e66c8fef42851b9989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Mon, 31 Mar 2014 12:53:54 +0000 Subject: [PATCH] =?UTF-8?q?Geburtsort=20zum=20Export=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/statistik/studentenexport.xls.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/statistik/studentenexport.xls.php b/content/statistik/studentenexport.xls.php index 71479ac1d..09c2dadd0 100644 --- a/content/statistik/studentenexport.xls.php +++ b/content/statistik/studentenexport.xls.php @@ -113,6 +113,8 @@ loadVariables($user); $maxlength[$i]=6; $worksheet->write($zeile,++$i,"GEBURTSDATUM", $format_bold); $maxlength[$i]=12; + $worksheet->write($zeile,++$i,"GEBURTSORT", $format_bold); + $maxlength[$i]=12; $worksheet->write($zeile,++$i,"PERSONENKENNZEICHEN", $format_bold); $maxlength[$i]=19; $worksheet->write($zeile,++$i,"STAATSBÜRGERSCHAFT", $format_bold); @@ -300,6 +302,12 @@ loadVariables($user); $worksheet->write($zeile,$i, $datum_obj->convertISODate($row->gebdatum)); $i++; + //Geburtsort + if(mb_strlen($row->gebort)>$maxlength[$i]) + $maxlength[$i] = mb_strlen($row->gebort); + $worksheet->write($zeile,$i,$row->gebort); + $i++; + //Personenkennzeichen if(isset($row->matrikelnr)) {