Added templates.
This commit is contained in:
@@ -23675,6 +23675,53 @@
|
||||
<folder_node>
|
||||
<name>printcenter</name>
|
||||
<children>
|
||||
<folder_node>
|
||||
<name>courtesycarcontract</name>
|
||||
<children>
|
||||
<concept_node>
|
||||
<name>courtesy_car_contract</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>courtesy_car_terms</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
</children>
|
||||
</folder_node>
|
||||
<folder_node>
|
||||
<name>errors</name>
|
||||
<children>
|
||||
@@ -24024,6 +24071,27 @@
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>appointment_reminder</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>casl_authorization</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
@@ -24297,6 +24365,90 @@
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>worksheet_by_line_number</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>worksheet_sorted_by_operation</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>worksheet_sorted_by_operation_no_hours</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>worksheet_sorted_by_operation_part_type</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
</children>
|
||||
</folder_node>
|
||||
<folder_node>
|
||||
@@ -25140,7 +25292,7 @@
|
||||
<name>templates</name>
|
||||
<children>
|
||||
<concept_node>
|
||||
<name>payment_by_date</name>
|
||||
<name>payments_by_date_type</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Space } from "antd";
|
||||
import { Button } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ export function PrintCenterJobsComponent({ printCenterModal }) {
|
||||
<Col {...colSpan}>
|
||||
<Collapse accordion>
|
||||
<Collapse.Panel header={t("printcenter.labels.repairorder")}>
|
||||
<ul style={{ columns: "3 auto" }}>
|
||||
<ul style={{ columns: "2 auto" }}>
|
||||
{JobsReportsList.map((item) => (
|
||||
<PrintCenterItem
|
||||
key={item.key}
|
||||
|
||||
@@ -1441,6 +1441,10 @@
|
||||
}
|
||||
},
|
||||
"printcenter": {
|
||||
"courtesycarcontract": {
|
||||
"courtesy_car_contract": "Courtesy Car Contract",
|
||||
"courtesy_car_terms": "Courtesy Car Terms"
|
||||
},
|
||||
"errors": {
|
||||
"nocontexttype": "No context type set."
|
||||
},
|
||||
@@ -1462,6 +1466,7 @@
|
||||
},
|
||||
"3rdpartypayer": "Third Party Payer",
|
||||
"appointment_confirmation": "Appointment Confirmation",
|
||||
"appointment_reminder": "Appointment Reminder",
|
||||
"casl_authorization": "CASL Authorization",
|
||||
"diagnostic_authorization": "Diagnostic Authorization",
|
||||
"estimate_detail": "Estimate Details",
|
||||
@@ -1474,7 +1479,11 @@
|
||||
"ro_with_description": "RO Summary with Descriptions",
|
||||
"thirdpartypayer": "Third Party Payer",
|
||||
"window_tag": "Window Tag",
|
||||
"work_authorization": "Work Authorization"
|
||||
"work_authorization": "Work Authorization",
|
||||
"worksheet_by_line_number": "Worksheet by Line Number",
|
||||
"worksheet_sorted_by_operation": "Worksheet by Operation",
|
||||
"worksheet_sorted_by_operation_no_hours": "Worksheet by Operation (No Hours)",
|
||||
"worksheet_sorted_by_operation_part_type": "Worksheet by Operation & Part Type"
|
||||
},
|
||||
"labels": {
|
||||
"misc": "Miscellaneous Documents",
|
||||
@@ -1538,7 +1547,7 @@
|
||||
"key": "Report"
|
||||
},
|
||||
"templates": {
|
||||
"payment_by_date": "Payments by Date Range"
|
||||
"payments_by_date_type": "Payments by Date Range"
|
||||
}
|
||||
},
|
||||
"scoreboard": {
|
||||
|
||||
@@ -1441,6 +1441,10 @@
|
||||
}
|
||||
},
|
||||
"printcenter": {
|
||||
"courtesycarcontract": {
|
||||
"courtesy_car_contract": "",
|
||||
"courtesy_car_terms": ""
|
||||
},
|
||||
"errors": {
|
||||
"nocontexttype": ""
|
||||
},
|
||||
@@ -1462,6 +1466,7 @@
|
||||
},
|
||||
"3rdpartypayer": "",
|
||||
"appointment_confirmation": "",
|
||||
"appointment_reminder": "",
|
||||
"casl_authorization": "",
|
||||
"diagnostic_authorization": "",
|
||||
"estimate_detail": "",
|
||||
@@ -1474,7 +1479,11 @@
|
||||
"ro_with_description": "",
|
||||
"thirdpartypayer": "",
|
||||
"window_tag": "",
|
||||
"work_authorization": ""
|
||||
"work_authorization": "",
|
||||
"worksheet_by_line_number": "",
|
||||
"worksheet_sorted_by_operation": "",
|
||||
"worksheet_sorted_by_operation_no_hours": "",
|
||||
"worksheet_sorted_by_operation_part_type": ""
|
||||
},
|
||||
"labels": {
|
||||
"misc": "",
|
||||
@@ -1538,7 +1547,7 @@
|
||||
"key": ""
|
||||
},
|
||||
"templates": {
|
||||
"payment_by_date": ""
|
||||
"payments_by_date_type": ""
|
||||
}
|
||||
},
|
||||
"scoreboard": {
|
||||
|
||||
@@ -1441,6 +1441,10 @@
|
||||
}
|
||||
},
|
||||
"printcenter": {
|
||||
"courtesycarcontract": {
|
||||
"courtesy_car_contract": "",
|
||||
"courtesy_car_terms": ""
|
||||
},
|
||||
"errors": {
|
||||
"nocontexttype": ""
|
||||
},
|
||||
@@ -1462,6 +1466,7 @@
|
||||
},
|
||||
"3rdpartypayer": "",
|
||||
"appointment_confirmation": "",
|
||||
"appointment_reminder": "",
|
||||
"casl_authorization": "",
|
||||
"diagnostic_authorization": "",
|
||||
"estimate_detail": "",
|
||||
@@ -1474,7 +1479,11 @@
|
||||
"ro_with_description": "",
|
||||
"thirdpartypayer": "",
|
||||
"window_tag": "",
|
||||
"work_authorization": ""
|
||||
"work_authorization": "",
|
||||
"worksheet_by_line_number": "",
|
||||
"worksheet_sorted_by_operation": "",
|
||||
"worksheet_sorted_by_operation_no_hours": "",
|
||||
"worksheet_sorted_by_operation_part_type": ""
|
||||
},
|
||||
"labels": {
|
||||
"misc": "",
|
||||
@@ -1538,7 +1547,7 @@
|
||||
"key": ""
|
||||
},
|
||||
"templates": {
|
||||
"payment_by_date": ""
|
||||
"payments_by_date_type": ""
|
||||
}
|
||||
},
|
||||
"scoreboard": {
|
||||
|
||||
@@ -75,6 +75,55 @@ export const TemplateList = (type, context) => {
|
||||
key: "payments_by_job",
|
||||
disabled: false,
|
||||
},
|
||||
appointment_reminder: {
|
||||
title: i18n.t("printcenter.jobs.appointment_reminder"),
|
||||
description: "All Jobs Notes",
|
||||
subject: `${i18n.t("printcenter.jobs.appointment_reminder")} - ${
|
||||
context && context.job && context.job.ro_number
|
||||
}`,
|
||||
key: "appointment_reminder",
|
||||
disabled: false,
|
||||
},
|
||||
worksheet_by_line_number: {
|
||||
title: i18n.t("printcenter.jobs.worksheet_by_line_number"),
|
||||
description: "All Jobs Notes",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.jobs.worksheet_by_line_number"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "worksheet_by_line_number",
|
||||
disabled: false,
|
||||
},
|
||||
worksheet_sorted_by_operation: {
|
||||
title: i18n.t("printcenter.jobs.worksheet_sorted_by_operation"),
|
||||
description: "All Jobs Notes",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.jobs.worksheet_sorted_by_operation"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "worksheet_sorted_by_operation",
|
||||
disabled: false,
|
||||
},
|
||||
worksheet_sorted_by_operation_no_hours: {
|
||||
title: i18n.t(
|
||||
"printcenter.jobs.worksheet_sorted_by_operation_no_hours"
|
||||
),
|
||||
description: "All Jobs Notes",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.jobs.worksheet_sorted_by_operation_no_hours"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "worksheet_sorted_by_operation_no_hours",
|
||||
disabled: false,
|
||||
},
|
||||
worksheet_sorted_by_operation_part_type: {
|
||||
title: i18n.t(
|
||||
"printcenter.jobs.worksheet_sorted_by_operation_part_type"
|
||||
),
|
||||
description: "All Jobs Notes",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.jobs.worksheet_sorted_by_operation_part_type"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "worksheet_sorted_by_operation_part_type",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
...(!type || type === "job_special"
|
||||
@@ -148,13 +197,37 @@ export const TemplateList = (type, context) => {
|
||||
: {}),
|
||||
...(!type || type === "report_center"
|
||||
? {
|
||||
payment_by_date: {
|
||||
title: i18n.t("reportcenter.templates.payment_by_date"),
|
||||
payments_by_date_type: {
|
||||
title: i18n.t("reportcenter.templates.payments_by_date_type"),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t("reportcenter.templates.payment_by_date")} - ${
|
||||
context && context.job && context.job.ro_number
|
||||
}`,
|
||||
key: "payment_by_date",
|
||||
subject: `${i18n.t(
|
||||
"reportcenter.templates.payments_by_date_type"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "payments_by_date_type",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
...(!type || type === "courtesycarcontract"
|
||||
? {
|
||||
courtesy_car_contract: {
|
||||
title: i18n.t(
|
||||
"printcenter.courtesycarcontract.courtesy_car_contract"
|
||||
),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.courtesycarcontract.courtesy_car_contract"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "courtesy_car_contract",
|
||||
disabled: false,
|
||||
},
|
||||
courtesy_car_terms: {
|
||||
title: i18n.t("printcenter.courtesycarcontract.courtesy_car_terms"),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.courtesycarcontract.courtesy_car_terms"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "courtesy_car_terms",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user