Removed all todos from code and created corresponding JIRA tickets.

This commit is contained in:
Patrick Fic
2021-01-05 14:39:27 -08:00
parent 3e3b2780e3
commit af8ccfaff5
35 changed files with 65 additions and 143 deletions

View File

@@ -12,7 +12,6 @@ const { Headers } = require("cross-fetch");
global.Headers = global.Headers || Headers;
//TODO May need to use a different client that includes caching of resources.
exports.client = new GraphQLClient(process.env.GRAPHQL_ENDPOINT, {
headers: {
"x-hasura-admin-secret": process.env.HASURA_ADMIN_SECRET,

View File

@@ -220,7 +220,6 @@ function CalculateTaxesTotals(job, otherTotals) {
.add(otherTotals.additional)
.add(Dinero({ amount: (job.towing_payable || 0) * 100 }))
.add(Dinero({ amount: (job.storage_payable || 0) * 100 }));
//TODO Levies should be included??
//Potential issue here with Sublet Calculation. Sublets are calculated under labor in Mitchell, but it's done in IO
//Under the parts rates.

View File

@@ -29,7 +29,6 @@ exports.receive = (req, res) => {
phone: phone(req.body.From)[0],
})
.then((response) => {
//TODO Add logic for handling MMS.
let newMessage = {
msid: req.body.SmsMessageSid,
text: req.body.Body,