@if($payrollData->salary_cycle == 'monthly')
{{ __('index.payslip_for_the_month_of') }} {{ \App\Helpers\AppHelper::getMonthYear($payrollData->salary_from) }}
@else
{{ __('index.payslip') }} {{ __('index.from') }} {{ \App\Helpers\AttendanceHelper::payslipDate($payrollData->salary_from) }} {{ __('index.to') }} {{ \App\Helpers\AttendanceHelper::payslipDate($payrollData->salary_to) }}
@endif
| {{ __('index.employee_id') }}: | {{ $payrollData->employee_code }} |
{{ __('index.name') }}: | {{ $payrollData->employee_name }} |
| {{ __('index.salary_slip') }}: | {{ $payrollData->id ?? '' }} |
{{ __('index.department') }}: | {{ $payrollData->department }} |
| {{ __('index.designation') }}: | {{ $payrollData->designation }} |
{{ __('index.joining_date') }}: | {{ $payrollData->joining_date }} |
@if($payrollData->salary_cycle == 'weekly')
| {{ __('index.total_working_hours') }} |
{{ $payrollData->working_hours }} |
{{ __('index.total_worked_hours') }} |
{{ $payrollData->worked_hours }} |
{{ __('index.total_deficit_hours') }} |
{{ $payrollData->working_hours - $payrollData->worked_hours }} |
{{ __('index.total_overtime_hours') }} |
{{ $payrollData->overtime_hours }} |
{{ __('index.total_undertime_hours') }} |
{{ $payrollData->undertime_hours }} |
@else
| {{ __('index.total_day') }} |
{{ $payrollData->total_days }} |
{{ __('index.present') }} |
{{ $payrollData->present_days }} |
{{ __('index.absent') }} |
{{ $payrollData->absent_days }} |
{{ __('index.leave') }} |
{{ $payrollData->leave_days }} |
{{ __('index.holidays') }} |
{{ $payrollData->holidays }} |
{{ __('index.weekend') }} |
{{ $payrollData->weekends }} |
@endif
| {{ __('index.earnings') }} |
{{ __('index.amount') }} |
@php
$totalEarning = 0;
if ($payrollData->salary_cycle == 'weekly'){
$totalEarning += ($payrollData->weekly_basic_salary + $payrollData->weekly_fixed_allowance);
}else{
$totalEarning += ( $payrollData->monthly_basic_salary + $payrollData->monthly_fixed_allowance);
}
@endphp
| {{ __('index.basic_salary') }} |
{{ ($payrollData->salary_cycle == 'weekly') ? $payrollData->weekly_basic_salary :$payrollData->monthly_basic_salary }} |
@forelse($earnings as $earning)
| {{ $earning['name'] }} |
{{ $earning['amount'] }} |
@php $totalEarning+=$earning['amount']; @endphp
@empty
@endforelse
| {{ __('index.fixed_allowance') }} |
{{ ($payrollData->salary_cycle == 'weekly') ? $payrollData->weekly_fixed_allowance : $payrollData->monthly_fixed_allowance }} |
@forelse($additionalEarnings as $earning)
| {{ $earning['name'] }} |
{{ $earning['amount'] }} |
@php $totalEarning += $earning['amount']; @endphp
@empty
@endforelse
| {{ __('index.gross_earnings') }} |
{{ $totalEarning }} |
| {{ __('index.deductions') }} |
{{ __('index.amount') }} |
@php $totalDeduction = $payrollData->ssf_deduction + $payrollData->pf_deduction; @endphp
@forelse( $deductions as $deduction)
| {{ $deduction['name'] }} |
{{ $deduction['amount'] }} |
@php $totalDeduction+=$deduction['amount']; @endphp
@empty
@endforelse
@if($payrollData->ssf_deduction > 0)
| {{ __('index.ssf_deduction') }} |
{{ $payrollData->ssf_deduction }} |
@endif
@if($payrollData->pf_deduction > 0)
| {{ __('index.pf_deduction') }} |
{{ $payrollData->pf_deduction }} |
@endif
@forelse($additionalDeductions as $deduction)
| {{ $deduction['name'] }} (less) |
{{ $deduction['amount'] }} |
@php $totalDeduction += $deduction['amount']; @endphp
@empty
@endforelse
| {{ __('index.total_deduction') }} |
{{ $totalDeduction }} |
| {{ __('index.actual_salary') }} {{ __('index.actual_salary_formula') }} |
{{ $currency.' '. $totalEarning - $totalDeduction }} |
@if($payrollData->bonus > 0)
| {{ __('index.bonus') }} |
{{ $currency.' '. $payrollData->bonus }} |
| {{ __('index.taxable_salary') }} {{ __('index.taxable_salary_formula') }} |
{{ $currency.' '. $totalEarning + $payrollData->bonus - $totalDeduction }} |
@endif
| {{ __('index.tax') }} |
{{ $currency.' '. $payrollData->tds }} |
| {{ __('index.salary_after_tax') }} |
{{ $currency.' '. $totalEarning + $payrollData->bonus - $totalDeduction - $payrollData->tds }} |
@if($payrollData->include_advance_salary ==1)
| {{ __('index.advance_salary') }}(-) |
{{ $payrollData->advance_salary ?? 0 }} |
@endif
@if($payrollData->include_tada ==1)
| {{ __('index.tada') }} (+) |
{{ $payrollData->tada ?? 0 }} |
@endif
| {{ __('index.absent_deduction') }}
@if($payrollData->salary_cycle == 'monthly')
{{ __('index.absent_deduction_formula') }}
@else
{{ __('index.weekly_absent_deduction_formula') }}
@endif
|
{{ $payrollData->absent_deduction ?? 0 }}
|
@if(isset($payrollData->ot_status) && $payrollData->ot_status == 1)
| {{ __('index.overtime_income') }} |
{{ $payrollData->overtime }}
|
@endif
@if(isset($underTimeSetting) && $underTimeSetting->is_active == 1)
| {{ __('index.undertime_deduction') }} |
{{ $payrollData->undertime }}
|
@endif
{{ __('index.net_salary') }}: {{ $currency.' '. $payrollData->net_salary }}
({{ $numberToWords->get($payrollData->net_salary) }})
{{ __('index.net_salary_formula') }}