@php $option="Save"; $seniority_no=""; $cadre_code=''; @endphp @if(!empty($empEosdata)) @if(count($empEosdata)>0) @php $option="Update"; @endphp @endif @endif @if(!empty($hrmsUserSeniority_c)) @if(count($hrmsUserSeniority_c)>0) @foreach($hrmsUserSeniority_c as $item) @php if($item->cadre_code!='') $cadre_code=$item->cadre_code; else $cadre_code=""; if($item->seniority_no!='') $seniority_no=$item->seniority_no; else $seniority_no=""; @endphp @endforeach @endif @endif @if(!empty($empDetailsData)) @if(count($empDetailsData)>0) @foreach($empDetailsData as $item) @php $data["id"]=$item->id; $data["employeeId"]=$item->user_code; $data["employeeName"]=$item->name; $data["mobile"]=$item->mobile; $data["email"]=$item->email; $data["relation"]=$item->relation; $data["employeeRelName"]=$item->relation_name; if($item->dob!='') $data["dob"]=date('d/m/Y',strtotime($item->dob)); else $data["dob"]=''; @endphp @endforeach @endif @endif @php $data["retirementmode"]=''; $data["order_no"]=''; $data["remarks"]=''; $data["display"]=''; $data["eos_date"]=''; $data["order_date"]=''; @endphp @if(Session::has('error')) {{Session::get('error')}} @endif @csrf Seniority User ID* @error('employeeId') {{ $message }} @enderror Cadre* Select Mode @foreach ($masterCadre as $key => $value) {{ $value }} @endforeach @error('cadre') {{ $message }} @enderror Seniority No. @error('seniorityNo') {{ $message }} @enderror From Date* @error('fromDate') {{ $message }} @enderror To Date @error('toDate') {{ $message }} @enderror Order No. @error('orderNo') {{ $message }} @enderror Order Date @error('orderDate') {{ $message }} @enderror Remarks {{ $data["remarks"] }} @error('remarks') {{ $message }} @enderror Update Cancel Save @if(!empty($hrmsUserSeniority)) @if(count($hrmsUserSeniority)>0) @php $sno=0; @endphp Seniority Details SNo. Cadre Seniority No. From To Order No. Order Date Remark @foreach($hrmsUserSeniority as $item_s) @php $sno++; @endphp @endforeach @endif @endif