@foreach($doctorAssistants as $haKey1=>$value)
@if($haKey1 > 4)
@continue;
@endif
@php
if($haKey1==0){
$border_curve1='border-curve-left';
}else if($haKey1==4){
$border_curve1='border-curve-right';
}else{
$border_curve1='border-curve';
}
@endphp
@endforeach
@foreach($doctorAssistants as $haKey=>$value)
@if($haKey==1)
@endif
@endforeach
@if($doctorAssistants && count($doctorAssistants)>5)
@foreach($doctorAssistants as $haKey3=>$value)
@if($haKey3 < 5 || $key3 > 9)
@continue;
@endif
@php
if($haKey3==5){
$border_curve2='border-curve-left';
}else if($haKey3==9){
$border_curve2='border-curve-right';
}else{
$border_curve2='border-curve';
}
@endphp
@endforeach
@endif
@foreach($doctorAssistants as $haKey4=>$value)
@if($haKey4 > 5)
@endif
@endforeach
@if($doctorAssistants && count($doctorAssistants) >8)
@foreach($doctorAssistants as $key5=>$doctorAssistants)
@if($haKey4 < 9 || $haKey4 > 14)
@continue;
@endif
@php
if($haKey4==10){
$border_curve3='border-curve-left';
}else if($haKey4==14){
$border_curve3='border-curve-right';
}else{
$border_curve3='border-curve';
}
@endphp
@endforeach
@endif
@foreach($doctorAssistants as $haKey6=>$value)
@if($haKey6 >= 10)
@endif
@endforeach