@extends('admin.layouts.admin') @section('style') @endsection @section('content')
Salary Payslip
SSLCOMMERZ

93 B New Eskaton Road, Dhaka 1000

Payslip for {{ Carbon\Carbon::now()->format('M Y')}}

  • Employee Name : {{ $salary->employee->user->name ?? '' }}
  • Employee ID : {{ $salary->employee->emp_id ?? '' }}
  • Department : {{ $salary->employee->department->name ?? '' }}
  • Designation : {{ $salary->employee->designation->name ?? '' }}
  • Employee Type : {{ $salary->employee->employment_type ?? '' }}
  • Joining Date : {{ $salary->employee->joining_date ?? '' }}
  • Year : {{ $salary->salary_year ?? '' }}
  • Month : {{ isset($salary->salary_month) ? date("F", mktime(0, 0, 0, $salary->salary_month, 10)) : '' }}
Particulars
Amount (+)
Amount (-)
Salary Breakups
Basic
{{ $salary->basic ?? '' }}
@foreach($salary->payscale->payscale_details as $details)
@if($details->salarytype->type == 'allowance')
{{ $details->salarytype->name ?? '' }}
{{ ($details->salarytype->based_on == 'amount') ? $details->salarytype->min_limit : ($details->salarytype->percentage_value * (($details->salarytype->calculate_from == 'basic') ? $salary->basic : $salary->gross))/100 }}
@endif @endforeach
Deduction
@foreach($salary->employee->employeePayscaleAssign->payscale->payscale_details as $details) @if($details->salarytype->type == 'deduction')
{{ $details->salarytype->name ?? '' }}
{{ ($details->salarytype->based_on == 'amount') ? $details->salarytype->min_limit : ($details->salarytype->percentage_value * (($details->salarytype->calculate_from == 'basic') ? $employee->employeePayscaleAssign->basic : $employee->employeePayscaleAssign->gross))/100 }}
@endif @endforeach
Additional Adjustment
Additional Allowance
{{ $salary->aditional_allowance ?? '' }}
Additional Deduction
{{ $salary->aditional_deduction ?? '' }}
Sub total
{{ $salary->basic + $salary->allowance + $salary->aditional_allowance }}
{{ $salary->deduction + $salary->aditional_deduction }}
Salary Summary
Sub Total
Tax
Attendance
Payable Amount
{{ $salary->basic + $salary->allowance + $salary->aditional_allowance }}
{{ $salary->tax ?? '' }}
{{ $salary->attandence_amount ?? '' }}
{{ $salary->payable_amount ?? '' }}

@endsection @section('script') @endsection