Added Asset management code.
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -69,6 +69,9 @@ Meteor.methods({
|
||||
}
|
||||
}
|
||||
},
|
||||
'assets.update'(_id, assetId, serial) {
|
||||
//TODO:
|
||||
},
|
||||
'assets.remove'(_id) {
|
||||
check(_id, String);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user