Added parts Queue BOD-388

This commit is contained in:
Patrick Fic
2020-09-23 15:49:48 -07:00
parent 1a89d683d7
commit 3f446b7525
23 changed files with 2095 additions and 4 deletions

View File

@@ -104,6 +104,7 @@ export function JobsAvailableSupplementContainer({
clm_total: Dinero(newTotals.totals.total_repairs).toFormat("0.00"),
owner_owing: Dinero(newTotals.custPayable.total).toFormat("0.00"),
job_totals: newTotals,
queued_for_parts: true,
},
},
})

View File

@@ -2,8 +2,6 @@ import { GET_JOB_LINES_BY_PK } from "../../graphql/jobs-lines.queries";
import gql from "graphql-tag";
export const GetSupplementDelta = async (client, jobId, newLines) => {
console.log("-----Begin Supplement-----");
console.log("Supplement delta for jobId", jobId);
console.log("New Lines", newLines);
const {
data: { joblines: existingLines },