@php $steps = (new \App\Helpers\GlobalApp())->stepsPeriodsUser(Auth::user()->id, $period->id); $consultant = Auth::user()->hasRole('consultant') ? '-consultant' : ''; //dd($steps); //dd(in_array(1,$steps)); @endphp @if (in_array(0, $steps)) Step @endif @if (in_array(1, $steps)) Step @endif @if (in_array(2, $steps)) Step @endif @if (in_array(3, $steps)) Step @endif @if (in_array(4, $steps)) Step @endif @if (in_array(5, $steps)) Step @endif @if (in_array(6, $steps)) Step @endif @if (in_array(7, $steps)) Step @endif @if (in_array(8, $steps)) Step @endif @if (in_array(9, $steps)) Step @endif @if (in_array(10, $steps)) Step @endif