Anzahl Lizenzen
This commit is contained in:
parent
e69b4e3434
commit
87e6a16e5b
@ -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);
|
||||
|
||||
|
@ -73,7 +73,7 @@
|
||||
<td>{$table_data[table_data].titel}</td>
|
||||
<td class="d-none d-md-table-cell">{$table_data[table_data].verlag}</td>
|
||||
<td>{$table_data[table_data].songbook}</td>
|
||||
<td class="d-none d-md-table-cell">{$table_data[table_data].anz_lizenzen}</td>
|
||||
<td class="d-none d-md-table-cell">{$table_data[table_data].restlizenz}/{$table_data[table_data].anz_lizenzen}</td>
|
||||
<td class="d-none d-md-table-cell">{$table_data[table_data].streamlizenz_vorh}</td>
|
||||
<td>
|
||||
<a href="notenupload.php?editjndid={$table_data[table_data].jndid}" class="settings" title="Edit Member" data-toggle="tooltip"><i class="fas fa fa-cog"></i></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user