@extends('layouts.app') @section('title', 'Salary Slip') @section('breadcrumb') @endsection @section('content')
Salary Slip for {{ \Carbon\Carbon::parse($slip->pay_for_month.'-01')->format('F, Y') }}
{{-- Staff Info --}}
Staff Information
Name {{ $slip->staff->name }} Category {{ $slip->staff->category }}
Designation {{ $slip->staff->designation }} Phone {{ $slip->staff->phone }}
Email {{ $slip->staff->email ?? '-' }} Financial Year {{ $slip->financialYear->label ?? '-' }}
{{-- Earnings --}}
Earnings
Basic HRA DA TA Medical Conveyance Washing Special Total
{{ number_format($slip->basic,2) }} {{ number_format($slip->hra,2) }} {{ number_format($slip->da ?? 0,2) }} {{ number_format($slip->ta ?? 0,2) }} {{ number_format($slip->medical_allowance,2) }} {{ number_format($slip->conveyance,2) }} {{ number_format($slip->washing_allowance,2) }} {{ number_format($slip->special_allowance,2) }} {{ number_format($slip->total_earnings,2) }}
{{-- Deductions --}}
Deductions
PF ESI P-Tax TDS Advance Others Total
{{ number_format($slip->pf,2) }} {{ number_format($slip->esi,2) }} {{ number_format($slip->p_tax,2) }} {{ number_format($slip->tds,2) }} {{ number_format($slip->advance ?? 0,2) }} {{ number_format($slip->others_deduction,2) }} {{ number_format($slip->total_deductions,2) }}
{{-- Net Salary --}}
Net Salary & Employer Contribution
Net Salary {{ number_format($slip->net_salary,2) }} Employer PF {{ number_format($slip->employer_pf,2) }} Employer ESI {{ number_format($slip->employer_esi,2) }} CTC {{ number_format($slip->ctc,2) }}
{{-- Payment Info --}}
Payment Info
Month Paid {{ \Carbon\Carbon::parse($slip->pay_for_month.'-01')->format('F Y') }} Paid Date {{ \Carbon\Carbon::parse($slip->paid_date)->format('d M Y H:i:s') }}
{{-- Bank Details --}} @if($slip->staff->bankDetails)
Bank Details
Bank {{ $slip->staff->bankDetails->bank_name }} Branch {{ $slip->staff->bankDetails->branch_name }}
Account No {{ $slip->staff->bankDetails->acc_no }} IFSC {{ $slip->staff->bankDetails->ifsc_code }}
Account Holder {{ $slip->staff->bankDetails->acc_holder_name }}
@endif
Back
@endsection @section('script') @endsection