mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 14:32:18 +00:00
Changed: Download in CIS Selfservice does not require to be signed anymore
Self-Download is determined by attribute 'stud_selfservice', not by 'signiert' anymore. This is required e.g. for Bachelor diploma, that should be downloadable but does not need to be signed.
This commit is contained in:
@@ -76,7 +76,6 @@ if(isset($_GET['action']) && $_GET['action']=='download')
|
||||
$akte = new akte();
|
||||
$akte->load($id);
|
||||
if ($akte->person_id == $student_studiengang->person_id
|
||||
&& $akte->signiert
|
||||
&& $akte->stud_selfservice)
|
||||
{
|
||||
if($akte->inhalt!='')
|
||||
@@ -123,7 +122,6 @@ echo '
|
||||
});
|
||||
$(".tablesorter2").tablesorter(
|
||||
{
|
||||
sortList: [[1,1]],
|
||||
headers: { 0: { sorter: false }},
|
||||
widgets: ["zebra"]
|
||||
});
|
||||
|
||||
@@ -527,7 +527,7 @@ class akte extends basis_db
|
||||
if(!is_null($stud_selfservice))
|
||||
$qry.=" AND stud_selfservice=".($stud_selfservice?'true':'false');
|
||||
|
||||
$qry.=" ORDER BY erstelltam";
|
||||
$qry.=" ORDER BY erstelltam DESC";
|
||||
|
||||
$this->errormsg = $qry;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user