Refactored asset and location

This commit is contained in:
2023-03-04 14:55:07 +01:00
parent 32bd592098
commit 7cfcaeb9d7
21 changed files with 494 additions and 219 deletions

View File

@@ -114,7 +114,7 @@ $sql = "SELECT asset_id, asset_name,
WHERE assetclass_id=?
ORDER BY asset_name";
$sth = $dbh->prepare($sql);
$sth->execute([$assetclass_id]);
$sth->execute([$id]);
$smarty->assign("assets", $sth->fetchAll(PDO::FETCH_ASSOC));
$smarty->display("assetclassview.tpl");