remove required email add customer

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

@ -194,7 +194,10 @@ class AgentService
if (strtolower($upGrant) != strtolower($input['up_grant']))
continue; // skip
}
if (!empty($input['agents_code'])) { // if existing up_geant
if (strtolower($vAgent->code) != strtolower($input['agents_code']))
continue; // skip
}
$finalDataTemp[] = [
'id' => $vByAgent->id ?? '',
'name' => $vByAgent->agent_name ?? '',

Loading…
Cancel
Save