🔨 Resort emails and phones for contact

This commit is contained in:
Iván Ovejero 2021-06-16 16:07:31 +02:00
parent 276a78209f
commit 01956caf34

View file

@ -98,13 +98,6 @@ export const contactFields = [
default: '', default: '',
description: 'Name of the contacts assistant.', description: 'Name of the contacts assistant.',
}, },
{
displayName: 'Assistants Phone',
name: 'Asst_Phone',
type: 'string',
default: '',
description: 'Phone number of the contacts assistant.',
},
makeCustomFieldsFixedCollection('contact'), makeCustomFieldsFixedCollection('contact'),
{ {
displayName: 'Date of Birth', displayName: 'Date of Birth',
@ -126,11 +119,17 @@ export const contactFields = [
default: '', default: '',
}, },
{ {
displayName: 'Email', displayName: 'Email (Primary)',
name: 'Email', name: 'Email',
type: 'string', type: 'string',
default: '', default: '',
}, },
{
displayName: 'Email (Secondary)',
name: 'Secondary_Email',
type: 'string',
default: '',
},
{ {
displayName: 'Fax', displayName: 'Fax',
name: 'Fax', name: 'Fax',
@ -149,12 +148,6 @@ export const contactFields = [
type: 'string', type: 'string',
default: '', default: '',
}, },
{
displayName: 'Home Phone',
name: 'Home_Phone',
type: 'string',
default: '',
},
mailingAddress, mailingAddress,
{ {
displayName: 'Mobile', displayName: 'Mobile',
@ -163,12 +156,6 @@ export const contactFields = [
default: '', default: '',
}, },
otherAddress, otherAddress,
{
displayName: 'Other Phone',
name: 'Other_Phone',
type: 'string',
default: '',
},
{ {
displayName: 'Phone', displayName: 'Phone',
name: 'Phone', name: 'Phone',
@ -176,14 +163,27 @@ export const contactFields = [
default: '', default: '',
}, },
{ {
displayName: 'Salutation', displayName: 'Phone (Assistant)',
name: 'Salutation', name: 'Asst_Phone',
type: 'string',
default: '',
description: 'Phone number of the contacts assistant.',
},
{
displayName: 'Phone (Home)',
name: 'Home_Phone',
type: 'string', type: 'string',
default: '', default: '',
}, },
{ {
displayName: 'Secondary Email', displayName: 'Phone (Other)',
name: 'Secondary_Email', name: 'Other_Phone',
type: 'string',
default: '',
},
{
displayName: 'Salutation',
name: 'Salutation',
type: 'string', type: 'string',
default: '', default: '',
}, },
@ -253,13 +253,6 @@ export const contactFields = [
default: '', default: '',
description: 'Name of the contacts assistant.', description: 'Name of the contacts assistant.',
}, },
{
displayName: 'Assistants Phone',
name: 'Asst_Phone',
type: 'string',
default: '',
description: 'Phone number of the contacts assistant.',
},
makeCustomFieldsFixedCollection('contact'), makeCustomFieldsFixedCollection('contact'),
{ {
displayName: 'Date of Birth', displayName: 'Date of Birth',
@ -281,12 +274,18 @@ export const contactFields = [
default: '', default: '',
}, },
{ {
displayName: 'Email', displayName: 'Email (Primary)',
name: 'Email', name: 'Email',
type: 'string', type: 'string',
default: '', default: '',
description: 'Email of the contact. If a record with this email exists it will be updated, otherwise a new one will be created.', description: 'Email of the contact. If a record with this email exists it will be updated, otherwise a new one will be created.',
}, },
{
displayName: 'Email (Secondary)',
name: 'Secondary_Email',
type: 'string',
default: '',
},
{ {
displayName: 'Fax', displayName: 'Fax',
name: 'Fax', name: 'Fax',
@ -305,12 +304,6 @@ export const contactFields = [
type: 'string', type: 'string',
default: '', default: '',
}, },
{
displayName: 'Home Phone',
name: 'Home_Phone',
type: 'string',
default: '',
},
mailingAddress, mailingAddress,
{ {
displayName: 'Mobile', displayName: 'Mobile',
@ -319,12 +312,6 @@ export const contactFields = [
default: '', default: '',
}, },
otherAddress, otherAddress,
{
displayName: 'Other Phone',
name: 'Other_Phone',
type: 'string',
default: '',
},
{ {
displayName: 'Phone', displayName: 'Phone',
name: 'Phone', name: 'Phone',
@ -332,14 +319,27 @@ export const contactFields = [
default: '', default: '',
}, },
{ {
displayName: 'Salutation', displayName: 'Phone (Assistant)',
name: 'Salutation', name: 'Asst_Phone',
type: 'string',
default: '',
description: 'Phone number of the contacts assistant.',
},
{
displayName: 'Phone (Home)',
name: 'Home_Phone',
type: 'string', type: 'string',
default: '', default: '',
}, },
{ {
displayName: 'Secondary Email', displayName: 'Phone (Other)',
name: 'Secondary_Email', name: 'Other_Phone',
type: 'string',
default: '',
},
{
displayName: 'Salutation',
name: 'Salutation',
type: 'string', type: 'string',
default: '', default: '',
}, },
@ -492,11 +492,17 @@ export const contactFields = [
default: '', default: '',
}, },
{ {
displayName: 'Email', displayName: 'Email (Primary)',
name: 'Email', name: 'Email',
type: 'string', type: 'string',
default: '', default: '',
}, },
{
displayName: 'Email (Secondary)',
name: 'Secondary_Email',
type: 'string',
default: '',
},
{ {
displayName: 'Fax', displayName: 'Fax',
name: 'Fax', name: 'Fax',
@ -553,12 +559,6 @@ export const contactFields = [
type: 'string', type: 'string',
default: '', default: '',
}, },
{
displayName: 'Secondary Email',
name: 'Secondary_Email',
type: 'string',
default: '',
},
{ {
displayName: 'Skype ID', displayName: 'Skype ID',
name: 'Skype_ID', name: 'Skype_ID',