diff --git a/client/src/js/views/OwnersDetail.jsx b/client/src/js/views/OwnersDetail.jsx
index 0b9b61f8..8906b658 100644
--- a/client/src/js/views/OwnersDetail.jsx
+++ b/client/src/js/views/OwnersDetail.jsx
@@ -505,7 +505,7 @@ class OwnersDetail extends React.Component {
- {owner.cglCompanyName}
+ {owner.cglCompany}
diff --git a/client/src/js/views/dialogs/OwnersPolicyEditDialog.jsx b/client/src/js/views/dialogs/OwnersPolicyEditDialog.jsx
index b9315656..e3d0f387 100644
--- a/client/src/js/views/dialogs/OwnersPolicyEditDialog.jsx
+++ b/client/src/js/views/dialogs/OwnersPolicyEditDialog.jsx
@@ -29,7 +29,7 @@ class OwnersPolicyEditDialog extends React.Component {
this.state = {
workSafeBCPolicyNumber: owner.workSafeBCPolicyNumber || '',
workSafeBCExpiryDate: owner.workSafeBCExpiryDate || '',
- cglCompanyName: owner.cglCompanyName || '',
+ cglCompany: owner.cglCompany || '',
cglPolicyNumber: owner.cglPolicyNumber || '',
cglEndDate: owner.cglEndDate || '',
@@ -52,7 +52,7 @@ class OwnersPolicyEditDialog extends React.Component {
if (this.state.workSafeBCExpiryDate !== owner.workSafeBCExpiryDate) {
return true;
}
- if (this.state.cglCompanyName !== owner.cglCompanyName) {
+ if (this.state.cglCompany !== owner.cglCompany) {
return true;
}
if (this.state.cglPolicyNumber !== owner.cglPolicyNumber) {
@@ -99,7 +99,7 @@ class OwnersPolicyEditDialog extends React.Component {
...this.props.owner,
workSafeBCPolicyNumber: this.state.workSafeBCPolicyNumber,
workSafeBCExpiryDate: toZuluTime(this.state.workSafeBCExpiryDate),
- cglCompanyName: this.state.cglCompanyName,
+ cglCompany: this.state.cglCompany,
cglPolicyNumber: this.state.cglPolicyNumber,
cglEndDate: toZuluTime(this.state.cglEndDate),
};
@@ -155,11 +155,11 @@ class OwnersPolicyEditDialog extends React.Component {
-
+
CGL Insurance Company