remove required email add customer

main
nocode 1 year ago
parent 82aed95d58
commit 2116f34503
  1. 2
      Modules/Agents/Services/AgentService.php

@ -71,7 +71,7 @@ class AgentService
$idAgentInsert = $agentIdBelonging; $idAgentInsert = $agentIdBelonging;
}else{ }else{
$idAgentInsert = $agentId; $idAgentInsert = $agentId;
$this->modelCustomer->byPhone($dataInput['phone'])->notAgent($agentId)->delete(); // $this->modelCustomer->byPhone($dataInput['phone'])->notAgent($agentId)->delete();
} }
$dataInsert['agent_id'] = $agentIdBelonging; $dataInsert['agent_id'] = $agentIdBelonging;
$this->modelCustomer->insert($dataInsert); $this->modelCustomer->insert($dataInsert);

Loading…
Cancel
Save