@extends('admin.layouts.layouts') @section('title', 'Employee CTC') @section('content')
@csrf
{{-- CTC to Offer --}}
{{ $errors->first('ctc_to_offer') }}
{{-- ABC (2% increase in CTC) --}}
{{ $errors->first('ctc_percentage') }}
{{ $errors->first('ctc_amount') }}
{{-- Variable Pay --}}
{{ $errors->first('variable_pay_type_value') }}
{{ $errors->first('variable_pay_amount') }}
{{-- Balance --}}
{{ $errors->first('balance_amount') }}
{{-- Basic Year --}}
{{ $errors->first('basic_year_type_value') }}
{{ $errors->first('basic_year_amount') }}
{{-- Basic Month --}}
{{ $errors->first('basic_month_amount') }}
{{-- Medical --}}
{{ $errors->first('medical_amount') }}
{{-- PT --}}
{{ $errors->first('pt_amount') }}
{{-- Employee PF --}}
{{ $errors->first('employee_pf_type_value') }}
{{ $errors->first('employee_pf_amount') }}
{{-- ESIC --}} {{-- HRA --}}
{{ $errors->first('hra_type_value') }}
{{ $errors->first('hra_amount') }}
{{-- Gratuity --}}
{{ $errors->first('gratuity_type_value') }}
{{ $errors->first('gratuity_amount') }}
{{-- Employer PF --}}
{{ $errors->first('employer_pf_type_value') }}
{{ $errors->first('employer_pf_amount') }}
{{-- Total --}}
{{ $errors->first('total_amount') }}
{{-- Special All --}}
{{ $errors->first('special_all') }}
{{-- Annual Package --}}
{{ $errors->first('annual_package') }}
{{-- VIP (Monthly Amount) --}}
{{ $errors->first('vip_monthly_amount') }}
{{-- SIP Amount --}}
{{ $errors->first('sip_type_value') }}
{{ $errors->first('sip_amount') }}
{{-- Local Conveyance Amount --}}
{{ $errors->first('local_conveyance_type_value') }}
{{ $errors->first('local_conveyance_amount') }}
{{-- Monthly CTC --}}
{{-- Monthly Salary --}}
{{ $employeeDetail->employee_name }} CTC History
@if ($employeeCTCs->isEmpty())

No CTC found.

@else
@foreach ($employeeCTCs as $employeeCTC) @endforeach
Effective Month Created At Created By Updated At Updated By Actions
{{ date('F, Y', strtotime($employeeCTC->effective_date)) }} {{ $employeeCTC->created_at->format('d-m-Y') }} {{ $employeeCTC->creator->name }} {{ isset($employeeCTC->updated_by) ? $employeeCTC->updated_at->format('d-m-Y') : '-' }} {{ isset($employeeCTC->updated_by) ? $employeeCTC->editor->name : '-' }}
@endif
@endsection @section('page-js') @endsection