Commenting out console logging.

This commit is contained in:
Brian McGonagill 2025-07-23 19:44:24 -05:00
parent 4687f27011
commit d25ef56591
31 changed files with 87 additions and 87 deletions

View file

@ -53,7 +53,7 @@ Template.prodMgmtForm.events({
},
'click #showNoStoreSet' (event) {
let noStoreSet = $("#showNoStoreSet").prop('checked');
console.log("Clicked: " + noStoreSet);
// console.log("Clicked: " + noStoreSet);
if (noStoreSet == true) {
Session.set("noStoreSet", true);
} else {
@ -69,7 +69,7 @@ const newProd = async(name, store) => {
let result = await Meteor.callAsync('add.product', name, store);
try {
if (!result) {
console.log("No result when trying to add a new product.");
// console.log("No result when trying to add a new product.");
showSnackbar("Unable to add new product.");
} else {
$("#prodName").val("");

View file

@ -60,7 +60,7 @@ Template.prodMgmtTbl.events({
const getProds = async() => {
let prodInfo = await Products.findOneAsync({ _id: this._id });
if (!prodInfo) {
console.log("No Product Returned.");
// console.log("No Product Returned.");
} else {
$("#prodName").val(prodInfo.prodName);
$("#prodStore").val(prodInfo.prodStore);

View file

@ -62,7 +62,7 @@ Template.storeMgmtForm.events({
const addStore = async(storeName) => {
let result = await Meteor.callAsync("add.store", storeName);
if (!result) {
console.log("ERROR: Store add failed.");
// console.log("ERROR: Store add failed.");
} else {
$("#storeName").val("");
showSnackbar("Store Added Successfully!", "green");
@ -72,7 +72,7 @@ const addStore = async(storeName) => {
const editStore = async(storeId, storeName) => {
let result = await Meteor.callAsync("edit.store", storeId, storeName);
if (!result) {
console.log("ERROR: Store add failed: " + err);
// console.log("ERROR: Store add failed: " + err);
} else {
$("#storeName").val("");
Session.set("editModeStore", false);

View file

@ -14,7 +14,7 @@ Template.systemAdmin.onRendered(function() {
$("#allAdmReg").prop('checked', curr.SysAdminReg);
$("#recvUpdateMsgs").prop('checked', curr.allowUpdates);
} else {
console.log(" ---- unable to find current system configuration.");
// console.log(" ---- unable to find current system configuration.");
}
});
@ -49,7 +49,7 @@ Template.systemAdmin.events({
const allowUpdateInfo = async() => {
let result = await Meteor.callAsync('allow.updateInfo', updSet);
if (!result) {
console.log(" ERROR changing update setting.");
// console.log(" ERROR changing update setting.");
showSnackbar("Update Setting Change Failed.", "red");
} else {
showSnackbar("Update Setting Changed Successfully!", "green");

View file

@ -50,7 +50,7 @@ Template.taskForm.events({
event.preventDefault();
let elemcc = document.getElementById('taskName');
let taskName = M.Chips.getInstance(elemcc).chipsData;
console.log(taskName);
// console.log(taskName);
},
'change #taskDate' (event) {
let taskDate = $("#taskDate").val();
@ -94,9 +94,9 @@ Template.taskForm.events({
const addTask = async() => {
let result = await Meteor.callAsync("add.task", taskNameArr, userInfo[0], userInfo[1], taskDateArr, actDate);
if (!result) {
console.log(" ERROR adding the new task.");
// console.log(" ERROR adding the new task.");
} else {
console.log(" SUCCESS adding the new task.");
// console.log(" SUCCESS adding the new task.");
Session.set("taskDateArr", []);
$("#taskDate").val("");
$("#taskUser").val("");

View file

@ -46,7 +46,7 @@ Template.taskTbl.events({
const markComp = async() => {
let result = await Meteor.callAsync("markTask.complete", taskId);
if (!result) {
console.log(" ERROR marking task completeL " + err);
// console.log(" ERROR marking task completeL " + err);
showSnackbar("ERROR Marking Task Complete!", "red");
} else {
showSnackbar("Successfully Marked Task Complete!", "green");