@php $option="Save"; @endphp @if(!empty($empEosdata)) @if(count($empEosdata)>0) @php $option="Update"; @endphp @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(!empty($empEosdata)) @if(count($empEosdata)>0) @foreach($empEosdata as $item) @php $data["retirementmode"]=$item->retirement_mode; $data["order_no"]=$item->order_no; $data["remarks"]=$item->remarks; $data["display"]=$item->display; if($item->eos_date!='') $data["eos_date"]=date('d/m/Y',strtotime($item->eos_date)); else $data["eos_date"]=''; if($item->order_date!='') $data["order_date"]=date('d/m/Y',strtotime($item->order_date)); else $data["order_date"]=''; @endphp @endforeach @endif @endif
@if(Session::has('error'))
{{Session::get('error')}}
@endif
@csrf

End of service

@error('employeeId') {{ $message }} @enderror
@error('eosMode') {{ $message }} @enderror
@error('eosDate') {{ $message }} @enderror
@error('orderNo') {{ $message }} @enderror
@error('orderDate') {{ $message }} @enderror
@error('remarks') {{ $message }} @enderror
@if($working_status=="working")
@endif