@extends('layouts.default') @section('title', 'Profile Page') @push('head') @endpush @section('content') @php $qdata=[]; @endphp @if(count($empPostingCurrentdata)>0) @foreach($empPostingCurrentdata as $item) @php $presentPost=$item->post_name; $presentSection=$item->section_name; @endphp @endforeach @else @php $presentPost=''; $presentSection=''; @endphp @endif @if(!empty($qualificationCurrData)) @if(count($qualificationCurrData)>0) @foreach($qualificationCurrData as $item1) @php $qdata[]=$item1->qualification_name; @endphp @endforeach @endif @endif @if(count($empDetailsData)>0) @foreach($empDetailsData as $item) @php $c_state_name = ucwords(strtolower(App\Models\Hrms\state_master::where('state_code','=',$item->c_state_code)->value('state_name_english'))); $c_district_name = ucwords(strtolower(App\Models\Hrms\district_master::where('district_code','=',$item->c_district_code)->value('district_name_english'))); $c_tehsil_name = ucwords(strtolower(App\Models\Hrms\sub_district_master::where('subdistrict_code','=',$item->c_subdistrict_code)->value('subdistrict_name_english'))); $c_village_name = ucwords(strtolower(App\Models\Hrms\village_master::where('village_code','=',$item->c_village_code)->value('village_name_english'))); $p_state_name = ucwords(strtolower(App\Models\Hrms\state_master::where('state_code','=',$item->p_state_code)->value('state_name_english'))); $p_district_name = ucwords(strtolower(App\Models\Hrms\district_master::where('district_code','=',$item->p_district_code)->value('district_name_english'))); $p_tehsil_name = ucwords(strtolower(App\Models\Hrms\sub_district_master::where('subdistrict_code','=',$item->p_subdistrict_code)->value('subdistrict_name_english'))); $p_village_name = ucwords(strtolower(App\Models\Hrms\village_master::where('village_code','=',$item->p_village_code)->value('village_name_english'))); @endphp
SN | Designation | Section | From Date | To Date | Order No. & Date | Remarks |
---|---|---|---|---|---|---|
{{$loop->iteration}} | {{ $postdata->post_name }} | {{ $postdata->section_name }} | @if($postdata->from_date!='') {{ \Carbon\Carbon::parse($postdata->from_date)->format('d/m/Y') }} @endif | @if($postdata->to_date!='') {{ \Carbon\Carbon::parse($postdata->to_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->remarks }} |
Employee is Empty
@endif @endsection