🔨 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: '',
description: 'Name of the contacts assistant.',
},
{
displayName: 'Assistants Phone',
name: 'Asst_Phone',
type: 'string',
default: '',
description: 'Phone number of the contacts assistant.',
},
makeCustomFieldsFixedCollection('contact'),
{
displayName: 'Date of Birth',
@ -126,11 +119,17 @@ export const contactFields = [
default: '',
},
{
displayName: 'Email',
displayName: 'Email (Primary)',
name: 'Email',
type: 'string',
default: '',
},
{
displayName: 'Email (Secondary)',
name: 'Secondary_Email',
type: 'string',
default: '',
},
{
displayName: 'Fax',
name: 'Fax',
@ -149,12 +148,6 @@ export const contactFields = [
type: 'string',
default: '',
},
{
displayName: 'Home Phone',
name: 'Home_Phone',
type: 'string',
default: '',
},
mailingAddress,
{
displayName: 'Mobile',
@ -163,12 +156,6 @@ export const contactFields = [
default: '',
},
otherAddress,
{
displayName: 'Other Phone',
name: 'Other_Phone',
type: 'string',
default: '',
},
{
displayName: 'Phone',
name: 'Phone',
@ -176,14 +163,27 @@ export const contactFields = [
default: '',
},
{
displayName: 'Salutation',
name: 'Salutation',
displayName: 'Phone (Assistant)',
name: 'Asst_Phone',
type: 'string',
default: '',
description: 'Phone number of the contacts assistant.',
},
{
displayName: 'Phone (Home)',
name: 'Home_Phone',
type: 'string',
default: '',
},
{
displayName: 'Secondary Email',
name: 'Secondary_Email',
displayName: 'Phone (Other)',
name: 'Other_Phone',
type: 'string',
default: '',
},
{
displayName: 'Salutation',
name: 'Salutation',
type: 'string',
default: '',
},
@ -253,13 +253,6 @@ export const contactFields = [
default: '',
description: 'Name of the contacts assistant.',
},
{
displayName: 'Assistants Phone',
name: 'Asst_Phone',
type: 'string',
default: '',
description: 'Phone number of the contacts assistant.',
},
makeCustomFieldsFixedCollection('contact'),
{
displayName: 'Date of Birth',
@ -281,12 +274,18 @@ export const contactFields = [
default: '',
},
{
displayName: 'Email',
displayName: 'Email (Primary)',
name: 'Email',
type: 'string',
default: '',
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',
name: 'Fax',
@ -305,12 +304,6 @@ export const contactFields = [
type: 'string',
default: '',
},
{
displayName: 'Home Phone',
name: 'Home_Phone',
type: 'string',
default: '',
},
mailingAddress,
{
displayName: 'Mobile',
@ -319,12 +312,6 @@ export const contactFields = [
default: '',
},
otherAddress,
{
displayName: 'Other Phone',
name: 'Other_Phone',
type: 'string',
default: '',
},
{
displayName: 'Phone',
name: 'Phone',
@ -332,14 +319,27 @@ export const contactFields = [
default: '',
},
{
displayName: 'Salutation',
name: 'Salutation',
displayName: 'Phone (Assistant)',
name: 'Asst_Phone',
type: 'string',
default: '',
description: 'Phone number of the contacts assistant.',
},
{
displayName: 'Phone (Home)',
name: 'Home_Phone',
type: 'string',
default: '',
},
{
displayName: 'Secondary Email',
name: 'Secondary_Email',
displayName: 'Phone (Other)',
name: 'Other_Phone',
type: 'string',
default: '',
},
{
displayName: 'Salutation',
name: 'Salutation',
type: 'string',
default: '',
},
@ -492,11 +492,17 @@ export const contactFields = [
default: '',
},
{
displayName: 'Email',
displayName: 'Email (Primary)',
name: 'Email',
type: 'string',
default: '',
},
{
displayName: 'Email (Secondary)',
name: 'Secondary_Email',
type: 'string',
default: '',
},
{
displayName: 'Fax',
name: 'Fax',
@ -553,12 +559,6 @@ export const contactFields = [
type: 'string',
default: '',
},
{
displayName: 'Secondary Email',
name: 'Secondary_Email',
type: 'string',
default: '',
},
{
displayName: 'Skype ID',
name: 'Skype_ID',