@extends('layouts.adminapp') @section('title') {{__('lng.Employee')}} - {{__('lng.Edit')}} @endsection @section('active_payroll', 'active') @section('open_payroll', 'open') @section('active_employee', 'active') @section('content')

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

@csrf @method('patch')
{{__('lng.EditEmployee')}}
@error('name')
{{ $message }}
@enderror
@if ($Employee->dob) @php $DOBDT = date("Y-m-d",strtotime($Employee->dob)); @endphp @else @endif
@error('mobile')
{{ $message }}
@enderror
@if ($Employee->joining_date) @php $DOJDT = date("Y-m-d",strtotime($Employee->joining_date)); @endphp @else @endif
avatar
@if ($Employee->passport_expiry_date) @php $PEDT = date("Y-m-d",strtotime($Employee->passport_expiry_date)); @endphp @else @endif
@if ($Employee->labour_card_expiry_date) @php $LCDT = date("Y-m-d",strtotime($Employee->labour_card_expiry_date)); @endphp @else @endif
@if ($Employee->visa_expiry_date) @php $VDT = date("Y-m-d",strtotime($Employee->visa_expiry_date)); @endphp @else @endif
@endsection