@extends('layouts.dashboard') @section('content')

Employee Salary Slip

← Back
@if(isset($emp_salary))
{{-- Header --}}
Company Logo

Cloudcatch

Office No. 16, B3 Cerebrum IT Park,

Kalyani Nagar, Pune

{{-- Employee Info --}}
PAYSLIP FOR THE MONTH OF {{ $selectedMonth->format('F Y') }}
Emp Code {{ $employee->employee_id }} Emp Name {{ $employee->name }}
Date Of Joining {{ \Carbon\Carbon::parse($employee->doj)->format('d-M-Y') }} Designation {{ $employee->designation->name ?? 'N/A' }} PF No. {{ $employee->pf_no ?? 'N/A' }}
Date Of Birth {{ \Carbon\Carbon::parse($employee->dob)->format('d-M-Y') }} Location {{ $employee->location ?? 'N/A' }} PAN No. {{ $employee->pan ?? 'N/A' }}
UAN {{ $employee->uan ?? 'N/A' }} Bank A/c No. {{ $employee->bank_account_no ?? 'N/A' }} EPS No. {{ $employee->eps_no ?? 'N/A' }}
{{-- Monthly Salary Details --}}
Monthly Salary Details
Earning (Rs) Amount Deductions (Rs) Amount
Basic Salary {{ number_format($emp_salary->monthly_basic_salary, 2) }} PF Contribution {{ number_format($emp_salary->pf_contribution, 2) }}
HRA {{ number_format($emp_salary->monthly_hra, 2) }} TDS {{ number_format($emp_salary->tds, 2) }}
Special Allowance {{ number_format($emp_salary->monthly_special_allowance, 2) }} LWP {{ number_format($emp_salary->lwp, 2) }}
Medical Allowance {{ number_format($emp_salary->monthly_medical_allowance, 2) }}
Total {{ number_format($emp_salary->monthly_total, 2) }} Total Deductions {{ number_format($emp_salary->pf_contribution + $emp_salary->tds + $emp_salary->lwp, 2) }}
{{-- Net Pay --}}
Net Pay: Rs. {{ number_format($netPay, 2) }}
In Words: {{ $netPayInWords }}

Please send your queries to info@cloudcatch.co

@else
No salary data available for the selected month.
@endif
@endsection @push('scripts') @endpush