Styling updates.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { message } from "antd";
|
||||
import gql from "graphql-tag";
|
||||
import _ from "lodash";
|
||||
import moment from "moment";
|
||||
@@ -5,7 +6,7 @@ import client from "../graphql/GraphQLClient";
|
||||
import {
|
||||
INSERT_NEW_JOB,
|
||||
QUERY_JOB_BY_CLM_NO,
|
||||
UPDATE_JOB
|
||||
UPDATE_JOB,
|
||||
} from "../graphql/jobs.queries";
|
||||
import { QUERY_GROUPS_BY_MAKE_TYPE } from "../graphql/veh_group.queries";
|
||||
import { store } from "../redux/store";
|
||||
@@ -56,7 +57,7 @@ export async function UpsertEstimate(job) {
|
||||
} else {
|
||||
logger.info("Attemping to insert job record.");
|
||||
|
||||
const result = await client.mutate({
|
||||
await client.mutate({
|
||||
mutation: INSERT_NEW_JOB,
|
||||
variables: {
|
||||
job: { ...job, bodyshopid: shopId },
|
||||
@@ -64,9 +65,8 @@ export async function UpsertEstimate(job) {
|
||||
refetchQueries: ["QUERY_ALL_JOBS_PAGINATED"],
|
||||
});
|
||||
logger.info("Job inserted succesfully.");
|
||||
|
||||
console.log("UpsertEstimate -> result", result);
|
||||
}
|
||||
message.success("Job uploaded successfully!");
|
||||
}
|
||||
|
||||
export const GetSupplementDelta = async (jobId, existingLinesO, newLines) => {
|
||||
|
||||
Reference in New Issue
Block a user