@extends('admin.layouts.main') @section('title') Employee - Payroll @endsection @section('content')
@include("admin.common.sidebar")
@include('payroll::employee_payroll.modules.store.common.form-step')
@csrf

{{ @trans('payroll.employment_details') }}

@if($errors->has('reference_id')) {{ $errors->first('reference_id') }} @endif
ic-attachment
@if(isset($employeeContracrDetails->upload_document_id) && $employeeContracrDetails->upload_document_id) {{ $employeeContracrDetails->upload_document_id->file_name }} @else @endif
date_range
date_range
date_range
date_range

{{ @trans('payroll.leave') }}

@foreach($companyLeaveTypesQuota as $key => $item) @php $leaveDetails = checkGenderSpecificLeave($item->leave_type); $isGenderSpecificLeave = $leaveDetails['is_gender_specific_leave']; $maleSpecificLeave = $leaveDetails['is_male_specific_leave']; $femaleSpecificLeave = $leaveDetails['is_female_specific_leave']; @endphp @if ($isGenderSpecificLeave) @if ($maleSpecificLeave && $employeeContracrDetails->userProfile->gender == 'female') @continue @endif @if ($femaleSpecificLeave && $employeeContracrDetails->userProfile->gender == 'male') @continue @endif @endif
@endforeach

{{ @trans('payroll.retirement') }}

date_range
@if (isset($edit) && $edit == true) @if(Session::get('panel') == 'payroll-admin') @else @endif
@else @if(Session::get('panel') == 'payroll-admin')
@else
@endif @endif
@endsection @push('pageJs') {!! JsValidator::formRequest('Modules\Payroll\Http\Requests\StoreEmployeeContractsRequest', '#employeeContractsDetails') !!} @endpush @push('pageCss') @endpush