@extends('admin.layout.main') @section('content')
Hexon Logo

Payslip

Payment slip for the month of {{ $data['salary_month'] }}

{{ $data['employee']['user_profile']['user']['name'] }}

Email : {{ $data['employee']['user_profile']['user']['email'] }}
Phone : {{ $data['employee']['user_profile']['phone'] }}
CNIC : {{ $data['employee']['user_profile']['cnic'] }}
Gender : {{ $data['employee']['user_profile']['gender'] }}
Department : {{ $data['employee']['department']['department'] }}
Designation : {{ $data['employee']['designation']['designation'] }}
Shift : {{ $data['employee']['shift']['shift'] }}
Duty Time : 9:00 Hr
Earnings Amount - Deductions Amount
Basic Salary {{ session('currency') }} {{ number_format($data['salary'], 2) }} -/only - Deductions {{ session('currency') }} {{ number_format($data['deductions'], 2) }} -/only
Bonus {{ session('currency') }} {{ number_format($data['bonus_amount'], 2) }} -/only - Installment {{ session('currency') }} {{ number_format($data['loan_installment'], 2) }} -/only
Increment {{ session('currency') }} {{ number_format($data['increments'], 2) }} -/only - Tax {{ session('currency') }} {{ number_format($data['tax'], 2) }} -/only
Allowance {{ session('currency') }} {{ number_format($data['allowances'], 2) }} -/only - Leave Deduction {{ session('currency') }} {{ number_format($data['leave_deduction'], 2) }} -/only
Total Earning @if (!isset($data['total_earning'])) @php $totalEarning = ($data['allowances'] ?? 0) + ($data['increments'] ?? 0) + ($data['salary'] ?? 0) + ($data['bonus_amount'] ?? 0); @endphp {{ session('currency') }} {{ number_format($totalEarning, 2) }} -/only @else {{ session('currency') }} {{ number_format($data['total_earning'], 2) }} -/only @endif - Total Deductions @if (!isset($data['total_deduction'])) @php $totalDeduction = ($data['tax'] ?? 0) + ($data['loan_installment'] ?? 0) + ($data['deductions'] ?? 0) + ($data['leave_deduction'] ?? 0); @endphp {{ session('currency') }} {{ number_format($totalDeduction, 2) }} -/only @else {{ session('currency') }} {{ number_format($data['total_deduction'], 2) }} -/only @endif
Net Salary : {{ session('currency') }} {{ number_format($data['net_pay_after_tax'], 2) }} -/only
Authorised Signatory :
In Words : {{ $data['total_amount_in_words'] }} -/Rupees Only
Salary Comment :

{{ $data['salary_comment'] }}

@csrf
@if ($data['payment_status'] === 'paid') Paid @else @endif
@endsection