- {jobContext.vehicle?.v_model_yr ?? t("general.labels.na")}{" "}
- {jobContext.vehicle?.v_make_desc ?? t("general.labels.na")}{" "}
- {jobContext.vehicle?.v_model_desc ?? t("general.labels.na")} |{" "}
- {jobContext.vehicle?.plate_no ?? t("general.labels.na")}
+ {jobContext.vehicle?.v_model_yr || t("general.labels.na")}{" "}
+ {jobContext.vehicle?.v_make_desc || t("general.labels.na")}{" "}
+ {jobContext.vehicle?.v_model_desc || t("general.labels.na")} |{" "}
+ {jobContext.vehicle?.plate_no || t("general.labels.na")}
diff --git a/client/src/components/jobs-list/jobs-list.component.jsx b/client/src/components/jobs-list/jobs-list.component.jsx
index 5cf9bec8b..f92279eee 100644
--- a/client/src/components/jobs-list/jobs-list.component.jsx
+++ b/client/src/components/jobs-list/jobs-list.component.jsx
@@ -91,7 +91,7 @@ export default withRouter(function JobsList({
sortOrder:
state.sortedInfo.columnKey === "status" && state.sortedInfo.order,
render: (text, record) => {
- return record.job_status?.name ?? t("general.labels.na");
+ return record.job_status?.name || t("general.labels.na");
}
},
diff --git a/client/src/components/sign-out/sign-out.component.jsx b/client/src/components/sign-out/sign-out.component.jsx
index 2ed476ef7..9e995d819 100644
--- a/client/src/components/sign-out/sign-out.component.jsx
+++ b/client/src/components/sign-out/sign-out.component.jsx
@@ -16,10 +16,5 @@ export default function SignoutComponent() {
const { t } = useTranslation();
- return (
-
- {this.renderRedirect()}
-
{t("user.actions.signout")}
-
- );
+ return {t("user.actions.signout")}
;
}
diff --git a/client/src/components/white-board-card/white-board-card.component.jsx b/client/src/components/white-board-card/white-board-card.component.jsx
index e5367c085..393878f8f 100644
--- a/client/src/components/white-board-card/white-board-card.component.jsx
+++ b/client/src/components/white-board-card/white-board-card.component.jsx
@@ -63,11 +63,11 @@ export default function WhiteBoardCard({ metadata }) {
- {metadata.vehicle?.v_model_yr ?? t("general.labels.na")}{" "}
- {metadata.vehicle?.v_make_desc ?? t("general.labels.na")}{" "}
- {metadata.vehicle?.v_model_desc ?? t("general.labels.na")}
+ {metadata.vehicle?.v_model_yr || t("general.labels.na")}{" "}
+ {metadata.vehicle?.v_make_desc || t("general.labels.na")}{" "}
+ {metadata.vehicle?.v_model_desc || t("general.labels.na")}
{metadata.vehicle?.v_vin ? (
- VIN: {metadata.vehicle?.v_vin ?? t("general.labels.na")}
+ VIN: {metadata.vehicle?.v_vin || t("general.labels.na")}
) : null}
diff --git a/client/src/graphql/apollo-error-handling.js b/client/src/graphql/apollo-error-handling.js
index 271052f78..6b5b74677 100644
--- a/client/src/graphql/apollo-error-handling.js
+++ b/client/src/graphql/apollo-error-handling.js
@@ -1,5 +1,5 @@
import { onError } from "apollo-link-error";
-import { Observable } from "apollo-link";
+//import { Observable } from "apollo-link";
import { auth } from "../firebase/firebase.utils";
//https://stackoverflow.com/questions/57163454/refreshing-a-token-with-apollo-client-firebase-auth
const errorLink = onError(
diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json
index bff05c3e1..7a6db6841 100644
--- a/client/src/translations/en_us/common.json
+++ b/client/src/translations/en_us/common.json
@@ -38,6 +38,7 @@
},
"errors": {
"noaccess": "This job does not exist or you do not have access to it.",
+ "nodates": "No dates specified for this job.",
"nojobselected": "No job is selected.",
"noowner": "No owner associated.",
"novehicle": "No vehicle associated.",
@@ -46,9 +47,18 @@
"validationtitle": "Validation Error"
},
"fields": {
+ "actual_completion": "Actual Completion",
+ "actual_delivery": "Actual Delivery",
+ "actual_in": "Actual In",
"claim_total": "Claim Total",
"clm_no": "Claim #",
"clm_total": "Claim Total",
+ "date_closed": "Closed",
+ "date_estimated": "Date Estimated",
+ "date_exported": "Exported",
+ "date_invoiced": "Invoiced",
+ "date_open": "Open",
+ "date_scheduled": "Scheduled",
"deductible": "Deductible",
"est_number": "Estimate Number",
"owner": "Owner",
@@ -57,6 +67,9 @@
"phone1": "Phone 1",
"phoneshort": "PH",
"ro_number": "RO #",
+ "scheduled_completion": "Scheduled Completion",
+ "scheduled_delivery": "Scheduled Delivery",
+ "scheduled_in": "Scheduled In",
"status": "Job Status",
"vehicle": "Vehicle"
},
@@ -133,6 +146,11 @@
"jobsdocuments": "Job Documents {{ro_number}} | $t(titles.app)",
"profile": "My Profile | $t(titles.app)"
},
+ "user": {
+ "actions": {
+ "signout": "Sign Out"
+ }
+ },
"vehicles": {
"fields": {
"plate_no": "License Plate"
diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json
index ff81af7c1..fda17bd90 100644
--- a/client/src/translations/es/common.json
+++ b/client/src/translations/es/common.json
@@ -38,6 +38,7 @@
},
"errors": {
"noaccess": "Este trabajo no existe o no tiene acceso a él.",
+ "nodates": "No hay fechas especificadas para este trabajo.",
"nojobselected": "No hay trabajo seleccionado.",
"noowner": "Ningún propietario asociado.",
"novehicle": "No hay vehículo asociado.",
@@ -46,9 +47,18 @@
"validationtitle": "Error de validacion"
},
"fields": {
+ "actual_completion": "Realización real",
+ "actual_delivery": "Entrega real",
+ "actual_in": "Real en",
"claim_total": "Reclamar total",
"clm_no": "Reclamación #",
"clm_total": "Reclamar total",
+ "date_closed": "Cerrado",
+ "date_estimated": "Fecha estimada",
+ "date_exported": "Exportado",
+ "date_invoiced": "Facturado",
+ "date_open": "Abierto",
+ "date_scheduled": "Programado",
"deductible": "Deducible",
"est_number": "Numero Estimado",
"owner": "Propietario",
@@ -57,6 +67,9 @@
"phone1": "Teléfono 1",
"phoneshort": "PH",
"ro_number": "RO #",
+ "scheduled_completion": "Finalización programada",
+ "scheduled_delivery": "Entrega programada",
+ "scheduled_in": "Programado en",
"status": "Estado del trabajo",
"vehicle": "Vehículo"
},
@@ -133,6 +146,11 @@
"jobsdocuments": "Documentos de trabajo {{ro_number}} | $ t (títulos.app)",
"profile": "Mi perfil | $t(titles.app)"
},
+ "user": {
+ "actions": {
+ "signout": "desconectar"
+ }
+ },
"vehicles": {
"fields": {
"plate_no": "Placa"
diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json
index dad791091..53926ea54 100644
--- a/client/src/translations/fr/common.json
+++ b/client/src/translations/fr/common.json
@@ -38,6 +38,7 @@
},
"errors": {
"noaccess": "Ce travail n'existe pas ou vous n'y avez pas accès.",
+ "nodates": "Aucune date spécifiée pour ce travail.",
"nojobselected": "Aucun travail n'est sélectionné.",
"noowner": "Aucun propriétaire associé.",
"novehicle": "Aucun véhicule associé.",
@@ -46,9 +47,18 @@
"validationtitle": "Erreur de validation"
},
"fields": {
+ "actual_completion": "Achèvement réel",
+ "actual_delivery": "Livraison réelle",
+ "actual_in": "En réel",
"claim_total": "Total réclamation",
"clm_no": "Prétendre #",
"clm_total": "Total réclamation",
+ "date_closed": "Fermé",
+ "date_estimated": "Date estimée",
+ "date_exported": "Exportés",
+ "date_invoiced": "Facturé",
+ "date_open": "Ouvrir",
+ "date_scheduled": "Prévu",
"deductible": "Déductible",
"est_number": "Numéro d'estimation",
"owner": "Propriétaire",
@@ -57,6 +67,9 @@
"phone1": "Téléphone 1",
"phoneshort": "PH",
"ro_number": "RO #",
+ "scheduled_completion": "Achèvement planifié",
+ "scheduled_delivery": "Livraison programmée",
+ "scheduled_in": "Planifié dans",
"status": "Statut de l'emploi",
"vehicle": "Véhicule"
},
@@ -133,6 +146,11 @@
"jobsdocuments": "Documents de travail {{ro_number}} | $ t (titres.app)",
"profile": "Mon profil | $t(titles.app)"
},
+ "user": {
+ "actions": {
+ "signout": "Déconnexion"
+ }
+ },
"vehicles": {
"fields": {
"plate_no": "Plaque d'immatriculation"