From ee45b825fcaf43391c45d44a8c7398d458e442cd Mon Sep 17 00:00:00 2001 From: Stefan Puraner Date: Tue, 17 Jun 2014 13:28:24 +0000 Subject: [PATCH] =?UTF-8?q?eps=20Addon;=20ktu=20Addon=20mit=20=C3=84nderun?= =?UTF-8?q?gen=20von=20Phrasen;=20Einbindung=20eps=20Addon=20in=20Zahlungs?= =?UTF-8?q?details?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cis/private/profile/zahlungen.php | 8 ++-- cis/private/profile/zahlungen_details.php | 55 +++++++++++++---------- 2 files changed, 35 insertions(+), 28 deletions(-) diff --git a/cis/private/profile/zahlungen.php b/cis/private/profile/zahlungen.php index a0454a863..ba2821bb8 100644 --- a/cis/private/profile/zahlungen.php +++ b/cis/private/profile/zahlungen.php @@ -1,5 +1,5 @@ '.$p->t('global/studiensemester').' '.$p->t('tools/buchungstext').' '.$p->t('tools/betrag').' - '.$p->t('tools/zahlungsbestaetigung').''; - echo ''; + '.$p->t('tools/zahlungsbestaetigung').''; + echo ''; $i=0; foreach ($konto->result as $row) { @@ -125,7 +125,7 @@ { { echo ''.$p->t('tools/offen').''; } echo ''; diff --git a/cis/private/profile/zahlungen_details.php b/cis/private/profile/zahlungen_details.php index 0c2ec8bbc..0dc050547 100644 --- a/cis/private/profile/zahlungen_details.php +++ b/cis/private/profile/zahlungen_details.php @@ -23,6 +23,7 @@ require_once('../../../include/bankverbindung.class.php'); require_once('../../../include/studiengang.class.php'); require_once('../../../include/organisationseinheit.class.php'); + require_once('../../../include/addon.class.php'); if(isset($_GET['buchungsnr'])) @@ -126,29 +127,35 @@ if($konto->zahlungsreferenz!='') echo ' - -'; + '; + +$addon = new addon(); +$addon->loadAddons(); +foreach($addon->result as $a) +{ + if($a->kurzbz === "eps") + { + echo ' + + + + + + + + + + + + +
Bezahlen
EPS + EPS Überweisung +
'; + } + +} + +echo ''; + -/* EPS Beispiel - - - - - - - - - - - - - -
Zahlung anweisen
EPS - - EPS Überweisung -
-*/ - ?>