Hey guys,
Trying to make a php function for my Agents Tab. Basically need it to do the following
[IF({agent[contains(.,'john-doe')]})]
//make agents
contains "John Doe Manager"
[ELSEIF({agent[contains(.,'penny-doe')]})]
//make agents
contains "Penny Doe Assistance manager"
[ENDIF]
Is this the right way to go about it?