@extends('Reports.template') @section('title') Pay Slip @endsection @section('ExternalCss') @parent @endsection @section('Content')
@php $net_pay = $total_gross_salary - $total_gross_deduction; @endphp
@if($businessEntityMasterData[0]->logo != null) Pharmacy Logologo )}}"/> @endif
{{ $businessEntityMasterData[0]->name }}
{{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }}
{{"Phone : ".$businessEntityMasterData[0]->tel1}}
Salary Slip for the month of {{ Carbon::parse($employeepayslipdata->salary_month)->format('M-y')}} Department {{$employeepayslipdata->department_name}}
Employee Id {{$employeepayslipdata->employee_id}} Gender {{$employeepayslipdata->employee_gender}}
Employee Name {{$employeepayslipdata->employee_name}} UAN No {{$employeepayslipdata->employee_uan_no}}
Designation {{$employeepayslipdata->job_title_name}} PAN No {{$employeepayslipdata->employee_pan_no}}
Date of Joining {{ Carbon::parse($employeepayslipdata->employee_hire_date)->format('d-m-Y') }} Bank A/c {{$employeepayslipdata->employee_bank_acct_no}}
@if($salary_type=='per_hour') @else @endif @php $total_gross_salary =0; $total_gross_earning=0; @endphp @if($salary_type=='per_hour') @php $total_gross_salary = $total_gross_salary + $employeepayslipdata->overtime_payment; @endphp @endif @foreach($headEarningData as $key =>$head) {{-- @if($salary_type=='per_hour') @php $total_gross_salary = $total_gross_salary + $employeepayslipdata->overtime_payment; @endphp @endif --}} @php $total_gross_salary = $total_gross_salary + $head->actual; @endphp @if ($head->is_standard_head=='Y' || $head->head_code=='STPND') @php $total_gross_earning = $total_gross_earning + $head->applicable; @endphp @else @endif @endforeach @php if($employeepayslipdata->overtime_hours > 0 && $salary_type!='per_hour'){ @endphp @php $total_gross_salary = $total_gross_salary + $employeepayslipdata->overtime_payment; } @endphp
Hours Payable {{$employeepayslipdata->overtime_hours}}Days Payable {{number_format($employeepayslipdata->days_payable,2)}}
Earnings Heads Rate Actual
Hourly Pay {{$employeepayslipdata->overtime_payment/$employeepayslipdata->overtime_hours}} {{number_format($employeepayslipdata->overtime_payment,2)}}
Salary {{$employeepayslipdata->overtime_payment/$employeepayslipdata->overtime_hours}} {{number_format($employeepayslipdata->overtime_payment,2)}}
{{ $head->head_name }} {{number_format($head->applicable,2)}}{{number_format($head->actual,2)}}
Overtime Payment {{number_format($employeepayslipdata->overtime_payment,2)}}
@php $total_gross_deduction =0; @endphp @foreach($headDeductionData as $key =>$head) @php $total_gross_deduction = $total_gross_deduction + $head->actual @endphp @endforeach
LOP Days {{number_format($employeepayslipdata->lop_days,2)}}
Deductions Heads Deductions
{{ $head->head_name }} {{number_format($head->actual,2)}}
TOTAL GROSS SALARY {{number_format($total_gross_earning,2)}} {{number_format($total_gross_salary,2)}}
GROSS DEDUCTIONS {{number_format($total_gross_deduction,2)}}
Net Payable {{number_format($net_pay,2)}}
This is a Computer generated payslip does not require any Signature

@if($back==0) Back @else Back @endif
@endsection @section('BootstrapModals') @endsection @section('ExternalJs') @endsection