IO-1080 Standard audit note language.

This commit is contained in:
Patrick Fic
2021-05-26 14:16:17 -07:00
parent 585d585cd3
commit b5b4a3a4f9
4 changed files with 9 additions and 18 deletions

View File

@@ -32,7 +32,7 @@ mutation UNVOID_JOB($jobId: uuid!) {
}
insert_notes(objects: {jobid: $jobId, audit: true, created_by: "${
currentUser.email
}", text: "${t("jobs.labels.unvoidnote", { email: currentUser.email })}"}) {
}", text: "${t("jobs.labels.unvoidnote")}"}) {
returning {
id
}

View File

@@ -124,10 +124,7 @@ export function JobsAvailableContainer({ bodyshop, currentUser }) {
data: {
created_by: currentUser.email,
audit: true,
text: t("jobs.labels.importnote", {
date: moment().format("MM/DD/yyy"),
time: moment().format("hh:mm a"),
}),
text: t("jobs.labels.importnote"),
},
},
queued_for_parts: true,
@@ -278,10 +275,7 @@ export function JobsAvailableContainer({ bodyshop, currentUser }) {
jobid: selectedJob,
created_by: currentUser.email,
audit: true,
text: t("jobs.labels.supplementnote", {
date: moment().format("MM/DD/yyy"),
time: moment().format("hh:mm a"),
}),
text: t("jobs.labels.supplementnote"),
},
],
},

View File

@@ -385,10 +385,7 @@ export function JobsDetailHeaderActions({
jobid: job.id,
created_by: currentUser.email,
audit: true,
text: t("jobs.labels.voidnote", {
date: moment().format("MM/DD/yyy"),
time: moment().format("hh:mm a"),
}),
text: t("jobs.labels.voidnote"),
},
],
},