@extends('layouts.app') @section('content')
Salary Slip Report

Salary Slip Report

@if (!$salaries->isEmpty())
Export PDF Export Excel
@endif @if ($salaries->isEmpty())

No salary records found for selected criteria.

@else @foreach ($salaries->chunk(4) as $chunk)
@foreach ($chunk as $salary)
SALARY SLIP - ID #{{ $salary->id }}

Name: {{ $salary->name }}

Designation: {{ $salary->desig }}

Month: {{ $salary->month }}/{{ $salary->year }}

Basic Salary: {{ number_format($salary->pay, 2) }}

Days Worked: {{ $salary->days_worked }}

OT Hours: {{ $salary->ot_hours }}

Advance: {{ number_format($salary->advance, 2) }}

Loan Deduction: {{ number_format($salary->loan_ded, 2) }}

Conveyance: {{ number_format($salary->conveyance, 2) }}

Gross Salary: {{ number_format($salary->gross_salary, 2) }}

Net Salary: {{ number_format($salary->net_salary, 2) }}

Prepared By: {{ $salary->created_by }}
Approved By
Rupees: {{ ucwords(App\Helpers\NumConvert::numToWords($salary->net_salary)) }} Only
@endforeach
@endforeach @endif
@endsection