You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/SettingsPa/Plugin.php
+46Lines changed: 46 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,52 @@ public function _init()
116
116
117
117
}, 10000);
118
118
119
+
// Adiciona a coluna "Divisão geográfica do responsável – RI" ao lado da coluna "País"
120
+
$app->hook('component(opportunity-registrations-table).additionalHeaders', function (&$defaultHeaders, &$default_select, &$available_fields) use ($app) {
121
+
$geoRiHeader = [
122
+
'text' => 'Divisão geográfica do responsável – RI',
123
+
'value' => 'owner?.geoRI',
124
+
'slug' => 'geoRI',
125
+
];
126
+
127
+
$insertPos = null;
128
+
foreach ($defaultHeadersas$i => $header) {
129
+
if (($header['value'] ?? null) === 'owner?.geoPais') {
0 commit comments