@php $rand = 0; @endphp
@if(isset($employee->employee_promotion_higher_scale) && count($employee->employee_promotion_higher_scale) > 0)
@foreach($employee->employee_promotion_higher_scale as $data)
@if((int)$data->type == 2)
@php
$rand++;
@endphp
@endif
@endforeach
@else
@php($v = \request()->v)
@if(isset($v))
@php($e = (int)\request()->e)
@if(isset($e) && $e>0)
@php($data = App\Models\Employee_promotion_higher_scale::where('employee_id',$e)->orderBy('id','desc')->first())
@endif
@if(isset($data->id))
@else
@endif
@endif
@endif