@foreach($user as $customer) @php $customer['discount_c'] = numberFormat(@$customer->primary_group->group_data['disc_rate']); unset($customer->primary_group);@endphp
{{$customer->name}} {{$customer->phone}}
@endforeach