@extends('layouts.masterapp') @section('content') {{-- Account Group --}}

{{__('lng.Employees')}}

{{__('lng.Back')}}
{{--
{{__('lng.Employees')}}
--}}
@php $si=0; @endphp @foreach($Employees as $Employee) @php $DOB = date("m-d-Y",strtotime($Employee->dob)); $JoinDate = date("m-d-Y",strtotime($Employee->joining_date)); $Designation=DB::table($Master->db.'.designations')->where('id',$Employee->designation_id)->first(); $Designation=DB::table($Master->db.'.designations')->where('id',$Employee->designation_id)->first(); @endphp @endforeach
{{__('lng.SiNo')}} {{__('lng.Name')}} {{__('lng.Designation')}} {{__('lng.HouseName')}} {{__('lng.Phone')}} {{__('lng.Email')}} {{__('lng.Gender')}} {{__('lng.Place')}} {{__('lng.Post')}} {{__('lng.Pin')}} {{__('lng.District')}} {{__('lng.State')}} {{__('lng.MaritalStatus')}} {{__('lng.DOB')}} {{__('lng.Qualification')}} {{__('lng.JoinDate')}} {{__('lng.BloodGroup')}}
{{++$si}} {{$Employee->name}} {{$Designation->title}} {{$Employee->house}} {{$Employee->mobile}} {{$Employee->email}} {{$Employee->gender}} {{$Employee->place}} {{$Employee->post}} {{$Employee->pin}} {{$Employee->district}} {{$Employee->state}} {{$Employee->marital_status}} @if ($Employee->dob) {{$DOB}} @endif {{$Employee->qualification}} @if ($Employee->joining_date) {{$JoinDate}} @endif {{$Employee->blood_group}}

{{$Employees->count()}} {{__('lng.Items')}}

@endsection