From 2116f345039cb05ecfa7c9ccab79b75f2127f133 Mon Sep 17 00:00:00 2001 From: nocode Date: Thu, 18 Jul 2024 16:33:36 +0700 Subject: [PATCH] remove required email add customer --- Modules/Agents/Services/AgentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Agents/Services/AgentService.php b/Modules/Agents/Services/AgentService.php index 777d7e9..2fbc39e 100644 --- a/Modules/Agents/Services/AgentService.php +++ b/Modules/Agents/Services/AgentService.php @@ -71,7 +71,7 @@ class AgentService $idAgentInsert = $agentIdBelonging; }else{ $idAgentInsert = $agentId; - $this->modelCustomer->byPhone($dataInput['phone'])->notAgent($agentId)->delete(); + // $this->modelCustomer->byPhone($dataInput['phone'])->notAgent($agentId)->delete(); } $dataInsert['agent_id'] = $agentIdBelonging; $this->modelCustomer->insert($dataInsert);