Added a Sales Sheet page along with other changes.
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
//import Categories from "./Category.js";
|
||||
//import Subcategories from "./Subcategory.js";
|
||||
import Measures from "./Measure.js";
|
||||
import Venues from "./Venue.js";
|
||||
import Products from "./Product.js";
|
||||
import ProductTags from "./ProductTag.js";
|
||||
import Sales from "./Sale.js";
|
||||
import SalesSheets from "./SalesSheet.js";
|
||||
import Users from "./User.js";
|
||||
import UserRoles from "./Roles.js";
|
||||
|
||||
Meteor.collections = {Measures, Venues, Products, ProductTags, Sales, Users, UserRoles};
|
||||
//Save the collections in the Meteor.collections property for easy access without name conflicts.
|
||||
Meteor.collections = {Measures, Venues, Products, ProductTags, Sales, SalesSheets, Users, UserRoles};
|
||||
|
||||
//If this is the server then setup the default admin user if none exist.
|
||||
if(Meteor.isServer) {
|
||||
//Change this to find admin users, create a default admin user if none exists.
|
||||
if(Users.find({}).count() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user