e.stopPropagation()}
+ value={(record[field] && moment(record[field])) || null}
+ onChange={handleChange}
+ format="hh:mm a"
+ />
+ )}
+
+
}
>
setVisible(true)}
style={{
height: "19px",
}}
diff --git a/client/src/graphql/jobs.queries.js b/client/src/graphql/jobs.queries.js
index 545c6f40a..94a210a98 100644
--- a/client/src/graphql/jobs.queries.js
+++ b/client/src/graphql/jobs.queries.js
@@ -122,6 +122,7 @@ export const SUBSCRIPTION_JOBS_IN_PRODUCTION = gql`
actual_in
scheduled_completion
scheduled_delivery
+ date_last_contacted
ins_co_nm
clm_total
ownr_ph1
@@ -509,6 +510,7 @@ export const GET_JOB_BY_PK = gql`
date_open
date_scheduled
date_invoiced
+ date_last_contacted
date_exported
status
owner_owing
@@ -748,6 +750,7 @@ export const QUERY_JOB_CARD_DETAILS = gql`
scheduled_in
scheduled_delivery
date_invoiced
+ date_last_contacted
date_open
date_exported
@@ -833,6 +836,7 @@ export const QUERY_TECH_JOB_DETAILS = gql`
scheduled_in
scheduled_delivery
date_invoiced
+ date_last_contacted
date_open
date_exported
voided
diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json
index 02b3a4ccf..cf5b1c7d5 100644
--- a/client/src/translations/en_us/common.json
+++ b/client/src/translations/en_us/common.json
@@ -1197,6 +1197,7 @@
"date_estimated": "Date Estimated",
"date_exported": "Exported",
"date_invoiced": "Invoiced",
+ "date_last_contacted": "Last Contacted Date",
"date_open": "Open",
"date_scheduled": "Scheduled",
"ded_amt": "Deductible",
diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json
index 3a42c4d5e..3254fb148 100644
--- a/client/src/translations/es/common.json
+++ b/client/src/translations/es/common.json
@@ -1197,6 +1197,7 @@
"date_estimated": "Fecha estimada",
"date_exported": "Exportado",
"date_invoiced": "Facturado",
+ "date_last_contacted": "",
"date_open": "Abierto",
"date_scheduled": "Programado",
"ded_amt": "Deducible",
diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json
index 229ad4761..fdd764d37 100644
--- a/client/src/translations/fr/common.json
+++ b/client/src/translations/fr/common.json
@@ -1197,6 +1197,7 @@
"date_estimated": "Date estimée",
"date_exported": "Exportés",
"date_invoiced": "Facturé",
+ "date_last_contacted": "",
"date_open": "Ouvrir",
"date_scheduled": "Prévu",
"ded_amt": "Déductible",
diff --git a/hasura/metadata/tables.yaml b/hasura/metadata/tables.yaml
index 53abe7a6b..b78ca5908 100644
--- a/hasura/metadata/tables.yaml
+++ b/hasura/metadata/tables.yaml
@@ -2581,6 +2581,7 @@
- date_estimated
- date_exported
- date_invoiced
+ - date_last_contacted
- date_open
- date_scheduled
- ded_amt
@@ -2829,6 +2830,7 @@
- date_estimated
- date_exported
- date_invoiced
+ - date_last_contacted
- date_open
- date_scheduled
- ded_amt
@@ -3087,6 +3089,7 @@
- date_estimated
- date_exported
- date_invoiced
+ - date_last_contacted
- date_open
- date_scheduled
- ded_amt
diff --git a/hasura/migrations/1633449284867_alter_table_public_jobs_add_column_date_last_contacted/down.sql b/hasura/migrations/1633449284867_alter_table_public_jobs_add_column_date_last_contacted/down.sql
new file mode 100644
index 000000000..c62759f35
--- /dev/null
+++ b/hasura/migrations/1633449284867_alter_table_public_jobs_add_column_date_last_contacted/down.sql
@@ -0,0 +1,4 @@
+-- Could not auto-generate a down migration.
+-- Please write an appropriate down migration for the SQL below:
+-- alter table "public"."jobs" add column "date_last_contacted" timestamptz
+-- null;
diff --git a/hasura/migrations/1633449284867_alter_table_public_jobs_add_column_date_last_contacted/up.sql b/hasura/migrations/1633449284867_alter_table_public_jobs_add_column_date_last_contacted/up.sql
new file mode 100644
index 000000000..f8c69c375
--- /dev/null
+++ b/hasura/migrations/1633449284867_alter_table_public_jobs_add_column_date_last_contacted/up.sql
@@ -0,0 +1,2 @@
+alter table "public"."jobs" add column "date_last_contacted" timestamptz
+ null;