diff --git a/client/Dashboard/dashboard.html b/client/Dashboard/dashboard.html
index 732ee5d..017ac4f 100644
--- a/client/Dashboard/dashboard.html
+++ b/client/Dashboard/dashboard.html
@@ -41,9 +41,13 @@
{{todayDate}}
{{#each todayMenuItem}}
-
-
local_dining {{itemName}}
-
+ {{#each menuItems}}
+ {{#if $eq todayDate serveDate}}
+
+
local_dining {{menuItemName}}
+
+ {{/if}}
+ {{/each}}
{{else}}
local_diningNo Menu Today
@@ -71,4 +75,4 @@
{{/if}}
-
\ No newline at end of file
+
diff --git a/client/Dashboard/dashboard.js b/client/Dashboard/dashboard.js
index 80add4b..2ea3cb1 100644
--- a/client/Dashboard/dashboard.js
+++ b/client/Dashboard/dashboard.js
@@ -14,7 +14,7 @@ Template.dashboard.onCreated(function() {
this.subscribe("storeInfo");
this.subscribe("myProducts");
this.subscribe("myLocations");
- this.subscribe("myMenus");
+ // this.subscribe("myMenus");
this.subscribe("todayMenuItems");
this.subscribe("myTasks");
});
@@ -47,7 +47,9 @@ Template.dashboard.helpers({
return TaskItems.find({ isComplete: false, taskDate: today });
},
todayMenuItem: function() {
- return MenuItems.find({});
+ let myMenus = Menus.find({}).fetch();
+ console.dir(myMenus);
+ return myMenus;
},
todayDate: function() {
let now = new Date();
@@ -110,4 +112,4 @@ Template.dashboard.events({
break;
}
}
-});
\ No newline at end of file
+});
diff --git a/client/MenuItems/addProdToListModal.html b/client/MenuItems/addProdToListModal.html
index b397b96..191eaeb 100644
--- a/client/MenuItems/addProdToListModal.html
+++ b/client/MenuItems/addProdToListModal.html
@@ -16,16 +16,18 @@