Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Commonwell
/
broker-site
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a91fe2c3
authored
2023-11-15 16:30:58 -0500
by
Jeremy Groot
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix to broker sidebar
1 parent
70fc07a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
wp-content/themes/commonwell-broker/templates/broker_sidebar.php
wp-content/themes/commonwell-broker/templates/broker_sidebar.php
View file @
a91fe2c
...
...
@@ -8,6 +8,7 @@
$farm_team_2
=
get_field
(
'farm_team_2'
,
'option'
);
$commercial_team_1
=
get_field
(
'commercial_team_1'
,
'option'
);
$commercial_team_2
=
get_field
(
'commercial_team_2'
,
'option'
);
$commercial_team_3
=
get_field
(
'commercial_team_3'
,
'option'
);
$assignment_arr
=
[[
'indep'
=>
[],
'personal'
=>
[],
'farm'
=>
[],
'commercial'
=>
[]]];
...
...
@@ -119,6 +120,12 @@
fillStaffContact
(
$assignment_arr
,
'farm'
,
[
'label'
=>
''
,
'title'
=>
"Field Underwriter"
,
'full_name'
=>
$full_name
,
'email'
=>
$email
,
'phone'
=>
$phone
]);
}
else
if
(
$sub_cat
&&
strpos
(
strtolower
(
$sub_cat
[
'value'
]),
'leader'
)
!==
false
)
{
//General Contact
fillStaffContact
(
$assignment_arr
,
'farm'
,
[
'label'
=>
''
,
'title'
=>
"Team Leader"
,
'full_name'
=>
$full_name
,
'email'
=>
$email
,
'phone'
=>
$phone
]);
}
else
{
//General Contact
...
...
Please
register
or
sign in
to post a comment