IO-1651 add estimates written/converted.

This commit is contained in:
Patrick Fic
2022-01-26 08:46:44 -08:00
parent 3985293cee
commit b546d90c9e
7 changed files with 44 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ npx hasura migrate apply --endpoint https://db.imex.online/ --admin-secret 'Prod
npx hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret 'Test-ImEXOnlineBySnaptSoftware!' npx hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret 'Test-ImEXOnlineBySnaptSoftware!'
NGROK TEsting: NGROK TEsting:
./ngrok.exe http http://localhost:5000 -host-header="localhost:5000" ./ngrok.exe http http://localhost:4000 -host-header="localhost:4000"
Finding deadfiles - run from client directory Finding deadfiles - run from client directory
npx deadfile ./src/index.js --exclude build templates npx deadfile ./src/index.js --exclude build templates

View File

@@ -37167,6 +37167,27 @@
</translation> </translation>
</translations> </translations>
</concept_node> </concept_node>
<concept_node>
<name>estimates_written_converted</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> <concept_node>
<name>estimator_detail</name> <name>estimator_detail</name>
<definition_loaded>false</definition_loaded> <definition_loaded>false</definition_loaded>

View File

@@ -48,10 +48,7 @@ function ChatSendMessageComponent({
if (message === "" || !message) return; if (message === "" || !message) return;
logImEXEvent("messaging_send_message"); logImEXEvent("messaging_send_message");
const selectedImages = selectedMedia.filter((i) => i.isSelected); const selectedImages = selectedMedia.filter((i) => i.isSelected);
console.log(
"🚀 ~ file: chat-send-message.component.jsx ~ line 52 ~ selectedImages",
selectedImages
);
if (selectedImages.length < 11) { if (selectedImages.length < 11) {
sendMessage({ sendMessage({
to: conversation.phone_num, to: conversation.phone_num,

View File

@@ -2220,6 +2220,7 @@
"attendance_summary": "Attendance Summary (All Employees)", "attendance_summary": "Attendance Summary (All Employees)",
"credits_not_received_date": "Credits not Received by Date", "credits_not_received_date": "Credits not Received by Date",
"csi": "CSI Responses", "csi": "CSI Responses",
"estimates_written_converted": "Estimates Written/Converted",
"estimator_detail": "Jobs by Estimator (Detail)", "estimator_detail": "Jobs by Estimator (Detail)",
"estimator_summary": "Jobs by Estimator (Summary)", "estimator_summary": "Jobs by Estimator (Summary)",
"export_payables": "Export Log - Payables", "export_payables": "Export Log - Payables",

View File

@@ -2220,6 +2220,7 @@
"attendance_summary": "", "attendance_summary": "",
"credits_not_received_date": "", "credits_not_received_date": "",
"csi": "", "csi": "",
"estimates_written_converted": "",
"estimator_detail": "", "estimator_detail": "",
"estimator_summary": "", "estimator_summary": "",
"export_payables": "", "export_payables": "",

View File

@@ -2220,6 +2220,7 @@
"attendance_summary": "", "attendance_summary": "",
"credits_not_received_date": "", "credits_not_received_date": "",
"csi": "", "csi": "",
"estimates_written_converted": "",
"estimator_detail": "", "estimator_detail": "",
"estimator_summary": "", "estimator_summary": "",
"export_payables": "", "export_payables": "",

View File

@@ -1466,6 +1466,24 @@ export const TemplateList = (type, context) => {
}, },
group: "customers", group: "customers",
}, },
estimates_written_converted: {
title: i18n.t("reportcenter.templates.estimates_written_converted"),
description: "",
subject: i18n.t(
"reportcenter.templates.estimates_written_converted"
),
key: "estimates_written_converted",
//idtype: "vendor",
disabled: false,
rangeFilter: {
object: i18n.t("reportcenter.labels.objects.jobs"),
field:
i18n.t("jobs.fields.date_open") +
"/" +
i18n.t("jobs.fields.date_invoiced"), // Also date invoice.
},
group: "sales",
},
} }
: {}), : {}),
...(!type || type === "courtesycarcontract" ...(!type || type === "courtesycarcontract"