From 7441288cf5e19f7e6be0429a1a1490b9a8532d38 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Mon, 31 May 2021 13:11:04 -0700 Subject: [PATCH] IO-1173 Missing Reports --- bodyshop_translations.babel | 493 ++++++++++++++++++++++ client/src/translations/en_us/common.json | 29 +- client/src/translations/es/common.json | 29 +- client/src/translations/fr/common.json | 29 +- client/src/utils/TemplateConstants.js | 238 +++++++++++ 5 files changed, 815 insertions(+), 3 deletions(-) diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index b4512fbe2..2530057aa 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -11949,6 +11949,37 @@ + + exportlogs + + + fields + + + createdat + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + + + general @@ -29232,6 +29263,48 @@ + + purchases_by_ro_detail + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + purchases_by_ro_summary + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + qc_sheet false @@ -29253,6 +29326,27 @@ + + ro_totals + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + ro_with_description false @@ -30743,6 +30837,27 @@ + + exportlogs + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + jobs false @@ -30834,6 +30949,27 @@ templates + + attendance + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + attendance_employee false @@ -30855,6 +30991,27 @@ + + attendance_summary + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + credits_not_received_date false @@ -30918,6 +31075,90 @@ + + export_payables + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + export_payments + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + export_receivables + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + gsr_by_delivery_date + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + gsr_by_estimator false @@ -30939,6 +31180,27 @@ + + gsr_by_exported_date + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + gsr_by_make false @@ -30960,6 +31222,69 @@ + + gsr_by_referral + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + gsr_by_ro + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + gsr_by_source + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + gsr_labor_only false @@ -31254,6 +31579,90 @@ + + open_orders_estimator + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + open_orders_source + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + parts_backorder + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + payments_by_date + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + payments_by_date_type false @@ -31485,6 +31894,27 @@ + + thank_you_date + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + timetickets false @@ -31548,6 +31978,27 @@ + + unclaimed_hrs + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + void_ros false @@ -31569,6 +32020,48 @@ + + work_in_progress_labour + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + work_in_progress_payables + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index c2f2d2791..1d04f21d0 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -769,6 +769,11 @@ "unique_employee_number": "You must enter a unique employee number." } }, + "exportlogs": { + "fields": { + "createdat": "Created At" + } + }, "general": { "actions": { "add": "Add", @@ -1747,7 +1752,10 @@ "payment_receipt": "Payment Receipt", "payment_request": "Payment Request", "payments_by_job": "Job Payments", + "purchases_by_ro_detail": "Purchases - Detail", + "purchases_by_ro_summary": "Purchases - Summary", "qc_sheet": "Quality Control Sheet", + "ro_totals": "RO Totals", "ro_with_description": "RO Summary with Descriptions", "supplement_request": "Supplement Request", "thank_you_ro": "Thank You Letter", @@ -1848,6 +1856,7 @@ "objects": { "appointments": "Appointments", "bills": "Bills", + "exportlogs": "Export Logs", "jobs": "Jobs", "payments": "Payments", "timetickets": "Timetickets" @@ -1855,12 +1864,22 @@ "vendor": "Vendor" }, "templates": { + "attendance": "Attendance (All Employees)", "attendance_employee": "Employee Attendance", + "attendance_summary": "Attendance Summary (All Employees)", "credits_not_received_date": "Credits not Received by Date", "estimator_detail": "Jobs by Estimator (Detail)", "estimator_summary": "Jobs by Estimator (Summary)", + "export_payables": "Export Log - Payables", + "export_payments": "Export Log - Payments", + "export_receivables": "Export Log - Receivables", + "gsr_by_delivery_date": "Gross Sales by Delivery Date", "gsr_by_estimator": "Gross Sales by Estimator", + "gsr_by_exported_date": "Gross Sales by Export Date", "gsr_by_make": "Gross Sales by Vehicle Make", + "gsr_by_referral": "Gross Sales by Referral Source", + "gsr_by_ro": "Gross Sales by RO", + "gsr_by_source": "Gross Sales by Insurance Company'", "gsr_labor_only": "Gross Sales - Labor Only", "hours_sold_detail_closed": "Hours Sold Detail - Closed", "hours_sold_detail_closed_source": "Hours Sold Detail - Closed by Source", @@ -1875,6 +1894,10 @@ "job_costing_ro_estimator": "Job Costing by Estimator", "job_costing_ro_source": "Job Costing by RO Source", "open_orders": "Open Orders by Date", + "open_orders_estimator": "Open Orders by Estimator", + "open_orders_source": "Open Orders by Insurance Company", + "parts_backorder": "Backordered Parts", + "payments_by_date": "Payments by Date", "payments_by_date_type": "Payments by Date Range", "purchases_by_cost_center_detail": "Purchases by Cost Center (Detail)", "purchases_by_cost_center_summary": "Purchases by Cost Center (Summary)", @@ -1886,10 +1909,14 @@ "purchases_grouped_by_vendor_summary": "Purchases Grouped by Vendor - Summary", "schedule": "Appointment Schedule", "supplement_ratio_source": "Supplement Ratio by Source", + "thank_you_date": "Thank You Letters", "timetickets": "Time Tickets", "timetickets_employee": "Employee Time Tickets", "timetickets_summary": "Time Tickets Summary", - "void_ros": "Void ROs" + "unclaimed_hrs": "Unclaimed Hours", + "void_ros": "Void ROs", + "work_in_progress_labour": "Work in Progress - Labor", + "work_in_progress_payables": "Work in Progress - Payables" } }, "scoreboard": { diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 5cba0da9a..e38774c9a 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -769,6 +769,11 @@ "unique_employee_number": "" } }, + "exportlogs": { + "fields": { + "createdat": "" + } + }, "general": { "actions": { "add": "", @@ -1747,7 +1752,10 @@ "payment_receipt": "", "payment_request": "", "payments_by_job": "", + "purchases_by_ro_detail": "", + "purchases_by_ro_summary": "", "qc_sheet": "", + "ro_totals": "", "ro_with_description": "", "supplement_request": "", "thank_you_ro": "", @@ -1848,6 +1856,7 @@ "objects": { "appointments": "", "bills": "", + "exportlogs": "", "jobs": "", "payments": "", "timetickets": "" @@ -1855,12 +1864,22 @@ "vendor": "" }, "templates": { + "attendance": "", "attendance_employee": "", + "attendance_summary": "", "credits_not_received_date": "", "estimator_detail": "", "estimator_summary": "", + "export_payables": "", + "export_payments": "", + "export_receivables": "", + "gsr_by_delivery_date": "", "gsr_by_estimator": "", + "gsr_by_exported_date": "", "gsr_by_make": "", + "gsr_by_referral": "", + "gsr_by_ro": "", + "gsr_by_source": "", "gsr_labor_only": "", "hours_sold_detail_closed": "", "hours_sold_detail_closed_source": "", @@ -1875,6 +1894,10 @@ "job_costing_ro_estimator": "", "job_costing_ro_source": "", "open_orders": "", + "open_orders_estimator": "", + "open_orders_source": "", + "parts_backorder": "", + "payments_by_date": "", "payments_by_date_type": "", "purchases_by_cost_center_detail": "", "purchases_by_cost_center_summary": "", @@ -1886,10 +1909,14 @@ "purchases_grouped_by_vendor_summary": "", "schedule": "", "supplement_ratio_source": "", + "thank_you_date": "", "timetickets": "", "timetickets_employee": "", "timetickets_summary": "", - "void_ros": "" + "unclaimed_hrs": "", + "void_ros": "", + "work_in_progress_labour": "", + "work_in_progress_payables": "" } }, "scoreboard": { diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index c480fc6cb..22362a95d 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -769,6 +769,11 @@ "unique_employee_number": "" } }, + "exportlogs": { + "fields": { + "createdat": "" + } + }, "general": { "actions": { "add": "", @@ -1747,7 +1752,10 @@ "payment_receipt": "", "payment_request": "", "payments_by_job": "", + "purchases_by_ro_detail": "", + "purchases_by_ro_summary": "", "qc_sheet": "", + "ro_totals": "", "ro_with_description": "", "supplement_request": "", "thank_you_ro": "", @@ -1848,6 +1856,7 @@ "objects": { "appointments": "", "bills": "", + "exportlogs": "", "jobs": "", "payments": "", "timetickets": "" @@ -1855,12 +1864,22 @@ "vendor": "" }, "templates": { + "attendance": "", "attendance_employee": "", + "attendance_summary": "", "credits_not_received_date": "", "estimator_detail": "", "estimator_summary": "", + "export_payables": "", + "export_payments": "", + "export_receivables": "", + "gsr_by_delivery_date": "", "gsr_by_estimator": "", + "gsr_by_exported_date": "", "gsr_by_make": "", + "gsr_by_referral": "", + "gsr_by_ro": "", + "gsr_by_source": "", "gsr_labor_only": "", "hours_sold_detail_closed": "", "hours_sold_detail_closed_source": "", @@ -1875,6 +1894,10 @@ "job_costing_ro_estimator": "", "job_costing_ro_source": "", "open_orders": "", + "open_orders_estimator": "", + "open_orders_source": "", + "parts_backorder": "", + "payments_by_date": "", "payments_by_date_type": "", "purchases_by_cost_center_detail": "", "purchases_by_cost_center_summary": "", @@ -1886,10 +1909,14 @@ "purchases_grouped_by_vendor_summary": "", "schedule": "", "supplement_ratio_source": "", + "thank_you_date": "", "timetickets": "", "timetickets_employee": "", "timetickets_summary": "", - "void_ros": "" + "unclaimed_hrs": "", + "void_ros": "", + "work_in_progress_labour": "", + "work_in_progress_payables": "" } }, "scoreboard": { diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js index 0b063e6e1..403ea7d0d 100644 --- a/client/src/utils/TemplateConstants.js +++ b/client/src/utils/TemplateConstants.js @@ -230,6 +230,14 @@ export const TemplateList = (type, context) => { disabled: false, group: "financial", }, + ro_totals: { + title: i18n.t("printcenter.jobs.ro_totals"), + description: "All Jobs Notes", + subject: i18n.t("printcenter.jobs.ro_totals"), + key: "ro_totals", + disabled: false, + group: "financial", + }, job_costing_ro: { title: i18n.t("printcenter.jobs.job_costing_ro"), description: "All Jobs Notes", @@ -238,6 +246,22 @@ export const TemplateList = (type, context) => { disabled: false, group: "financial", }, + purchases_by_ro_detail: { + title: i18n.t("printcenter.jobs.purchases_by_ro_detail"), + description: "All Jobs Notes", + subject: i18n.t("printcenter.jobs.purchases_by_ro_detail"), + key: "purchases_by_ro_detail", + disabled: false, + group: "financial", + }, + purchases_by_ro_summary: { + title: i18n.t("printcenter.jobs.purchases_by_ro_summary"), + description: "All Jobs Notes", + subject: i18n.t("printcenter.jobs.purchases_by_ro_summary"), + key: "purchases_by_ro_summary", + disabled: false, + group: "financial", + }, filing_coversheet_portrait: { title: i18n.t("printcenter.jobs.filing_coversheet_portrait"), description: "All Jobs Notes", @@ -361,6 +385,16 @@ export const TemplateList = (type, context) => { ...(!type || type === "csi" ? {} : {}), ...(!type || type === "report_center" ? { + payments_by_date: { + title: i18n.t("reportcenter.templates.payments_by_date"), + subject: i18n.t("reportcenter.templates.payments_by_date"), + key: "payments_by_date", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.payments"), + field: i18n.t("payments.fields.date"), + }, + }, payments_by_date_type: { title: i18n.t("reportcenter.templates.payments_by_date_type"), subject: i18n.t("reportcenter.templates.payments_by_date_type"), @@ -521,7 +555,28 @@ export const TemplateList = (type, context) => { idtype: "employee", disabled: false, }, + attendance: { + title: i18n.t("reportcenter.templates.attendance"), + subject: i18n.t("reportcenter.templates.attendance"), + key: "attendance", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.timetickets"), + field: i18n.t("timetickets.fields.date"), + }, + }, + attendance_summary: { + title: i18n.t("reportcenter.templates.attendance_summary"), + subject: i18n.t("reportcenter.templates.attendance_summary"), + key: "attendance_summary", + + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.timetickets"), + field: i18n.t("timetickets.fields.date"), + }, + }, attendance_employee: { title: i18n.t("reportcenter.templates.attendance_employee"), subject: i18n.t("reportcenter.templates.attendance_employee"), @@ -789,6 +844,67 @@ export const TemplateList = (type, context) => { field: i18n.t("jobs.fields.date_invoiced"), }, }, + gsr_by_delivery_date: { + title: i18n.t("reportcenter.templates.gsr_by_delivery_date"), + description: "", + subject: i18n.t("reportcenter.templates.gsr_by_delivery_date"), + key: "gsr_by_delivery_date", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.actual_delivery"), + }, + }, + gsr_by_referral: { + title: i18n.t("reportcenter.templates.gsr_by_referral"), + description: "", + subject: i18n.t("reportcenter.templates.gsr_by_referral"), + key: "gsr_by_referral", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_invoiced"), + }, + }, + gsr_by_ro: { + title: i18n.t("reportcenter.templates.gsr_by_ro"), + description: "", + subject: i18n.t("reportcenter.templates.gsr_by_ro"), + key: "gsr_by_ro", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_invoiced"), + }, + }, + gsr_by_source: { + title: i18n.t("reportcenter.templates.gsr_by_source"), + description: "", + subject: i18n.t("reportcenter.templates.gsr_by_source"), + key: "gsr_by_source", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_invoiced"), + }, + }, + gsr_by_exported_date: { + title: i18n.t("reportcenter.templates.gsr_by_exported_date"), + description: "", + subject: i18n.t("reportcenter.templates.gsr_by_exported_date"), + key: "gsr_by_exported_date", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_exported"), + }, + }, + gsr_by_estimator: { title: i18n.t("reportcenter.templates.gsr_by_estimator"), description: "", @@ -825,6 +941,128 @@ export const TemplateList = (type, context) => { field: i18n.t("jobs.fields.date_open"), }, }, + open_orders_estimator: { + title: i18n.t("reportcenter.templates.open_orders_estimator"), + description: "", + subject: i18n.t("reportcenter.templates.open_orders_estimator"), + key: "open_orders_estimator", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_open"), + }, + }, + open_orders_source: { + title: i18n.t("reportcenter.templates.open_orders_source"), + description: "", + subject: i18n.t("reportcenter.templates.open_orders_source"), + key: "open_orders_source", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_open"), + }, + }, + export_payables: { + title: i18n.t("reportcenter.templates.export_payables"), + description: "", + subject: i18n.t("reportcenter.templates.export_payables"), + key: "export_payables", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.exportlogs"), + field: i18n.t("exportlogs.fields.createdat"), + }, + export_payments: { + title: i18n.t("reportcenter.templates.export_payments"), + description: "", + subject: i18n.t("reportcenter.templates.export_payments"), + key: "export_payments", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.exportlogs"), + field: i18n.t("exportlogs.fields.createdat"), + }, + }, + export_receivables: { + title: i18n.t("reportcenter.templates.export_receivables"), + description: "", + subject: i18n.t("reportcenter.templates.export_receivables"), + key: "export_receivables", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.exportlogs"), + field: i18n.t("exportlogs.fields.createdat"), + }, + }, + parts_backorder: { + title: i18n.t("reportcenter.templates.parts_backorder"), + description: "", + subject: i18n.t("reportcenter.templates.parts_backorder"), + key: "parts_backorder", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.actual_in"), + }, + }, + thank_you_date: { + title: i18n.t("reportcenter.templates.thank_you_date"), + description: "", + subject: i18n.t("reportcenter.templates.thank_you_date"), + key: "thank_you_date", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_invoiced"), + }, + }, + unclaimed_hrs: { + title: i18n.t("reportcenter.templates.unclaimed_hrs"), + description: "", + subject: i18n.t("reportcenter.templates.unclaimed_hrs"), + key: "unclaimed_hrs", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_open"), + }, + }, + work_in_progress_labour: { + title: i18n.t("reportcenter.templates.work_in_progress_labour"), + description: "", + subject: i18n.t("reportcenter.templates.work_in_progress_labour"), + key: "work_in_progress_labour", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_open"), + }, + }, + work_in_progress_payables: { + title: i18n.t("reportcenter.templates.work_in_progress_payables"), + description: "", + subject: i18n.t( + "reportcenter.templates.work_in_progress_payables" + ), + key: "work_in_progress_payables", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_open"), + }, + }, + }, } : {}), ...(!type || type === "courtesycarcontract"