Many changes aded to system.
This commit is contained in:
parent
e0571d14b7
commit
5ba618f471
22 changed files with 640 additions and 57 deletions
21
client/LocationTypes/locationTypeTbl.js
Normal file
21
client/LocationTypes/locationTypeTbl.js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import { Roles } from 'meteor/roles';
|
||||
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
|
||||
import { LocationTypes } from '../../imports/api/locationTypes.js';
|
||||
|
||||
Template.locationTypeTbl.onCreated(function() {
|
||||
this.subscribe("LocationTypes");
|
||||
});
|
||||
|
||||
Template.locationTypeTbl.onRendered(function() {
|
||||
|
||||
});
|
||||
|
||||
Template.locationTypeTbl.helpers({
|
||||
types: function() {
|
||||
return LocationTypes.find({});
|
||||
},
|
||||
});
|
||||
|
||||
Template.locationTypeTbl.events({
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue