Added Asset management code.

This commit is contained in:
2022-06-29 14:17:30 -07:00
parent 94c7fb9f7b
commit 117bd8cd1a
6 changed files with 197 additions and 3663 deletions

View File

@@ -7,7 +7,7 @@ import { Roles } from 'meteor/alanning:roles';
//
// An asset type is a specific type of equipment. Example: Lenovo 100e Chromebook.
//
export const AssetTypes = new Mongo.Collection('assetType');
export const AssetTypes = new Mongo.Collection('assetTypes');
/*
const AssetTypesSchema = new SimpleSchema({

View File

@@ -69,6 +69,9 @@ Meteor.methods({
}
}
},
'assets.update'(_id, assetId, serial) {
//TODO:
},
'assets.remove'(_id) {
check(_id, String);