@php $month = date('m'); if($month > 3){ $cur_yr = date('Y'); $end_yr = $cur_yr + 1; } else{ $end_yr = date('Y'); $cur_yr = $end_yr - 1; } @endphp @if(Session::get('date') != null)

Employee Transition Tracker Of {{Session::get('date')-1}} - {{Session::get('date')}}

@else

Employee Transition Tracker Of {{$cur_yr}}-{{$end_yr}}

@endif
{{csrf_field()}}
@php $date = date("Y"); @endphp
@if(Session::get('date') != null)
@endif
@if(Session::get('type') == 'joining_list') @else @endif @php $i=0 @endphp @foreach($employee_data as $r) @php $i = $i+1 @endphp @for($i=$i;$i<=count($employee_data);) @break @endfor @if(Session::get('type') == 'joining_list') @else @endif @endforeach
Sr No.
Employee ID
Employee Name
Department
Designation
Joining Date
Leaving Date
Exit reason
Exit Dues
{{$i}} {{$r->id}} {{$r->first_name}} {{$r->last_name}} {{$r->departments->department}} {{$r->domains->domain}} @php $date = date('d-m-Y',strtotime($r->joining_date)) @endphp {{$date}} @php $date = date('d-m-Y',strtotime($r->leaving_date)) @endphp {{$date}} {{$r->exit_reason}} {{$r->exit_dues}}
@include('components/footer')