From 75d0e4d2259fb540d741b766fadc0f8bde9f190c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Fri, 4 Apr 2014 11:12:33 +0000 Subject: [PATCH] Fehler bei der Anzeige der Zahlungen behoben --- cis/private/profile/zahlungen.php | 4 +++ cis/private/profile/zahlungen_details.php | 33 ++++++++++++++++++----- cis/public/registration.php | 2 +- 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/cis/private/profile/zahlungen.php b/cis/private/profile/zahlungen.php index eb0d5c50a..a0454a863 100644 --- a/cis/private/profile/zahlungen.php +++ b/cis/private/profile/zahlungen.php @@ -83,7 +83,11 @@ foreach ($konto->result as $row) { $i++; + + if(!isset($row['parent'])) + continue; $betrag = $row['parent']->betrag; + if(isset($row['childs'])) { diff --git a/cis/private/profile/zahlungen_details.php b/cis/private/profile/zahlungen_details.php index 10d01c190..0c2ec8bbc 100644 --- a/cis/private/profile/zahlungen_details.php +++ b/cis/private/profile/zahlungen_details.php @@ -98,19 +98,39 @@ Empfänger '.$oe->organisationseinheittyp_kurzbz.' '.$oe->bezeichnung.' - + '; +if($iban!='') +{ + echo ' + IBAN '.$iban.' - + '; +} +if($bic!='') +{ + echo ' + BIC '.$bic.' - + '; +} +if($konto->zahlungsreferenz!='') +{ + echo ' + Zahlungsreferenz '.$konto->zahlungsreferenz.' - + '; +} + +echo ' - +'; + +/* EPS Beispiel +
@@ -129,5 +149,6 @@
Zahlung anweisen
-'; +*/ + ?> diff --git a/cis/public/registration.php b/cis/public/registration.php index 3caaed826..29c630476 100755 --- a/cis/public/registration.php +++ b/cis/public/registration.php @@ -367,7 +367,7 @@ if (isset($_POST['userid'])) $typ->getStudiengangTyp($result->typ); if(in_array($result->studiengang_kz, $studiengaenge) || $result->studiengang_kz == $stg_auswahl) $checked = 'checked'; - echo '  '.$typ->bezeichnung.' '.$result->bezeichnung.''; + echo '   '.$result->bezeichnung.''; } echo'