Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sales hud for Lead form #10

Merged
merged 17 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"data": {
"type": "card",
"attributes": {
"name": {
"salutation": "Mr.",
"firstName": "Loo",
"lastName": "Mok Sun"
},
"company": "Loo Holding",
"title": "Title Here",
"website": "www.loobholding.com",
"description": "Description Here",
"leadStatus": "New",
"phone": "0109090000",
"email": "loobholding@xxxx.com",
"addressInfo": {
"address": "14, Jalan Teknologi, Taman Sains",
"zip": "47810",
"city": "Petaling Jaya",
"state": "Selangor",
"country": "Malaysia",
"countryCode": "MY",
"stateCode": "10"
},
"noOfEmployees": 500.5,
"annualRevenue": {
"currency": "RM",
"totalAmount": 150300
},
"leadSource": "Advertisement",
"industry": "Banking",
"thumbnailURL": null
},
"relationships": {
"leadOwner": {
"links": {
"self": "../MatrixUser/e65ae338-64a1-4a97-9ae8-9b9e773a7095"
}
}
},
"meta": {
"adoptsFrom": {
"module": "../lead-form",
"name": "LeadForm"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"data": {
"type": "card",
"attributes": {
"name": {
"salutation": "Mr.",
"firstName": "Chow",
"lastName": "Chow "
},
"company": "Chow Holding",
"title": "Lead Form - Chow Chow",
"website": "www.chow.com",
"description": "Description Here",
"leadStatus": "Qualified",
"phone": "0109090000",
"email": "chow@xxxx.com",
"addressInfo": {
"address": "14, Jalan Teknologi, Taman Sains",
"zip": "47810",
"city": "Petaling Jaya",
"state": "Selangor",
"country": "Malaysia",
"countryCode": "MY",
"stateCode": "10"
},
"noOfEmployees": 49.8,
"annualRevenue": {
"currency": "RM",
"totalAmount": 12000000
},
"leadSource": "Employee Referral",
"industry": "Banking",
"thumbnailURL": null
},
"relationships": {
"leadOwner": {
"links": {
"self": "../CardDef/7298c9c6-2964-41a0-87f7-42127a16e12b"
}
}
},
"meta": {
"adoptsFrom": {
"module": "../lead-form",
"name": "LeadForm"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"data": {
"type": "card",
"attributes": {
"username": "law bom bom",
"email": {
"value": "lawbombom@gmail.com"
},
"description": null,
"thumbnailURL": null
},
"meta": {
"adoptsFrom": {
"module": "../matrix-user",
"name": "MatrixUser"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"type": "card",
"attributes": {
"opportunityName": "Opportunity Name",
"companyName": "",
"closeDate": "2024-06-13",
"amount": {
"currency": "RM",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
{
"data": {
"type": "card",
"attributes": {
"targetPage": "Account Form",
"leadForm": {
"name": {
"salutation": "Mr.",
"firstName": "Law",
"lastName": "Bom Bom"
},
"company": "lawbombom",
"title": "Lead Form - lawbombom",
"website": "lawbom.com",
"description": "this is lead-form",
"leadStatus": "Qualified",
"phone": "010381997",
"email": "lawbombom@gmail.com",
"addressInfo": {
"address": "14, Jalan Teknologi, Taman Sains",
"zip": "47810",
"city": "Petaling Jaya",
"state": "Selangor",
"country": "Malaysia",
"countryCode": "MY",
"stateCode": "10"
},
"noOfEmployees": 10,
"annualRevenue": {
"currency": "RM",
"totalAmount": 125000
},
"leadSource": "Advertisement",
"industry": "Agriculture"
},
"accountForm": {
"accountName": "Mr. Law Bom Bom",
"accountAlias": null,
"description": null,
"contactInformation": {
"salutation": "Mr.",
"firstName": "Law",
"lastName": "Bom Bom",
"address": {
"streetAddress": null,
"city": null,
"region": null,
"postalCode": null,
"poBoxNumber": null,
"country": null
},
"phoneNumber": {
"country": null,
"area": null,
"number": null
},
"email": {
"value": null
},
"website": {
"value": null
}
},
"billingAddress": {
"streetAddress": null,
"city": null,
"region": null,
"postalCode": null,
"poBoxNumber": null,
"country": null
},
"numberOfEmployees": null
},
"contactForm": {
"title": null,
"name": {
"salutation": "Mr.",
"firstName": "Law",
"lastName": "Bom Bom"
},
"email": null,
"phone": null,
"fax": null,
"department": null,
"addressInfo": {
"address": null,
"zip": null,
"city": null,
"state": null,
"country": null,
"countryCode": null,
"stateCode": null
}
},
"opportunityForm": {
"opportunityName": null,
"companyName": "Law lawbombom",
"closeDate": null,
"amount": {
"currency": null,
"totalAmount": null
},
"description": null,
"stage": null,
"percentage": null,
"forecastCategory": null
},
"scheduledTask": [
{
"taskForm": {
"taskId": "0",
"subject": "1",
"dueDate": "2024-06-29",
"comments": null,
"isCompleted": false
}
},
{
"taskForm": {
"taskId": "1",
"subject": "task b",
"dueDate": "2024-06-27",
"comments": null,
"isCompleted": true
}
},
{
"taskForm": {
"taskId": "2",
"subject": "task ccc",
"dueDate": "2024-06-30",
"comments": null,
"isCompleted": false
}
},
{
"taskForm": {
"taskId": "3",
"subject": "task xx",
"dueDate": "2024-07-03",
"comments": null,
"isCompleted": false
}
},
{
"taskForm": {
"taskId": null,
"subject": null,
"dueDate": "2024-06-30",
"comments": null,
"isCompleted": false
}
}
],
"convertedStatus": "Qualified",
"isLeadFormConverted": true,
"title": null,
"description": null,
"thumbnailURL": null
},
"relationships": {
"leadForm.leadOwner": {
"links": {
"self": "http://localhost:4201/drafts/MatrixUser/e65ae338-64a1-4a97-9ae8-9b9e773a7095"
}
},
"accountForm.owner": {
"links": {
"self": null
}
},
"accountForm.parentAccount": {
"links": {
"self": null
}
},
"accountForm.company": {
"links": {
"self": null
}
},
"opportunityForm.accountName": {
"links": {
"self": null
}
},
"scheduledTask.0.taskForm.relatedTo": {
"links": {
"self": "http://localhost:4201/drafts/CardDef/7298c9c6-2964-41a0-87f7-42127a16e12b"
}
},
"scheduledTask.1.taskForm.relatedTo": {
"links": {
"self": "http://localhost:4201/drafts/CrmAccount/4802eeed-bec6-4d7a-8f05-6370866edd40"
}
},
"scheduledTask.2.taskForm.relatedTo": {
"links": {
"self": null
}
},
"scheduledTask.3.taskForm.relatedTo": {
"links": {
"self": "http://localhost:4201/drafts/CardDef/992531db-9912-49eb-9b72-f710cbcdb085"
}
},
"scheduledTask.4.taskForm.relatedTo": {
"links": {
"self": null
}
},
"recordOwner": {
"links": {
"self": "../MatrixUser/e65ae338-64a1-4a97-9ae8-9b9e773a7095"
}
}
},
"meta": {
"adoptsFrom": {
"module": "../sale-hub",
"name": "SaleHub"
}
}
}
}
Loading
Loading