@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
@if(Session::has('error'))
{{Session::get('error')}}
@endif
@csrf

Posting

@error('employeeId') {{ $message }} @enderror
@error('estbCode') {{ $message }} @enderror
@error('sectionCode') {{ $message }} @enderror
@error('postCode') {{ $message }} @enderror
@error('fromDate') {{ $message }} @enderror
@error('toDate') {{ $message }} @enderror
@error('orderNo') {{ $message }} @enderror
@error('orderDate') {{ $message }} @enderror
@error('remarks') {{ $message }} @enderror
@if(!empty($empPostingdata)) @if(count($empPostingdata)>0)

Posting Details

@foreach($empPostingdata as $postdata) @endforeach
SN Post Establishment Section Joining Date Relieving Date Order No. & Date Remarks Action
{{$loop->iteration}} {{ $postdata->post_name }} () {{ $postdata->section_name }} @if($postdata->join_date!='') {{ \Carbon\Carbon::parse($postdata->join_date)->format('d/m/Y') }} @endif @if($postdata->releaving_date!='') {{ \Carbon\Carbon::parse($postdata->releaving_date)->format('d/m/Y') }} @endif {{ $postdata->order_no }} @if($postdata->order_date!='')
{{ \Carbon\Carbon::parse($postdata->order_date)->format('d/m/Y') }} @endif
{{ $postdata->remark }} @if($postdata->sec_code==$sec_code && ($postdata->releaving_date=='' || $loop->iteration=count($empPostingdata))) @endif
@endif @endif