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: "${ insert_notes(objects: {jobid: $jobId, audit: true, created_by: "${
currentUser.email currentUser.email
}", text: "${t("jobs.labels.unvoidnote", { email: currentUser.email })}"}) { }", text: "${t("jobs.labels.unvoidnote")}"}) {
returning { returning {
id id
} }

View File

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

View File

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

View File

@@ -555,7 +555,7 @@
"driverinformation": "Driver's Information", "driverinformation": "Driver's Information",
"findcontract": "Find Contract", "findcontract": "Find Contract",
"findermodal": "Contract Finder", "findermodal": "Contract Finder",
"noteconvertedfrom": "R.O. created from converted Courtesy Car Contract {{agreementnumber}}.", "noteconvertedfrom": "R.O. created from converted Courtesy Car Contract {{agreementnumber}}.",
"populatefromjob": "Populate from Job", "populatefromjob": "Populate from Job",
"rates": "Contract Rates", "rates": "Contract Rates",
"time": "Time", "time": "Time",
@@ -1281,7 +1281,7 @@
"gppercent": "% G.P.", "gppercent": "% G.P.",
"hrs_claimed": "Hours Claimed", "hrs_claimed": "Hours Claimed",
"hrs_total": "Hours Total", "hrs_total": "Hours Total",
"importnote": "The job was initially imported on {{date}} at {{time}}.", "importnote": "The job was initially imported.",
"inproduction": "In Production", "inproduction": "In Production",
"intakechecklist": "Intake Checklist", "intakechecklist": "Intake Checklist",
"job": "Job Details", "job": "Job Details",
@@ -1342,19 +1342,19 @@
"state_tax_amt": "Provincial/State Taxes", "state_tax_amt": "Provincial/State Taxes",
"subletstotal": "Sublets Total", "subletstotal": "Sublets Total",
"subtotal": "Subtotal", "subtotal": "Subtotal",
"supplementnote": "The job had a supplement imported on {{date}} at {{time}}.", "supplementnote": "The job had a supplement imported.",
"suspense": "Suspense", "suspense": "Suspense",
"total_cost": "Total Cost", "total_cost": "Total Cost",
"total_cust_payable": "Total Customer Amount Payable", "total_cust_payable": "Total Customer Amount Payable",
"total_repairs": "Total Repairs", "total_repairs": "Total Repairs",
"total_sales": "Total Sales", "total_sales": "Total Sales",
"totals": "Totals", "totals": "Totals",
"unvoidnote": "This job was unvoided by {{email}}.", "unvoidnote": "This job was unvoided.",
"vehicle_info": "Vehicle", "vehicle_info": "Vehicle",
"vehicleassociation": "Vehicle Association", "vehicleassociation": "Vehicle Association",
"viewallocations": "View Allocations", "viewallocations": "View Allocations",
"voidjob": "Are you sure you want to void this job? This cannot be easily undone. ", "voidjob": "Are you sure you want to void this job? This cannot be easily undone. ",
"voidnote": "This repair order was voided on {{date}} at {{time}}." "voidnote": "This job was voided."
}, },
"successes": { "successes": {
"addedtoproduction": "Job added to production board.", "addedtoproduction": "Job added to production board.",