Minor Code Updates

This commit is contained in:
Patrick Fic
2021-04-19 10:03:31 -07:00
parent 3ac1e3a8e4
commit 845b7cfd05
3 changed files with 14 additions and 17 deletions

View File

@@ -3,7 +3,6 @@ const queries = require("../graphql-client/queries");
//const client = require("../graphql-client/graphql-client").client;
const _ = require("lodash");
const GraphQLClient = require("graphql-request").GraphQLClient;
const { json } = require("body-parser");
// Dinero.defaultCurrency = "USD";
// Dinero.globalLocale = "en-CA";
@@ -90,7 +89,6 @@ async function JobCostingMulti(req, res) {
(x) => x.cost_center === c.cost_center
);
console.log(`CostCenterIndex`, CostCenterIndex);
if (CostCenterIndex >= 0) {
//Add it in place
multiSummary.costCenterData[CostCenterIndex] = {