From a867dba8e23863383d1a28329402642e7e194caa Mon Sep 17 00:00:00 2001 From: nocode Date: Fri, 19 Jul 2024 11:22:03 +0700 Subject: [PATCH] FIX date 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 126f53e..afb936a 100644 --- a/Modules/Agents/Services/AgentService.php +++ b/Modules/Agents/Services/AgentService.php @@ -212,7 +212,7 @@ class AgentService continue; // skip } if (!empty($input['agents_code'])) { // if existing up_geant - if (strtolower($vAgent->code) != strtolower($input['agents_code'])) + if (strtolower($vByAgent->code) != strtolower($input['agents_code'])) continue; // skip } $finalDataTemp[] = [