remove required email add customer

main
nocode 1 year ago
parent d1e54e90c4
commit f85404858a
  1. 2
      Modules/Agents/Services/AgentService.php

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

Loading…
Cancel
Save