@extends('admin.master') @section('content') @section('title','Generate Salary Sheet')
| Name : | {{$employeeDetails->first_name}} {{$employeeDetails->last_name}} |
| Department : | @if(isset($employeeDetails->department->department_name)) {{$employeeDetails->department->department_name}} @endif |
| Designation : | @if(isset($employeeDetails->designation->designation_name)) {{$employeeDetails->designation->designation_name}} @endif |
| Joining Date : | {{date(" d-M-Y", strtotime($employeeDetails->date_of_joining))}} |
| Basic salary of the month : | {{number_format( $basic_salary) }} @php $netSalary += $basic_salary; @endphp |
| {{$allowance['allowance_name']}}: | {{number_format($allowance['amount_of_allowance'])}} |
| Net salary : | {{number_format($netSalary)}} |
| Taxable salary : | {{number_format($taxAbleSalary)}} |
| Income tax to pay for the month : | {{number_format($tax)}} | @php $netSalary -= $tax; $sumOfTotalDeduction += $tax; @endphp
| Company tax deduction : | {{number_format(round($companyTaxDeduction))}} |
| Employee tax payable: | {{number_format(round($employeeTaxDeduction))}} |
| {{$deduction['deduction_name']}} : | {{number_format($deduction['amount_of_deduction'])}} | @php $netSalary -= $deduction['amount_of_deduction']; $sumOfTotalDeduction+=$deduction['amount_of_deduction']; @endphp
| Late Amount : | {{number_format($employeeAllInfo['totalLateAmount'])}} | @php $netSalary -= $employeeAllInfo['totalLateAmount']; $sumOfTotalDeduction +=$employeeAllInfo['totalLateAmount']; @endphp
| Absence Amount : | {{number_format($employeeAllInfo['totalAbsenceAmount'])}} | @php $netSalary -= $employeeAllInfo['totalAbsenceAmount']; $sumOfTotalDeduction +=$employeeAllInfo['totalAbsenceAmount']; @endphp
| Over Time : | {{number_format($employeeAllInfo['totalOvertimeAmount'])}} | @php $netSalary += $employeeAllInfo['totalOvertimeAmount']; $totalOvertimeAmount +=$employeeAllInfo['totalOvertimeAmount']; @endphp
| Net salary to be paid : | {{number_format($netSalary)}} |
| Total income tax deducted for the financial year : | {{number_format($financialYearTax->totalTax)}} |
| No. : | 1 |
| Month : | {{convartMonthAndYearToWord($month)}} |
| Number of working days : | {{$employeeAllInfo['totalWorkingDays']}} |
| Number of day worked in the month : | {{$employeeAllInfo['totalPresent']}} |
| Number of govt. holiday worked in the month : | --}} {{--10 | --}} {{--
| Unjustified absence : | {{$employeeAllInfo['totalAbsence']}} |
| Per day salary : | {{number_format($employeeAllInfo['oneDaysSalary'])}} |
| Salary deduction for late attendance : | {{$employeeAllInfo['dayOfSalaryDeduction']}} |
| Over Time : | {{$employeeAllInfo['totalOverTimeHour']}} |
| Over Rate : | {{$employeeAllInfo['overtime_rate']}} |
| {{$leaveRecord->leave_type_name}} : | {{$leaveRecord->number_of_day}} |