@php
$colour_image = DB::table('user_packages')->where('package_type','!=','product')->orderby('id','desc')
->where('user_id',$tree['right']['right1']
->child_id)
->first();
@endphp
@if ($colour_image)
@if ($colour_image->pv >= 10 && $colour_image->pv < 30)
 }})
@elseif($colour_image->pv >= 30 && $colour_image->pv < 60)
 }})
@elseif($colour_image->pv >= 60 && $colour_image->pv < 100)
 }})
@elseif($colour_image->pv >= 100 && $colour_image->pv < 250)
 }})
@elseif($colour_image->pv >= 250)
 }})
@else
 }})
@endif
@else
 }})
@endif
@php
$RUser_details6 = DB::table(
'users',
)
->where(
'user_id',
$tree['right']['right1']
->child_id,
)
->first();
@endphp
{{ $tree['right']['right1']->child_id }}
Name : {{ $RUser_details6->name }}
Leftx:
{{ $tree['usercount']['rightxlcount'] ?? 0 }}
Rightx:
{{ $tree['usercount']['rightxrcount'] ?? 0 }}