diff --git a/client/src/components/jobs-admin-unvoid/jobs-admin-unvoid.component.jsx b/client/src/components/jobs-admin-unvoid/jobs-admin-unvoid.component.jsx index d467fe8c1..4f36cd850 100644 --- a/client/src/components/jobs-admin-unvoid/jobs-admin-unvoid.component.jsx +++ b/client/src/components/jobs-admin-unvoid/jobs-admin-unvoid.component.jsx @@ -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 } diff --git a/client/src/components/jobs-available-table/jobs-available-table.container.jsx b/client/src/components/jobs-available-table/jobs-available-table.container.jsx index 345981c08..1f68838c3 100644 --- a/client/src/components/jobs-available-table/jobs-available-table.container.jsx +++ b/client/src/components/jobs-available-table/jobs-available-table.container.jsx @@ -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"), }, ], }, diff --git a/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx b/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx index 16bcc94ff..9c9dd4533 100644 --- a/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx +++ b/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx @@ -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"), }, ], }, diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 86345398c..19bd55384 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -555,7 +555,7 @@ "driverinformation": "Driver's Information", "findcontract": "Find Contract", "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", "rates": "Contract Rates", "time": "Time", @@ -1281,7 +1281,7 @@ "gppercent": "% G.P.", "hrs_claimed": "Hours Claimed", "hrs_total": "Hours Total", - "importnote": "The job was initially imported on {{date}} at {{time}}.", + "importnote": "The job was initially imported.", "inproduction": "In Production", "intakechecklist": "Intake Checklist", "job": "Job Details", @@ -1342,19 +1342,19 @@ "state_tax_amt": "Provincial/State Taxes", "subletstotal": "Sublets Total", "subtotal": "Subtotal", - "supplementnote": "The job had a supplement imported on {{date}} at {{time}}.", + "supplementnote": "The job had a supplement imported.", "suspense": "Suspense", "total_cost": "Total Cost", "total_cust_payable": "Total Customer Amount Payable", "total_repairs": "Total Repairs", "total_sales": "Total Sales", "totals": "Totals", - "unvoidnote": "This job was unvoided by {{email}}.", + "unvoidnote": "This job was unvoided.", "vehicle_info": "Vehicle", "vehicleassociation": "Vehicle Association", "viewallocations": "View Allocations", "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": { "addedtoproduction": "Job added to production board.",