mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
Merge branch 'master' of https://github.com/FH-Complete/FHC-Core
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
echo '<td>'.$row['parent']->buchungstext.'</td>';
|
||||
echo '<td align="right">'.($betrag<0?'-':($betrag>0?'+':'')).sprintf('%.2f',abs($row['parent']->betrag)).' €</td>';
|
||||
echo '<td align="center">';
|
||||
if($betrag==0 && $row['parent']->betrag<0)
|
||||
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="'.$p->t('tools/bestaetigungDrucken').'"><img src="../../../skin/images/pdfpic.gif" alt="'.$p->t('tools/bestaetigungDrucken').'"></a>';
|
||||
elseif($row['parent']->betrag>0)
|
||||
{
|
||||
|
||||
@@ -46,6 +46,7 @@ if (!$db = new basis_db())
|
||||
die($p->t("global/fehlerBeimOeffnenDerDatenbankverbindung"));
|
||||
|
||||
$user = get_uid();
|
||||
|
||||
$datum = new datum();
|
||||
|
||||
if (check_infrastruktur($user))
|
||||
@@ -62,7 +63,7 @@ else
|
||||
$activities_str = "'".implode("','", $activities)."'";
|
||||
|
||||
// definiert bis zu welchem Datum die Eintragung nicht mehr möglich ist
|
||||
$gesperrt_bis = '2015-01-31';
|
||||
$gesperrt_bis = '2015-08-31';
|
||||
$sperrdatum = date('c', strtotime($gesperrt_bis));
|
||||
|
||||
$zeitaufzeichnung_id = (isset($_GET['zeitaufzeichnung_id'])?$_GET['zeitaufzeichnung_id']:'');
|
||||
@@ -108,7 +109,7 @@ $addon_obj = new addon();
|
||||
$addon_obj->loadAddons();
|
||||
foreach($addon_obj->result as $addon)
|
||||
{
|
||||
if(file_exists('../../../addons/'.$addon->kurzbz.'/cis/init.js.php') && check_infrastruktur($user))
|
||||
if(file_exists('../../../addons/'.$addon->kurzbz.'/cis/init.js.php'))
|
||||
echo '<script type="application/x-javascript" src="../../../addons/'.$addon->kurzbz.'/cis/init.js.php" ></script>';
|
||||
}
|
||||
|
||||
@@ -456,12 +457,17 @@ if(isset($_POST['save']) || isset($_POST['edit']) || isset($_POST['import']))
|
||||
}
|
||||
}
|
||||
|
||||
if(!$zeit->save())
|
||||
{
|
||||
echo '<span style="color:red"><b>'.$p->t("global/fehlerBeimSpeichernDerDaten").': '.$zeit->errormsg.'</b>('.$zeit->start.')</span>';
|
||||
if($data[2] != $data[3])
|
||||
{
|
||||
if(!$zeit->save())
|
||||
{
|
||||
echo '<span style="color:red"><b>'.$p->t("global/fehlerBeimSpeichernDerDaten").': '.$zeit->errormsg.'</b>('.$zeit->start.')</span>';
|
||||
}
|
||||
else
|
||||
$anzahl++;
|
||||
}
|
||||
else
|
||||
$anzahl++;
|
||||
$anzahl++;
|
||||
$ende_vorher = $zeit->ende;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ elseif(isset($_REQUEST['von']) && isset($_REQUEST['bis']) && $_REQUEST['xmlforma
|
||||
) a
|
||||
JOIN lehre.tbl_lehrveranstaltung USING(lehrveranstaltung_id)
|
||||
JOIN public.tbl_studiengang USING(studiengang_kz)
|
||||
ORDER BY datum, von, ort_kurzbz';
|
||||
ORDER BY datum, ort_kurzbz,von';
|
||||
|
||||
$stunde = new stunde();
|
||||
$stunde->loadAll();
|
||||
|
||||
Reference in New Issue
Block a user