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
694630b5
authored
2023-11-22 14:35:17 -0500
by
Jeremy Groot
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
personal line team leaders
1 parent
69b9ca6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
wp-content/themes/commonwell-broker/templates/broker_sidebar.php
wp-content/themes/commonwell-broker/templates/broker_sidebar.php
View file @
694630b
...
...
@@ -2,6 +2,7 @@
$individual_assignments
=
get_field
(
'assignments'
,
'option'
);
$user_broker_id
=
get_user_meta
(
get_current_user_id
(),
'broker_id'
,
true
);
// var_dump($user_broker_id);exit;
$farm_team_1
=
get_field
(
'farm_1'
,
'option'
);
...
...
@@ -9,7 +10,7 @@
$commercial_team_1
=
get_field
(
'comm_1'
,
'option'
);
$commercial_team_2
=
get_field
(
'comm_2'
,
'option'
);
$commercial_team_3
=
get_field
(
'comm_3'
,
'option'
);
// var_dump($commercial_team_
2
);exit;
// var_dump($commercial_team_
3
);exit;
$assignment_arr
=
[[
'indep'
=>
[],
'personal'
=>
[],
'farm'
=>
[],
'commercial'
=>
[]]];
...
...
@@ -292,7 +293,7 @@
<div
class=
"accordian"
>
<div
class=
"accordian_head"
>
<div
class=
"accordian_toggler"
></div>
<span
class=
"accordian_title"
>
<?=
__
(
'Personal'
)
?>
</span>
<span
class=
"accordian_title"
>
<?=
__
(
'Personal
Lines
'
)
?>
</span>
</div>
<div
class=
"accordian_body "
>
<?php
...
...
@@ -321,6 +322,13 @@
<ul>
<?php
foreach
(
$team_leaders
as
$tl
)
{
?>
<li>
<?=
$tl
[
'full_name'
]
?>
</li>
<?php
if
(
!
empty
(
$tl
[
'email'
]))
{
?>
<li><a
href=
'mailto:
<?=
$tl
[
'email'
]
?>
'
>
<?=
$tl
[
'email'
]
?>
</a></li>
<?php
}
?>
<?php
if
(
!
empty
(
$tl
[
'phone'
]))
{
?>
<li>
<?=
$tl
[
'phone'
]
?>
</li>
<?php
}
?>
<li></li>
<?php
}
?>
</ul>
</address>
...
...
Please
register
or
sign in
to post a comment