@foreach ($builder as $row) @php $row_active = true; if($row->is_disabled()){ $row_active = false; } $auth_view = $row->get_auth_view(); if($row_active && $auth_view !== 'all'){ if(!is_auth() && $auth_view == 'private'){ $row_active = false; } if(is_auth() && $auth_view == 'public'){ $row_active = false; } } if($row_active && get_network_status()){ if(!$row->have_network(get_current_network())){ $row_active = false; } } $auth = $row->get_auth(); if($row_active && $auth !== 'all'){ if(is_auth()){ if(is_customer() && $auth != 'customers'){ $row_active = false; } if(is_agent() && $auth != 'agents'){ $row_active = false; } } } @endphp @if($row_active)
get_id()))id="{{$row->get_id()}}"@endif class="row {{$row->get_row_class()}}" {{$row->get_row_data_atributes()}}> @get_template_part('page.pages.parts.column', null, ['columns' => $row->get_columns()])
@endif @endforeach