Merged in release/2023-12-01 (pull request #1093)

IO-2465 Adjust Headerfile override and comment out line
This commit is contained in:
Allan Carr
2023-11-30 01:16:39 +00:00
2 changed files with 4 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
import { GET_ALL_JOBLINES_BY_PK } from "../../graphql/jobs-lines.queries";
import { gql } from "@apollo/client"; import { gql } from "@apollo/client";
import _ from "lodash"; import _ from "lodash";
import { GET_ALL_JOBLINES_BY_PK } from "../../graphql/jobs-lines.queries";
export const GetSupplementDelta = async (client, jobId, newLines) => { export const GetSupplementDelta = async (client, jobId, newLines) => {
const { const {
@@ -50,7 +50,7 @@ export const GetSupplementDelta = async (client, jobId, newLines) => {
.reduce((acc, value, idx) => { .reduce((acc, value, idx) => {
return acc + generateRemoveQuery(value, idx); return acc + generateRemoveQuery(value, idx);
}, ""); }, "");
console.log(insertQueries, updateQueries, removeQueries); //console.log(insertQueries, updateQueries, removeQueries);
if ((insertQueries + updateQueries + removeQueries).trim() === "") { if ((insertQueries + updateQueries + removeQueries).trim() === "") {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {

View File

@@ -221,35 +221,14 @@ const headerFields = [
"loc_phx", "loc_phx",
"loc_ea", "loc_ea",
//VEH //VEH
"impact_1",
"impact_2",
"dmg_memo",
"db_v_code",
"plate_no", "plate_no",
"plate_st", "plate_st",
"v_vin", "v_vin",
"v_cond",
"v_prod_dt",
"v_model_yr", "v_model_yr",
"v_makecode", "v_make_desc",
"v_makedesc", "v_model_desc",
"v_model",
"v_type",
"v_bstyle",
"v_trimcode",
"trim_color",
"v_mldgcode",
"v_engine",
"v_mileage",
"v_options", "v_options",
"v_color", "v_color",
"v_tone",
"v_stage",
"paint_cd1",
"paint_cd2",
"paint_cd3",
"v_memo",
]; ];
export default headerFields; export default headerFields;