@@ -54,7 +54,7 @@ public function getEntity(mixed $entity)
54
54
*/
55
55
public function getAttributes (string $ entityType , array $ skipAttributes = ['textarea ' , 'image ' , 'file ' , 'address ' ]): array
56
56
{
57
- return parent ::getAttributes ($ entityType , $ skipAttributes );
57
+ return parent ::getAttributes ($ entityType , $ skipAttributes );
58
58
}
59
59
60
60
/**
@@ -71,31 +71,25 @@ public function getActions(): array
71
71
'id ' => 'update_lead ' ,
72
72
'name ' => trans ('admin::app.settings.workflows.helpers.update-lead ' ),
73
73
'attributes ' => $ this ->getAttributes ('leads ' ),
74
- ],
75
- [
74
+ ], [
76
75
'id ' => 'update_person ' ,
77
76
'name ' => trans ('admin::app.settings.workflows.helpers.update-person ' ),
78
77
'attributes ' => $ this ->getAttributes ('persons ' ),
79
- ],
80
- [
78
+ ], [
81
79
'id ' => 'send_email_to_person ' ,
82
80
'name ' => trans ('admin::app.settings.workflows.helpers.send-email-to-person ' ),
83
81
'options ' => $ emailTemplates ,
84
- ],
85
- [
82
+ ], [
86
83
'id ' => 'send_email_to_sales_owner ' ,
87
84
'name ' => trans ('admin::app.settings.workflows.helpers.send-email-to-sales-owner ' ),
88
85
'options ' => $ emailTemplates ,
89
- ],
90
- [
86
+ ], [
91
87
'id ' => 'add_tag ' ,
92
88
'name ' => trans ('admin::app.settings.workflows.helpers.add-tag ' ),
93
- ],
94
- [
89
+ ], [
95
90
'id ' => 'add_note_as_activity ' ,
96
91
'name ' => trans ('admin::app.settings.workflows.helpers.add-note-as-activity ' ),
97
- ],
98
- [
92
+ ], [
99
93
'id ' => 'trigger_webhook ' ,
100
94
'name ' => trans ('admin::app.settings.workflows.helpers.add-webhook ' ),
101
95
'options ' => $ webhooksOptions ,
0 commit comments