@extends('layouts.app') @section('title', 'Salary Details - ' . $salary->user->full_name) @section('content')
Employee Information
Employee Code:

{{ $salary->employee_code }}

Name:

{{ $salary->user->full_name }}

Company:

{{ $salary->company_name }}

Payroll Period:

{{ $salary->payrollPeriod->name }}

Earnings
Monthly Salary: ₹{{ number_format($salary->monthly_salary, 2) }}
Days Paid: {{ $salary->days_paid }} / {{ $salary->month_days }}
Salary Per Day: ₹{{ number_format($salary->salary_per_day, 2) }}
Basic: ₹{{ number_format($salary->basic, 2) }}
VDA: ₹{{ number_format($salary->vda, 2) }}
HRA: ₹{{ number_format($salary->hra, 2) }}
Skill Allowances: ₹{{ number_format($salary->skill_allowances, 2) }}
Performance Allowance: ₹{{ number_format($salary->performance_allowance, 2) }}
Additional 4 Hours: ₹{{ number_format($salary->additional_4hrs, 2) }}
@if($salary->total_addition > 0)
Other Additions: ₹{{ number_format($salary->total_addition, 2) }}
@endif
Gross Wages:
₹{{ number_format($salary->gross_wages, 2) }}
Deductions
ESI Employee Share: ₹{{ number_format($salary->esi_employee_share, 2) }}
ESI Employer Share: ₹{{ number_format($salary->esi_employer_share, 2) }}
ESI Wages: ₹{{ number_format($salary->esi_wages, 2) }}
PF Employee (12%): ₹{{ number_format($salary->epf_employee_12_percent, 2) }}
PF Employer (13%): ₹{{ number_format($salary->epf_employer_13_percent, 2) }}
Professional Tax: ₹{{ number_format($salary->professional_tax, 2) }}
@if($salary->advance > 0)
Advance: ₹{{ number_format($salary->advance, 2) }}
@endif @if($salary->food_snacks > 0)
Food/Snacks: ₹{{ number_format($salary->food_snacks, 2) }}
@endif @if($salary->uniform_deduction > 0)
Uniform Deduction: ₹{{ number_format($salary->uniform_deduction, 2) }}
@endif @if($salary->rental > 0)
Rental: ₹{{ number_format($salary->rental, 2) }}
@endif @if($salary->training_fees > 0)
Training Fees: ₹{{ number_format($salary->training_fees, 2) }}
@endif
Total Deductions:
₹{{ number_format($salary->total_deduction, 2) }}

Net Salary

₹{{ number_format($salary->net_salary, 2) }}

Gross: ₹{{ number_format($salary->gross_wages, 2) }} - Deductions: ₹{{ number_format($salary->total_deduction, 2) }}

Remarks

{{ $salary->remarks ?: 'No remarks' }}

Actions
@endsection @section('scripts') @endsection