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

Employee Salary Sheet

@if(session('alert-green'))
{{ session('alert-green') }}
@endif @if(session('alert-danger'))
{{ session('alert-danger') }}
@endif @if($errors->any())
@foreach ($errors->all() as $error)
* {{$error}}
@endforeach
@endif {{ session('status') }}

Filter

Search Employee

Clear

Lists

@php $x = 0; if($allowances){ $x = $allowances->count(); } @endphp @php $y = 0; if($deductions){ $y = $deductions->count(); } @endphp @if($allowances) @foreach($allowances as $allowance) @endforeach @endif @if($deductions) @foreach($deductions as $deduction) @endforeach @endif @foreach($salaries as $emp) @php $attendance = getAttendanceOfEmployeeForSalary($emp->employee->emp_id, $start_date, $end_date); // dd($attendance); @endphp @if($allowances) @foreach($allowances as $allowance) @endforeach @endif @php $totaldeduction = 0; @endphp @if($deductions) @foreach($deductions as $deduction) @endforeach @endif @if($emp->employee->payment_method == 'Bank') @else @endif @endforeach
SL No. Employee ID Employee name Designation Department Joining Date Service Start Day Service End Day Total Working Day Total Present Day Total Absent Day Attendance Allowance Attendance Deduction Gross Salary Basic Salary Income TaxAllowanceDeduction Total Deduction Net Pay Bank/Bkash Name Bank/Bkash No Routing No Additional Allowance Additional Deduction Payable Amount Action
{{ $allowance->name ?? ''}}{{ $deduction->name ?? ''}}
{{ $loop->iteration ?? '' }} {{ $emp->employee->emp_id ?? '' }} {{ $emp->employee->user->name ?? '' }} {{ $emp->employee->designation->name ?? '' }} {{ $emp->employee->department->name ?? '' }} {{ $emp->employee->joining_date ?? '' }} {{ $start_date ?? '' }} {{ $end_date ?? '' }}{{ $attendance['working_day'] ?? '' }} {{ $attendance['total_attendance'] ?? '' }} {{ $attendance['total_absent'] ?? '' }} {{ $emp->attandence_allowance ?? '' }} {{ $emp->attandence_deduction ?? '' }} {{ $emp->gross ?? '' }} {{ $emp->basic ?? '' }} {{ $emp->tax ?? '' }}@foreach($emp->employee->employeePayscaleAssign->employeePayscaleDetails as $salaryHead) @if($allowance->id == $salaryHead->salary_type_id) {{ $salaryHead->amount ?? '0'}} @endif @endforeach @foreach($emp->employee->employeePayscaleAssign->employeePayscaleDetails as $salaryHead) @if($deduction->id == $salaryHead->salary_type_id) @php $totaldeduction += $salaryHead->amount; @endphp {{ $salaryHead->amount ?? '0'}} @endif @endforeach {{ $totaldeduction ?? '0' }} {{ ($emp->gross - $totaldeduction) ?? ''}}{{ $emp->employee->bank_name ?? ''}} {{ $emp->employee->account_number ?? ''}} {{ $emp->employee->routing_number ?? ''}}{{ $emp->employee->payment_method ?? ''}} {{ $emp->employee->bkash_number ?? ''}} {{ 'N/A'}}{{ $emp->aditional_allowance ?? ''}} {{ $emp->aditional_deduction ?? ''}} {{ (($emp->payable_amount + $emp->aditional_allowance) - $emp->attandence_deduction) ?? ''}} Additional
@include('admin.sections.footer')
@endsection @section('script') @endsection