mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
This commit is contained in:
@@ -69,6 +69,7 @@
|
||||
$stg_obj = new studiengang($sql_conn, $_GET['course_id']);
|
||||
$short = $stg_obj->kuerzel;
|
||||
$short_long = $stg_obj->kurzbzlang;
|
||||
$stg_bezeichnung = $stg_obj->bezeichnung;
|
||||
$course_id = $_GET['course_id'];
|
||||
$term_id = $_GET['term_id'];
|
||||
}
|
||||
@@ -257,12 +258,12 @@ function show(id)
|
||||
{
|
||||
echo '<td class="ContentHeader" width="70%"><font class="ContentHeader"> Pinboard ';
|
||||
|
||||
if(isset($short))
|
||||
echo $short;
|
||||
if(isset($stg_bezeichnung))
|
||||
echo ' - '.$stg_bezeichnung;
|
||||
|
||||
echo '</font></td>';
|
||||
|
||||
if(!isset($short))
|
||||
if(!isset($stg_bezeichnung))
|
||||
exit;
|
||||
|
||||
echo '
|
||||
|
||||
@@ -95,8 +95,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
if($betrag!=0)
|
||||
if($betrag<0)
|
||||
$style='style="background-color: #FF8888;"';
|
||||
elseif($betrag>0)
|
||||
$style='style="background-color: #88DD88;"';
|
||||
else
|
||||
{
|
||||
$style='class="liste'.($i%2).'"';
|
||||
@@ -109,11 +111,15 @@
|
||||
echo '<td>'.$row['parent']->studiensemester_kurzbz.'</td>';
|
||||
|
||||
echo '<td>'.$row['parent']->buchungstext.'</td>';
|
||||
echo '<td align="right">'.abs($row['parent']->betrag).' €</td>';
|
||||
echo '<td align="right">'.sprintf('%.2f',abs($row['parent']->betrag)).' €</td>';
|
||||
echo '<td align="center">';
|
||||
if($betrag==0)
|
||||
echo '<a href="../pdfExport.php?xml=konto.rdf.php&xsl=Zahlung&uid='.$uid.'&buchungsnummern='.$row['parent']->buchungsnr.'&zahlung=true" title="Bestaetigung drucken"><img src="../../../skin/images/pdfpic.gif" alt="Bestaetigung drucken"></a>';
|
||||
else
|
||||
if($betrag==0 && $row['parent']->betrag<0)
|
||||
echo '<a href="../pdfExport.php?xml=konto.rdf.php&xsl=Zahlung&uid='.$uid.'&buchungsnummern='.$row['parent']->buchungsnr.'" title="Bestaetigung drucken"><img src="../../../skin/images/pdfpic.gif" alt="Bestaetigung drucken"></a>';
|
||||
elseif($row['parent']->betrag>0)
|
||||
{
|
||||
//Auszahlung
|
||||
}
|
||||
else
|
||||
echo 'offen';
|
||||
echo '</td>';
|
||||
echo '</tr>';
|
||||
|
||||
Reference in New Issue
Block a user