Anzahl Lizenzen
This commit is contained in:
@ -50,8 +50,14 @@ if($action == ''){
|
||||
}else{
|
||||
$streamlizenz_vorh = "Nein";
|
||||
}
|
||||
$row['streamlizenz_vorh'] = $streamlizenz_vorh;
|
||||
$value[] = $row;
|
||||
$result_rl = $db->query("SELECT $row[anz_lizenzen]-count(*) Rest
|
||||
FROM jumi_noten_zusammenstellung_zuord
|
||||
WHERE jndid = $row[jndid];");
|
||||
$row_rl = $result_rl->fetch_array();
|
||||
|
||||
$row['restlizenz'] = $row_rl['Rest'];
|
||||
$row['streamlizenz_vorh'] = $streamlizenz_vorh;
|
||||
$value[] = $row;
|
||||
}
|
||||
$smarty->assign('table_data', $value);
|
||||
|
||||
|
Reference in New Issue
Block a user