Updated assignments by person to allow unassigning and assigning.

This commit is contained in:
2022-08-20 22:51:54 -07:00
parent 2b9825159b
commit 8d4b72c581
13 changed files with 808 additions and 638 deletions

View File

@@ -38,7 +38,7 @@
$: {
if(foundAsset) {
foundAssetType = AssetTypes.findOne({_id: foundAsset.assetTypeId});
foundAssetType = AssetTypes.findOne({_id: foundAsset.assetTypeId.toUpperCase()});
if(foundAsset.assigneeType === 'Student') {
foundAssignee = Students.findOne({_id: foundAsset.assigneeId});
@@ -140,6 +140,7 @@
{#if foundAsset}
<div>Asset ID: {foundAsset.assetId}</div>
<div>Serial: {foundAsset.serial}</div>
<div>Condition: {foundAsset.condition}</div>
{#if foundAsset.conditionDetails}
<div>Condition Details: {foundAsset.conditionDetails}</div>