@if(! empty($approve_entity_lists)) @foreach($approve_entity_lists as $val) @php $segment = request()->segment(2); // or adjust based on your route @endphp @endforeach @endif
Name Display Location Display Order Entity Type Entity Code Action
{{ $val->name }} {{ $val->display_location??"--" }} {{ $val->display_importance }} {{ $val->entity_type }} {{ $val->entity_code }}