IO-969 Phonebook insert error fix.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<babeledit_project be_version="2.7.1" version="1.2">
|
||||
<babeledit_project version="1.2" be_version="2.7.1">
|
||||
<!--
|
||||
|
||||
BabelEdit project file
|
||||
@@ -27072,6 +27072,48 @@
|
||||
<folder_node>
|
||||
<name>fields</name>
|
||||
<children>
|
||||
<concept_node>
|
||||
<name>address1</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>address2</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>category</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
@@ -27303,48 +27345,6 @@
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>street1</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>street2</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>
|
||||
|
||||
@@ -58,10 +58,10 @@ export default function PhonebookFormComponent({
|
||||
<Form.Item label={t("phonebook.fields.category")} name="category">
|
||||
<Input />
|
||||
</Form.Item>
|
||||
<Form.Item label={t("phonebook.fields.street1")} name="street1">
|
||||
<Form.Item label={t("phonebook.fields.address1")} name="address1">
|
||||
<Input />
|
||||
</Form.Item>
|
||||
<Form.Item label={t("phonebook.fields.street2")} name="street2">
|
||||
<Form.Item label={t("phonebook.fields.address2")} name="address2">
|
||||
<Input />
|
||||
</Form.Item>
|
||||
</LayoutFormRow>
|
||||
|
||||
@@ -14,8 +14,8 @@ import AppContainer from "./App/App.container";
|
||||
import LoadingSpinner from "./components/loading-spinner/loading-spinner.component";
|
||||
import "./index.css";
|
||||
import { persistor, store } from "./redux/store";
|
||||
import * as serviceWorkerRegistration from "./serviceWorkerRegistration";
|
||||
import reportWebVitals from "./reportWebVitals";
|
||||
import * as serviceWorkerRegistration from "./serviceWorkerRegistration";
|
||||
import "./translations/i18n";
|
||||
import "./utils/CleanAxios";
|
||||
require("dotenv").config();
|
||||
@@ -55,7 +55,7 @@ ReactDOM.render(
|
||||
|
||||
const onServiceWorkerUpdate = (registration) => {
|
||||
console.log("onServiceWorkerUpdate", registration);
|
||||
const key = `open${Date.now()}`;
|
||||
|
||||
const btn = (
|
||||
<Button
|
||||
type="primary"
|
||||
@@ -79,7 +79,7 @@ const onServiceWorkerUpdate = (registration) => {
|
||||
description: i18n.t("general.messages.newversionmessage"),
|
||||
duration: 0,
|
||||
btn,
|
||||
key,
|
||||
key: "updateavailable",
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -99,9 +99,9 @@ export function PhonebookPageComponent({ bodyshop }) {
|
||||
render: (text, record) => <ChatOpenButton phone={text} />,
|
||||
},
|
||||
{
|
||||
title: t("phonebook.fields.street1"),
|
||||
dataIndex: "street1",
|
||||
key: "street1",
|
||||
title: t("phonebook.fields.address1"),
|
||||
dataIndex: "address1",
|
||||
key: "address1",
|
||||
},
|
||||
{
|
||||
title: t("phonebook.fields.city"),
|
||||
|
||||
@@ -1623,6 +1623,8 @@
|
||||
"saving": "Error saving phonebook entry. {{error}}"
|
||||
},
|
||||
"fields": {
|
||||
"address1": "Street 1",
|
||||
"address2": "Street 2",
|
||||
"category": "Category",
|
||||
"city": "City",
|
||||
"company": "Company",
|
||||
@@ -1633,9 +1635,7 @@
|
||||
"lastname": "Last Name",
|
||||
"phone1": "Phone 1",
|
||||
"phone2": "Phone 2",
|
||||
"state": "state",
|
||||
"street1": "Street 1",
|
||||
"street2": "Street 2"
|
||||
"state": "state"
|
||||
},
|
||||
"labels": {
|
||||
"vendorcategory": "Vendor"
|
||||
|
||||
@@ -1623,6 +1623,8 @@
|
||||
"saving": ""
|
||||
},
|
||||
"fields": {
|
||||
"address1": "",
|
||||
"address2": "",
|
||||
"category": "",
|
||||
"city": "",
|
||||
"company": "",
|
||||
@@ -1633,9 +1635,7 @@
|
||||
"lastname": "",
|
||||
"phone1": "",
|
||||
"phone2": "",
|
||||
"state": "",
|
||||
"street1": "",
|
||||
"street2": ""
|
||||
"state": ""
|
||||
},
|
||||
"labels": {
|
||||
"vendorcategory": ""
|
||||
|
||||
@@ -1623,6 +1623,8 @@
|
||||
"saving": ""
|
||||
},
|
||||
"fields": {
|
||||
"address1": "",
|
||||
"address2": "",
|
||||
"category": "",
|
||||
"city": "",
|
||||
"company": "",
|
||||
@@ -1633,9 +1635,7 @@
|
||||
"lastname": "",
|
||||
"phone1": "",
|
||||
"phone2": "",
|
||||
"state": "",
|
||||
"street1": "",
|
||||
"street2": ""
|
||||
"state": ""
|
||||
},
|
||||
"labels": {
|
||||
"vendorcategory": ""
|
||||
|
||||
Reference in New Issue
Block a user