@ -109,7 +109,7 @@ class AgentService
;
}
// dd($queryAgent->toSql(),$queryAgent->getBindings());
$listCustomer = $queryAgent->orderBy('name', 'asc')->get();
$listCustomer = $queryAgent->orderBy('created_at', 'desc')->get();
if (!empty($listCustomer)) {
foreach ($listCustomer as $listC) {
$finalAgentData[] = [