@php
$closeaccordiandiv=1;
@endphp
@endif
@if($opentab==0)
@php
$newpanelt=1;
$oldtab=0;
$firstflagt=0;
$tablinkid=1;
$activetab=0;
$activeflag="";
$ariaSelected="";
$tabshow=0;
$tabshowval="active show";
$newpanelname="";
$newpaneltype="";
@endphp
@foreach($header as $fieldList2)
@if($activetab==0)
@php
$activeflag="active";
$ariaSelected="true";
$activetab=1;
@endphp
@endif
@foreach($panelList as $newpanel)
@php
if($fieldList2['PanelId']==$newpanel->DisplayPanelId)
{
$newpanelname=$newpanel->PanelName;
$newpaneltype=$newpanel->PanelType;
}
@endphp
@endforeach
@if($fieldList2['PanelId']!=$oldtab && $newpaneltype==1)
-
{{$newpanelname}}
@php
$activeflag="";
$ariaSelected="false";
$tablinkid++;
@endphp
@endif
@php
$oldtab=$fieldList2['PanelId'];
@endphp
@endforeach
@php
$opentab=1;
@endphp
@endif
@if($closetabcontent==1)
@endif
@if($tabshow==0)
@php
$tabshow=1;
$tabshowval="";
@endphp
@endif
@php
$tabdiv++;
$closetabcontent=1;
@endphp
@endif
@php
$oldpanel=$fieldList['PanelId'];
@endphp
@if($DisplayType == '10')
@else
@if($loopcount == 3)
@php
$loopcount=1;
$closediv = 0;
@endphp
@else
@php
$loopcount = $loopcount+1;
$closediv = 1;
@endphp
@endif
@php
$loopcount++;
$i++;
@endphp
@endforeach
@if($closediv == 1)
@endif
@if($closeaccordiandiv==0)