Updated assignments by person to allow unassigning and assigning.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user