eps Addon; ktu Addon mit Änderungen von Phrasen; Einbindung eps Addon in Zahlungsdetails

This commit is contained in:
Stefan Puraner
2014-06-17 13:28:24 +00:00
parent 17bce236fd
commit ee45b825fc
2 changed files with 35 additions and 28 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2006 Technikum-Wien
/* Copyright (C) 2006 fhcomplete.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -77,8 +77,8 @@
<td>'.$p->t('global/studiensemester').'</td>
<td>'.$p->t('tools/buchungstext').'</td>
<td>'.$p->t('tools/betrag').'</td>
<td>'.$p->t('tools/zahlungsbestaetigung').'</td>';
echo '</tr>';
<td>'.$p->t('tools/zahlungsbestaetigung').'</td>';
echo '</tr>';
$i=0;
foreach ($konto->result as $row)
{
@@ -125,7 +125,7 @@
{
{
echo '<a onclick="window.open(';
echo "'zahlungen_details.php?buchungsnr=".$row['parent']->buchungsnr."','Zahlungsdetails','height=400,width=550,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=no,toolbar=no,location=no,menubar=no,dependent=yes');return false;";
echo "'zahlungen_details.php?buchungsnr=".$row['parent']->buchungsnr."','Zahlungsdetails','height=500,width=550,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=no,toolbar=no,location=no,menubar=no,dependent=yes');return false;";
echo '" href="#">'.$p->t('tools/offen').'</a>';
}
echo '</td>';
+31 -24
View File
@@ -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 '
</tbody>
</table>
</body></html>';
</table>';
$addon = new addon();
$addon->loadAddons();
foreach($addon->result as $a)
{
if($a->kurzbz === "eps")
{
echo '<table class="tablesorter">
<thead>
<tr>
<th width="40%">Bezahlen</th>
<th width="60%"></th>
</tr>
</thead>
<tbody>
<tr>
<td>EPS</td>
<td>
<a href="../../../addons/eps/cis/index.php?buchungsnummer='.$buchungsnr.'"><img src="../../../skin/images/eps-logo_full.gif" width="30" height="30" alt="EPS Überweisung"></a>
</td>
</tr>
</tbody>
</table>';
}
}
echo '</body></html>';
/* EPS Beispiel
<table class="tablesorter">
<thead>
<tr>
<th width="40%">Zahlung anweisen</th>
<th width="60%"></th>
</tr>
</thead>
<tbody>
<tr>
<td>EPS</td>
<td>
<a href="https://routing.eps.or.at/appl/epsSO/transinit/bankauswahl_prepare.html?lang=de
&amp;caiSO=%2BaDRiYhLjZXKuB19*CkCTIMQBN6sYSHmjNPQkIglglcYeFS98ZCVrvzVdGw5tF1Fzi
0JrGhL*WWFcSHu6PWY2FCY2BTH0umA-" target="_blank">
<img src="../../../skin/images/eps-logo_full.gif" width="30" height="30" alt="EPS Überweisung"></a>
</td>
</tr>
</tbody>
</table>
*/
?>