refactor(vtiger-crm): update field names and keys
This commit is contained in:
@@ -14,11 +14,11 @@ export default defineAction({
|
||||
startDateAndTime,
|
||||
dueDate,
|
||||
stage,
|
||||
contactName,
|
||||
contactId,
|
||||
priority,
|
||||
sendNotification,
|
||||
location,
|
||||
recordCurrency,
|
||||
recordCurrencyId,
|
||||
milestone,
|
||||
previousTask,
|
||||
parentTask,
|
||||
@@ -26,14 +26,14 @@ export default defineAction({
|
||||
skippedReason,
|
||||
estimate,
|
||||
relatedTask,
|
||||
projectName,
|
||||
organizationName,
|
||||
projectId,
|
||||
organizationId,
|
||||
sendEmailReminderBefore,
|
||||
description,
|
||||
isBillable,
|
||||
service,
|
||||
rate,
|
||||
slaName,
|
||||
slaId,
|
||||
} = $.step.parameters;
|
||||
|
||||
const elementData = {
|
||||
@@ -42,11 +42,11 @@ export default defineAction({
|
||||
date_start: startDateAndTime,
|
||||
due_date: dueDate,
|
||||
taskstatus: stage,
|
||||
contact_id: contactName,
|
||||
contact_id: contactId,
|
||||
taskpriority: priority,
|
||||
sendnotification: sendNotification,
|
||||
location: location,
|
||||
record_currency_id: recordCurrency,
|
||||
record_currency_id: recordCurrencyId,
|
||||
milestone: milestone,
|
||||
dependent_on: previousTask,
|
||||
parent_task: parentTask,
|
||||
@@ -54,14 +54,14 @@ export default defineAction({
|
||||
skipped_reason: skippedReason,
|
||||
estimate: estimate,
|
||||
related_task: relatedTask,
|
||||
related_project: projectName,
|
||||
account_id: organizationName,
|
||||
related_project: projectId,
|
||||
account_id: organizationId,
|
||||
reminder_time: sendEmailReminderBefore,
|
||||
description: description,
|
||||
is_billable: isBillable,
|
||||
billing_service: service,
|
||||
rate: rate,
|
||||
slaid: slaName,
|
||||
slaid: slaId,
|
||||
};
|
||||
|
||||
const body = {
|
||||
|
Reference in New Issue
Block a user