remove required email add customer

main
nocode 1 year ago
parent 2f6fd9697e
commit 2f5425ed6a
  1. 3
      Modules/Agents/Services/AgentService.php

@ -268,7 +268,8 @@ class AgentService
//execute query get list
$listAgentGet = $myAgentDown->get();
$allAgentInGeneral = $this->modelAgentUser->byParentPath($agentId)->joinAgent()->get();
// get all by parent path with root
$allAgentInGeneral = $this->modelAgentUser->byParentPath($myAgent->agent_root_id)->joinAgent()->get();
$AgentById = [];
if(!empty($allAgentInGeneral)){
foreach($allAgentInGeneral as $vAgent){

Loading…
Cancel
Save